media-gfx/feh: version bump to 2.18.3
authorTim Harder <radhermit@gentoo.org>
Wed, 5 Apr 2017 02:37:57 +0000 (22:37 -0400)
committerTim Harder <radhermit@gentoo.org>
Wed, 5 Apr 2017 02:39:12 +0000 (22:39 -0400)
media-gfx/feh/Manifest
media-gfx/feh/feh-2.18.3.ebuild [new file with mode: 0644]

index 5e3eb4e3f64fe6ae541a5ee05e182c419f434da1..1a156a39f2b65cbc250fc52e7f2edefb9314537a 100644 (file)
@@ -1,3 +1,4 @@
 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.3.tar.bz2 2127924 SHA256 d82f68c7a96e1860dab3584ed58bda69446b692ae79a4ca999018507da310563 SHA512 3ffb44f8a2207c2c8725a519a23b7235a6df86aa8578b7b79a8819122e509d18dcc8263859e02cdbdeb5fb5ca56229f90aef567d53d63d763f8259fbc1fff515 WHIRLPOOL 27b5cf4cb2431f09d7e971330e53435d1dd575706d6228ee6b4bdb4e80f15806571d0435f2cca3567bbb124da715eabf59d5a9f84e52274729ce85c06e8161a8
 DIST feh-2.18.tar.bz2 2127627 SHA256 9daebf5195511a5bde8061c932b5585b956c81193dfc00abcd758316d07ed40c SHA512 f18493dd202dfa8f51756d466012ba5f668b4e0a4b075e14c8e246724eef11192c1cc0fcd87356a461e7da2b673960112166bf5fddb0916af66d2a229f965365 WHIRLPOOL bcb4ec37be4cc7f34c7c676f4985054d01f09caf359b43c18fa972d5b4934223d63639cbf8571873ad433d45019914bda492864e15f80f72b5e8e3f87ffdf316
diff --git a/media-gfx/feh/feh-2.18.3.ebuild b/media-gfx/feh/feh-2.18.3.ebuild
new file mode 100644 (file)
index 0000000..16b0c41
--- /dev/null
@@ -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
+}