summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2018-02-13 16:25:18 -0500
committerTim Harder <radhermit@gentoo.org>2018-02-13 16:25:51 -0500
commit4548176f3b06c13998cf790ecd597f084cfd0bd1 (patch)
treec84710a61a9ee497fe3702bee5aaee52a64a54f7 /media-gfx
parentmedia-sound/csound: version bump to 6.10.0 (diff)
downloadgentoo-4548176f3b06c13998cf790ecd597f084cfd0bd1.tar.gz
gentoo-4548176f3b06c13998cf790ecd597f084cfd0bd1.tar.bz2
gentoo-4548176f3b06c13998cf790ecd597f084cfd0bd1.zip
media-gfx/feh: version bump to 2.23.2
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/feh/Manifest1
-rw-r--r--media-gfx/feh/feh-2.23.2.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/media-gfx/feh/Manifest b/media-gfx/feh/Manifest
index 55d8a2912765..67ce6c352b4b 100644
--- a/media-gfx/feh/Manifest
+++ b/media-gfx/feh/Manifest
@@ -5,4 +5,5 @@ DIST feh-2.21.tar.bz2 2129718 BLAKE2B 6d0e60ba5f51aef6dec6df59ce3cff24f9947e2359
DIST feh-2.22.2.tar.bz2 2129840 BLAKE2B a770c535746f7e9c2163cedc1a540c7a2c691c94d6ac77f70e4054aff42eef2d45bf870cdbcf7997872fb399e5b0e0d9e74971a872ae6714521c7f59e72a5ed2 SHA512 85c5f779fecb2be7457fed0675f25860ed4f41db9ecd1fdb8d4b1e553a7a337d5af243aafbd3fae4ac42fc943d207a264756d92cd15c62e95cec1f28fde46219
DIST feh-2.22.tar.bz2 2129914 BLAKE2B 592b26a4874bbaebe4826b53c6957ee25a95baca19da3ddeeafba81627538d53dcfbe9f54c932e1319fc9160680caf599e965976e733a7d07fa0dc0bd046ba3a SHA512 403b1e760e2b3e177768b47de5bb7bd45c11152f04a21f6788afcaec12357a085f7c9944000f78a8df41a3d60a67985622d36effd543216153ab04e539b5b85f
DIST feh-2.23.1.tar.bz2 2130373 BLAKE2B 5233cfbad018b9fd07a983d1956683ffc188ffe57e27123f82e8ea74cb9ff2df674b2178ba298b898913d0c6f902fc5c520460f4f333f9ac5b1f089f11fcd271 SHA512 dda2fa0905dab9ea8d607224d75bda008638da35c5ee181f4b37ccbc9a76cd65269d5ab052fff77628afd7b8041654362f47ec5e8db569677cdbb19b87745614
+DIST feh-2.23.2.tar.bz2 2130360 BLAKE2B 6df5c19621f2adf2319d5543e495238776856a459326feb0c2b22e4f6188d4473b0df4d77814e4096e9e82f5a2cdd3a98db012410e78b3885c1bd8bd333a1959 SHA512 7dd487cef3e3b5405b8888ff3774e3b68258dbe3c50512a7196dae8506110ef7a3752d50a87240ccebe6c9b8eece577ed5de52c0bca567ec5638fd6cce2a2cd1
DIST feh-2.23.tar.bz2 2130344 BLAKE2B 730670fa38b909c26412b24d076732c9f8ec0a91c52e836dfd9a764fed35489085537073ece869e664cd8baeb1ee2fff47cc0bc69a6138e641b0a6a2be57331c SHA512 4b75f0053c3a4b1fb51251536896fd48470117ca3d59de1ac5a87f8071f37f886542e7d82730eec4579a1ebf507e4bc8a00fc45cf1364d2445b1aa82c5664ee7
diff --git a/media-gfx/feh/feh-2.23.2.ebuild b/media-gfx/feh/feh-2.23.2.ebuild
new file mode 100644
index 000000000000..97faff3af810
--- /dev/null
+++ b/media-gfx/feh/feh-2.23.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit toolchain-funcs
+
+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-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
+}