diff options
author | Tim Harder <radhermit@gentoo.org> | 2017-06-07 02:48:09 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2017-06-07 02:49:07 -0400 |
commit | ab4fd55a200e17448bf146843702d6b4108737d3 (patch) | |
tree | bb492699a462a55c03d488b76f5803bf0feb7817 /media-gfx/feh | |
parent | media-gfx/exiv2: 0.26 version bump (diff) | |
download | gentoo-ab4fd55a200e17448bf146843702d6b4108737d3.tar.gz gentoo-ab4fd55a200e17448bf146843702d6b4108737d3.tar.bz2 gentoo-ab4fd55a200e17448bf146843702d6b4108737d3.zip |
media-gfx/feh: version bump to 2.19
Diffstat (limited to 'media-gfx/feh')
-rw-r--r-- | media-gfx/feh/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/feh/feh-2.19.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/media-gfx/feh/Manifest b/media-gfx/feh/Manifest index 798f5e7b2e5c..b5869a5fd8d2 100644 --- a/media-gfx/feh/Manifest +++ b/media-gfx/feh/Manifest @@ -1 +1,2 @@ DIST feh-2.18.3.tar.bz2 2127924 SHA256 d82f68c7a96e1860dab3584ed58bda69446b692ae79a4ca999018507da310563 SHA512 3ffb44f8a2207c2c8725a519a23b7235a6df86aa8578b7b79a8819122e509d18dcc8263859e02cdbdeb5fb5ca56229f90aef567d53d63d763f8259fbc1fff515 WHIRLPOOL 27b5cf4cb2431f09d7e971330e53435d1dd575706d6228ee6b4bdb4e80f15806571d0435f2cca3567bbb124da715eabf59d5a9f84e52274729ce85c06e8161a8 +DIST feh-2.19.tar.bz2 2128358 SHA256 cebe25d8393a07aa79a6b2f99beb133d8de0cbc00d46bccc4df276248cc9d0e9 SHA512 19786749c4e82b21f73e08d1022518bb9bffa2abd52d5fe5f10a1c7e240d22cea4e7af96f986c81152f06f356ccc3a51034799b319507deb021e0c97fcf7d777 WHIRLPOOL 5263466aa264f743b7de474f57d1224fffbfab419e47f1ccaf20b8a8b07fbf7a0fa0456148ca72fcd4d195d2ebdc2a15e0cdb78c1adf8ffe6bcb7e6755b95643 diff --git a/media-gfx/feh/feh-2.19.ebuild b/media-gfx/feh/feh-2.19.ebuild new file mode 100644 index 000000000000..16b0c4192e9c --- /dev/null +++ b/media-gfx/feh/feh-2.19.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils toolchain-funcs + +DESCRIPTION="A fast, lightweight imageviewer using imlib2" +HOMEPAGE="http://feh.finalrewind.org/" +SRC_URI="http://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-libs/libXt + x11-proto/xproto + 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 +} |