diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-12-05 17:02:59 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-12-05 17:02:59 +0000 |
commit | 6bf575618cf9022e99cbfcc64036fd9db79a749c (patch) | |
tree | f692d02fb905cd3d5bab465b790da48fb2de546b /media-gfx/feh | |
parent | 5944ce177026c93b7dab690db9d970567ddbf75f (diff) |
gentoo auto-resync : 05:12:2023 - 17:02:58
Diffstat (limited to 'media-gfx/feh')
-rw-r--r-- | media-gfx/feh/Manifest | 4 | ||||
-rw-r--r-- | media-gfx/feh/feh-3.10.1.ebuild | 2 | ||||
-rw-r--r-- | media-gfx/feh/feh-3.10.2.ebuild | 71 |
3 files changed, 75 insertions, 2 deletions
diff --git a/media-gfx/feh/Manifest b/media-gfx/feh/Manifest index ab17117f5133..6e9e5c4b148c 100644 --- a/media-gfx/feh/Manifest +++ b/media-gfx/feh/Manifest @@ -1,6 +1,8 @@ AUX feh-3.2-debug-cflags.patch 193 BLAKE2B 298f65a8f9142167d1cd2cfce0bc61ad9d7d4a5519ab8e78d1259ea60b5566376f8d9ddba660db65ef5e229bdc0ff254d9aab2284d8929ea0ac171da44f8c44d SHA512 336d23b767c5c3da9b94a1e6759129c242caf70a611b2410816a562d90720e3abab6a3444ce06975d62b4ebbe8e54c70942800516c7575cc6d5e13ce69679884 DIST feh-3.10.1.tar.bz2 2109459 BLAKE2B 1b63a49cf29f2c869ff99ce5bc92134943d7f0854b2c87c694ef3dce953687558330e453c67878b566b19e4b64212173119287d07291e9b81f47cba1d553549e SHA512 fed215f4c1e0c23fdf6454e07bb5a31d4bfe6473b5ac2240d85ce44fabfe5764b396e336154841f0d9e90fee78807ed10b7aa12b7dfcf53e520913cd41779421 +DIST feh-3.10.2.tar.bz2 2113183 BLAKE2B 0f4662068917628be6046d3f2ebd8177b7cc1699d693de31229d2ebc6188cc7a5170202188a426ec2e3d900f2c8fb34007395aecc151f8f034e5461d287f058f SHA512 698501347224887162631397bb3b6c5da81b88993876f001407dea87fdc4f458290272d75b400aea6c0927d3c53f290483b6a89cd2cb426f56957a4fe6267797 DIST feh-3.10.tar.bz2 2109603 BLAKE2B 2c3f52c7536110b5aef7e29fea366b502e39034b2de8b218faa071996f24ce0bf4b3283feeda96bc7542ce15bb6f1e68d2a2895a75949fe2e7c6ba08b779daee SHA512 9dc242a545590ab20847662613c289f4b78d44a1647c3696a65fd05c307628f869adf68fa3a66ca637b3974a309efb0b96d58a7aaa3d29725faf21208f40383e -EBUILD feh-3.10.1.ebuild 1546 BLAKE2B 538e9cfb7be1ba1ad73aaa1778ac813c20b0c550dabebd9a630f91866b340b007ad8b50907103b3be16f73a821cfb4853c67fc3be138f2fdee437a9ee0fbbd72 SHA512 8d0934c8d26c491275f9f9f702504eb4808485ba7fd6e456de5a69e25501bde480db6d86d61261c40bb540bf6186f95e85e4f92d75c5b83878c9cd1c5b4f5318 +EBUILD feh-3.10.1.ebuild 1542 BLAKE2B 9326445156d98511da76e97ac2b271613608bc9dc90f84743df0e2fbe3a2cf2417da149e0bbfb8fb50a4fb3fdbd6324681e6cdf2c5afbb37d18cade61a9bd609 SHA512 736fa888046c828d1b3e478df6497ff3402a251b2c51464d08cb87f1ef4b5a35420714b161d863313a5f6cd98485d5476b0b2de1b2d8448fd9379b50a832a341 +EBUILD feh-3.10.2.ebuild 1546 BLAKE2B 538e9cfb7be1ba1ad73aaa1778ac813c20b0c550dabebd9a630f91866b340b007ad8b50907103b3be16f73a821cfb4853c67fc3be138f2fdee437a9ee0fbbd72 SHA512 8d0934c8d26c491275f9f9f702504eb4808485ba7fd6e456de5a69e25501bde480db6d86d61261c40bb540bf6186f95e85e4f92d75c5b83878c9cd1c5b4f5318 EBUILD feh-3.10.ebuild 1542 BLAKE2B 9326445156d98511da76e97ac2b271613608bc9dc90f84743df0e2fbe3a2cf2417da149e0bbfb8fb50a4fb3fdbd6324681e6cdf2c5afbb37d18cade61a9bd609 SHA512 736fa888046c828d1b3e478df6497ff3402a251b2c51464d08cb87f1ef4b5a35420714b161d863313a5f6cd98485d5476b0b2de1b2d8448fd9379b50a832a341 MISC metadata.xml 559 BLAKE2B 074f2a1c4a912ebf99cde3c7791ffccee8c19fe53e98794557d7807647d3c465e31fd95d855d7bfa43759d73c6deba365b24420624211355413bd13fe20bed1e SHA512 b811d6991505e777e858d88c26588d4e766a871895da586203565c7486d360d72d3514944caa483fe37c56211ea4a33a16313e1983a515aaf39b349935c73ddf diff --git a/media-gfx/feh/feh-3.10.1.ebuild b/media-gfx/feh/feh-3.10.1.ebuild index 591d0d3d06a3..eaf83226e543 100644 --- a/media-gfx/feh/feh-3.10.1.ebuild +++ b/media-gfx/feh/feh-3.10.1.ebuild @@ -10,7 +10,7 @@ SRC_URI="https://feh.finalrewind.org/${P}.tar.bz2" LICENSE="feh" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~mips ppc ppc64 ~riscv x86" IUSE="debug curl exif test xinerama inotify" RESTRICT="test" # Tests are broken. diff --git a/media-gfx/feh/feh-3.10.2.ebuild b/media-gfx/feh/feh-3.10.2.ebuild new file mode 100644 index 000000000000..591d0d3d06a3 --- /dev/null +++ b/media-gfx/feh/feh-3.10.2.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit toolchain-funcs xdg-utils + +DESCRIPTION="A fast, lightweight imageviewer using imlib2" +HOMEPAGE="https://feh.finalrewind.org/" +SRC_URI="https://feh.finalrewind.org/${P}.tar.bz2" + +LICENSE="feh" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~x86" +IUSE="debug curl exif test xinerama inotify" +RESTRICT="test" # Tests are broken. + +COMMON_DEPEND=" + media-libs/imlib2[X,text(+)] + >=media-libs/libpng-1.2:0= + x11-libs/libX11 + curl? ( net-misc/curl ) + exif? ( media-libs/libexif ) + xinerama? ( x11-libs/libXinerama )" +RDEPEND="${COMMON_DEPEND} + media-libs/libjpeg-turbo:0" +DEPEND="${COMMON_DEPEND} + x11-base/xorg-proto + x11-libs/libXt + test? ( + >=dev-lang/perl-5.10 + dev-perl/Test-Command + media-libs/imlib2[gif,jpeg,png] + )" + +PATCHES=( "${FILESDIR}"/${PN}-3.2-debug-cflags.patch ) + +pkg_setup() { + use_feh() { usex $1 1 0; } + + fehopts=( + PREFIX="${EPREFIX}"/usr + doc_dir='${main_dir}'/share/doc/${PF} + example_dir='${main_dir}'/share/doc/${PF}/examples + curl=$(use_feh curl) + debug=$(use_feh debug) + xinerama=$(use_feh xinerama) + exif=$(use_feh exif) + inotify=$(use_feh inotify) + ) +} + +src_compile() { + tc-export CC + emake "${fehopts[@]}" +} + +src_install() { + emake "${fehopts[@]}" DESTDIR="${D}" install +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_mimeinfo_database_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_mimeinfo_database_update + xdg_desktop_database_update +} |