summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2017-12-30 04:29:40 -0500
committerTim Harder <radhermit@gentoo.org>2018-01-05 02:13:24 -0500
commit9593f8e7938c1b13be1eef041a3b3f54ee1bc685 (patch)
treedbc15d0d87250ec69ecd0e011bb9cf93811419ee /media-gfx
parentapp-i18n/scim: drop old unstable version. (diff)
downloadgentoo-9593f8e7938c1b13be1eef041a3b3f54ee1bc685.tar.gz
gentoo-9593f8e7938c1b13be1eef041a3b3f54ee1bc685.tar.bz2
gentoo-9593f8e7938c1b13be1eef041a3b3f54ee1bc685.zip
media-gfx/feh: version bump to 2.23
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/feh/Manifest1
-rw-r--r--media-gfx/feh/feh-2.23.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/media-gfx/feh/Manifest b/media-gfx/feh/Manifest
index c3c0a3070f64..473d679e7047 100644
--- a/media-gfx/feh/Manifest
+++ b/media-gfx/feh/Manifest
@@ -4,3 +4,4 @@ DIST feh-2.20.tar.bz2 2129466 BLAKE2B 4b0ff29b8c5859f18f01337409290e85f46dd7f924
DIST feh-2.21.tar.bz2 2129718 BLAKE2B 6d0e60ba5f51aef6dec6df59ce3cff24f9947e2359e839f8f3c49dadc51ee6dae15db8fbfd60e63a0bdf6df4482f88c8b3bb4d5a8a37725ca0b07030251eb1ac SHA512 f869d6588976973fca55714829478293bbd89fe03c7575c48847d23caec09353dc54eddf6fa41dc7f560c92eaee49ee23008258d72f4d55a49a5166625560a43
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.tar.bz2 2130344 BLAKE2B 730670fa38b909c26412b24d076732c9f8ec0a91c52e836dfd9a764fed35489085537073ece869e664cd8baeb1ee2fff47cc0bc69a6138e641b0a6a2be57331c SHA512 4b75f0053c3a4b1fb51251536896fd48470117ca3d59de1ac5a87f8071f37f886542e7d82730eec4579a1ebf507e4bc8a00fc45cf1364d2445b1aa82c5664ee7
diff --git a/media-gfx/feh/feh-2.23.ebuild b/media-gfx/feh/feh-2.23.ebuild
new file mode 100644
index 000000000000..73ad8e804e44
--- /dev/null
+++ b/media-gfx/feh/feh-2.23.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2017 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
+}