diff options
author | Tim Harder <radhermit@gentoo.org> | 2018-06-27 19:30:38 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2018-06-27 19:42:48 -0400 |
commit | 2acf77343c5e03342048d085c702683067209c90 (patch) | |
tree | 5535b2627da380c1cd1bf643dfee54135cb2a3bd /media-gfx | |
parent | net-news/newsboat: version bump to 2.12 (diff) | |
download | gentoo-2acf77343c5e03342048d085c702683067209c90.tar.gz gentoo-2acf77343c5e03342048d085c702683067209c90.tar.bz2 gentoo-2acf77343c5e03342048d085c702683067209c90.zip |
media-gfx/feh: version bump to 2.26.4
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/feh/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/feh/feh-2.26.4.ebuild | 72 |
2 files changed, 73 insertions, 0 deletions
diff --git a/media-gfx/feh/Manifest b/media-gfx/feh/Manifest index 6e64d1729f12..1fb42d8fcd10 100644 --- a/media-gfx/feh/Manifest +++ b/media-gfx/feh/Manifest @@ -3,3 +3,4 @@ DIST feh-2.24.tar.bz2 2130683 BLAKE2B b1f720d9ef74b4418daf92b945e57ca7d34839f72f DIST feh-2.25.1.tar.bz2 2131624 BLAKE2B 3e7d9145bb416d433f3ec92b5c921a734de137e3637999b6c3c6ac7e8d8b2e05a8a34dcdb12715431d4dd22f37a6e70b93bd18831c5e05ae9ce91b8e2e2f17d4 SHA512 a821d46901d4cf59bb09b911f28c6ab26fbd0ee9784b50fbacfb6cf23483da5d29ebbb4cc53b23289181bb3ba0dc9893a3f39a90b3420d0bd98d740d5583fc3e DIST feh-2.25.tar.bz2 2131457 BLAKE2B 50a3ab469dc637195e4421871ee01f690dd890abf97d408e2781684e497623d455ce3a92f5f809b3ab1562396d605618061786cfbaf78541064cc6c2c0892d1a SHA512 42bac46f71d3833affd076d985464c32dbba5ad34c0ab02692e6d9dba68304b2209c87221340f695408c1959a4482cdaf18fda6552a14cc42e08655bbb28ae4a DIST feh-2.26.3.tar.bz2 2132140 BLAKE2B 4d1e87ecdc0aac06c06fe0f0901aaaf26cd288bbf7283e9106b3034c806230680feb18742dabd6648efe9dfe81e703fe6b17580f1a1ea95a6d21d50a47aac438 SHA512 b7212e99d4210b71c1d84e6712b7cac18a65367ebf9a17d889412dddb66aefd2c3f0bf0b624b09f3b46aa007cd27ac1bd2e4a7c4757e8bc90d49d2a435baaf06 +DIST feh-2.26.4.tar.bz2 2132124 BLAKE2B 962af7b7e806a8cea570c1512c377b0eb9ca9924706bdce63cebe7dad240d9b5a7f16c0291aedf954abb45bbecc4f835f77bccbd42101a7f99dea92a102fc0bb SHA512 cd78081a6ab821a0c6b20fa6746ec180df97ab3412e0cc56bbccaf700c443b4fd5f95edd9b2781ebb2eb85491946809c962039346830ae6f5f85ea0ae5e7de81 diff --git a/media-gfx/feh/feh-2.26.4.ebuild b/media-gfx/feh/feh-2.26.4.ebuild new file mode 100644 index 000000000000..0fc4bf732db8 --- /dev/null +++ b/media-gfx/feh/feh-2.26.4.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit toolchain-funcs gnome2-utils 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 ~mips ~ppc ~ppc64 ~x86" +IUSE="debug curl exif test xinerama" + +COMMON_DEPEND="media-libs/imlib2[X] + >=media-libs/libpng-1.2:0= + x11-libs/libX11 + curl? ( net-misc/curl ) + exif? ( media-libs/libexif ) + xinerama? ( x11-libs/libXinerama )" +RDEPEND="${COMMON_DEPEND} + virtual/jpeg:0" +DEPEND="${COMMON_DEPEND} + x11-base/xorg-proto + x11-libs/libXt + test? ( + >=dev-lang/perl-5.10 + dev-perl/Test-Command + )" + +PATCHES=( "${FILESDIR}"/${PN}-2.6.2-debug-cflags.patch ) + +pkg_setup() { + use_feh() { usex $1 1 0; } + + fehopts=( + DESTDIR="${D}" + 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) + ) +} + +src_compile() { + tc-export CC + emake "${fehopts[@]}" +} + +src_install() { + emake "${fehopts[@]}" install +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_mimeinfo_database_update + xdg_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_mimeinfo_database_update + xdg_desktop_database_update +} |