summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2017-02-22 14:48:21 -0500
committerTim Harder <radhermit@gentoo.org>2017-02-22 15:57:00 -0500
commit1bc905b31bea938d36b9fad217b41262cd122d1d (patch)
tree849ba4dab6d7905a7d120e79106f2fcb727a41b8
parentapp-crypt/dehydrated: fix config include (diff)
downloadgentoo-1bc905b31bea938d36b9fad217b41262cd122d1d.tar.gz
gentoo-1bc905b31bea938d36b9fad217b41262cd122d1d.tar.bz2
gentoo-1bc905b31bea938d36b9fad217b41262cd122d1d.zip
media-gfx/feh: version bump to 2.18.2
-rw-r--r--media-gfx/feh/Manifest1
-rw-r--r--media-gfx/feh/feh-2.18.2.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/media-gfx/feh/Manifest b/media-gfx/feh/Manifest
index 648074d3544..5e3eb4e3f64 100644
--- a/media-gfx/feh/Manifest
+++ b/media-gfx/feh/Manifest
@@ -1,2 +1,3 @@
DIST feh-2.18.1.tar.bz2 2127531 SHA256 4c3840285eaf7ad474547d12870430d0392efdce4cf897666aa1ab02612e65b2 SHA512 e046d836e94d0d8d3fc26995d997545955c670e19ad0138681952c4b61c94608d31e86b7c72940c45080f8fe65ae2d1fa01d92934e7b58d6e9b175660cbb3289 WHIRLPOOL 8041622471e74ce0017cc157365b6ecf9cc22c7fc5e391ca6b583c9d1e5399546cada7d357d2a9ac140777781de73ebbacdacaa72cdc199ce9e4078e91ff1068
+DIST feh-2.18.2.tar.bz2 2127763 SHA256 34be64648f8ada0bb666e226beac601f972b695c9cfa73339305124dbfcbc525 SHA512 39a4b1499c3389f74c3692e1cbb774ce1fa41e206cc298c2589a24c91033f6c211e214661f29ae2c9f37e7846ff41d28e1b06015aecc917b422110a93bad5950 WHIRLPOOL 01b5045ef272e551bbeddbd84049f4a43a2d2e51e3fe0df49ecb5b525a413f44795ecd4db5b80f09b9dfa74761540b4d68783daf3a9f058cc334bb403d68d53a
DIST feh-2.18.tar.bz2 2127627 SHA256 9daebf5195511a5bde8061c932b5585b956c81193dfc00abcd758316d07ed40c SHA512 f18493dd202dfa8f51756d466012ba5f668b4e0a4b075e14c8e246724eef11192c1cc0fcd87356a461e7da2b673960112166bf5fddb0916af66d2a229f965365 WHIRLPOOL bcb4ec37be4cc7f34c7c676f4985054d01f09caf359b43c18fa972d5b4934223d63639cbf8571873ad433d45019914bda492864e15f80f72b5e8e3f87ffdf316
diff --git a/media-gfx/feh/feh-2.18.2.ebuild b/media-gfx/feh/feh-2.18.2.ebuild
new file mode 100644
index 00000000000..c57c5def1e7
--- /dev/null
+++ b/media-gfx/feh/feh-2.18.2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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
+}