]> Netolish git repositories - gentoo-repo.git/commitdiff
Doplněn xdg_icon_cache_update, přejmenování archivu.
authorJiří Netolický <netolish@netolish.cz>
Wed, 21 Jun 2023 16:07:05 +0000 (18:07 +0200)
committerJiří Netolický <netolish@netolish.cz>
Wed, 21 Jun 2023 16:07:05 +0000 (18:07 +0200)
.gitignore
gui-apps/swayimg/Manifest
gui-apps/swayimg/swayimg-1.11.ebuild
metadata/md5-cache/gui-apps/swayimg-1.11

index fbf45aff6770abddd596c684404ac94cd9c67487..949d959207fc62d1066dbc7195a2271528f8565b 100644 (file)
@@ -4,3 +4,4 @@
 /local/
 /packages/
 /profiles/use.local.desc
+**/*.swp
index 1414a578e9c330d3b00bc671b485f1baea835ff0..ed379d1644763e832bfa4ffccc6ed7b7b743f3c2 100644 (file)
@@ -1,2 +1,2 @@
-DIST v1.11.tar.gz 390650 BLAKE2B 5ab45417f214d63ac36f6f28d89848a0f0d55e8fe3051f003838206c80501d67be7ba3d9cdeb0e23c8a305778586665d2800c72ff857adf5acb550cccd0a014c SHA512 6a9722b101c4e4cc2bee5c18f9ca46d2602460521dfd0fe05da1c0d631d4dbaae492c6d27cb38d759d4f4ef10159897f952bb23499ac26123f2b5d646152bbf8
+DIST swayimg-1.11.tar.gz 390650 BLAKE2B 5ab45417f214d63ac36f6f28d89848a0f0d55e8fe3051f003838206c80501d67be7ba3d9cdeb0e23c8a305778586665d2800c72ff857adf5acb550cccd0a014c SHA512 6a9722b101c4e4cc2bee5c18f9ca46d2602460521dfd0fe05da1c0d631d4dbaae492c6d27cb38d759d4f4ef10159897f952bb23499ac26123f2b5d646152bbf8
 DIST v1.9.tar.gz 387087 BLAKE2B 16de84a27b8dd3bb6003cb5280d5719482b28c5706da96290643d4019394a0c96043e3390829b982d64d35aa288df84d1f3dc4bc1f962346e6d2f07f554caea5 SHA512 5eccb69f53accb0229be6260563e18e3534bcc9d711cdde8325c8100fa765f698b15c51356136a802cfc7d384a433beb8cff98d625b035bd4a5d9de076ff01bc
index a2d7d17c00bb2018d82c2b3fe34342877b91fe5e..8eb2b5741d37087b3e6163c756fc1835b551d3c3 100644 (file)
@@ -16,7 +16,7 @@ EAPI=8
 # inherit lists eclasses to inherit functions from. For example, an ebuild
 # that needs the eautoreconf function from autotools.eclass won't work
 # without the following line:
-inherit meson
+inherit meson xdg-utils
 #
 # Eclasses tend to list descriptions of how to use their functions properly.
 # Take a look at the eclass/ directory for more examples.
@@ -29,7 +29,7 @@ HOMEPAGE="https://github.com/artemsen/swayimg"
 
 # Point to any required sources; these will be automatically downloaded by
 # Portage.
-SRC_URI="https://github.com/artemsen/swayimg/archive/refs/tags/v${PV}.tar.gz"
+SRC_URI="https://github.com/artemsen/swayimg/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
 
 # Source directory; the dir where the sources can be found (automatically
 # unpacked) inside ${WORKDIR}.  The default value for S is ${WORKDIR}/${P}
@@ -128,3 +128,7 @@ src_compile() {
 src_install() {
        meson_install
 }
+
+pkg_postinst() {
+       xdg_icon_cache_update
+}
index 67806f35ddb3fc86c5b0f9aa3ad25fe050d822d1..91a6ed6e5106860555768dfbefd7cdc6fe67b691 100644 (file)
@@ -1,15 +1,15 @@
 BDEPEND=>=dev-util/meson-0.62.2 >=dev-util/ninja-1.8.2 dev-util/meson-format-array
-DEFINED_PHASES=compile configure install test
+DEFINED_PHASES=compile configure install postinst test
 DEPEND=heif? ( media-libs/libheif:= ) jpeg? ( media-libs/libjpeg-turbo:= ) jpegxl? ( media-libs/libjxl:= ) png? ( media-libs/libpng:= ) svg? ( gnome-base/librsvg:= ) tiff? ( media-libs/tiff:= ) webp? ( media-libs/libwebp:= )
 DESCRIPTION=Image viewer for Sway/Wayland
 EAPI=8
 HOMEPAGE=https://github.com/artemsen/swayimg
-INHERIT=meson
+INHERIT=meson xdg-utils
 IUSE=wayland gif heif jpeg jpegxl png svg tiff webp
 KEYWORDS=~amd64
 LICENSE=MIT
 RDEPEND=heif? ( media-libs/libheif:= ) jpeg? ( media-libs/libjpeg-turbo:= ) jpegxl? ( media-libs/libjxl:= ) png? ( media-libs/libpng:= ) svg? ( gnome-base/librsvg:= ) tiff? ( media-libs/tiff:= ) webp? ( media-libs/libwebp:= )
 SLOT=0
-SRC_URI=https://github.com/artemsen/swayimg/archive/refs/tags/v1.11.tar.gz
-_eclasses_=multiprocessing     b4e253ab22cef7b1085e9b67c7a3b730        ninja-utils     76050953ad5b70d7e09a6ca55558db92        toolchain-funcs 513c31b3346458ed1f3878b57da6d61c        multilib        c19072c3cd7ac5cb21de013f7e9832e0        python-utils-r1 a34d5f83235297b76d71eaf8deb53768        meson   18d046bdb14e1bdb22cce6e5d953e364
-_md5_=3b664e71fd03fffac3725daaff90f0e2
+SRC_URI=https://github.com/artemsen/swayimg/archive/refs/tags/v1.11.tar.gz -> swayimg-1.11.tar.gz
+_eclasses_=multiprocessing     b4e253ab22cef7b1085e9b67c7a3b730        ninja-utils     76050953ad5b70d7e09a6ca55558db92        toolchain-funcs 513c31b3346458ed1f3878b57da6d61c        multilib        c19072c3cd7ac5cb21de013f7e9832e0        python-utils-r1 a34d5f83235297b76d71eaf8deb53768        meson   18d046bdb14e1bdb22cce6e5d953e364        xdg-utils       baea6080dd821f5562d715887954c9d3
+_md5_=53a6fb7982c1314faf74e53872b7673d