summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2017-10-08 13:37:39 -0500
committerTim Harder <radhermit@gentoo.org>2017-10-08 13:40:37 -0500
commite7371ca7f81fa9428b8260ce167a4b9111945fec (patch)
treebce9b4ad7831c7886dfb2d5937f76d702dea6276 /media-gfx
parentdev-libs/tvision: Drop old (diff)
downloadgentoo-e7371ca7f81fa9428b8260ce167a4b9111945fec.tar.gz
gentoo-e7371ca7f81fa9428b8260ce167a4b9111945fec.tar.bz2
gentoo-e7371ca7f81fa9428b8260ce167a4b9111945fec.zip
media-gfx/feh: version bump to 2.21
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/feh/Manifest1
-rw-r--r--media-gfx/feh/feh-2.21.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/media-gfx/feh/Manifest b/media-gfx/feh/Manifest
index 47ea6ea3ea8a..71c1978a36c3 100644
--- a/media-gfx/feh/Manifest
+++ b/media-gfx/feh/Manifest
@@ -1,3 +1,4 @@
DIST feh-2.18.3.tar.bz2 2127924 SHA256 d82f68c7a96e1860dab3584ed58bda69446b692ae79a4ca999018507da310563 SHA512 3ffb44f8a2207c2c8725a519a23b7235a6df86aa8578b7b79a8819122e509d18dcc8263859e02cdbdeb5fb5ca56229f90aef567d53d63d763f8259fbc1fff515 WHIRLPOOL 27b5cf4cb2431f09d7e971330e53435d1dd575706d6228ee6b4bdb4e80f15806571d0435f2cca3567bbb124da715eabf59d5a9f84e52274729ce85c06e8161a8
DIST feh-2.19.3.tar.bz2 2128692 SHA256 5ec97b655afbde3f1172543d175ec67fe35cd31397a009bda3fc3d40c1de7ed0 SHA512 0a5ee36bb9536e190b8aee11c097f5efd5f95dbb74ec299b41ec4d7d8bdfa68721b312607eb8e75941c4b79f92fcdbbc31731ab543907b2f6989bcc8e36ac6e5 WHIRLPOOL 4305cd425b20fe262fdcf4acf0ecfbeab8404bd6883fc9753f93109557b845cfe0a53edebad2d088a37bbafca7240daa4f0455d86e59793fc1f0ecc48e0716cb
DIST feh-2.20.tar.bz2 2129466 SHA256 4b504302099ec6dd099c84dd7e285c80dc318977ebda48949593386bc26e700b SHA512 a621bc0b1327666af4ae71f6a9c286535b7951bde10f93cc5281304a1ab30e2584f94a5eb48d74dfc40deb007d9f88256a984bcfe2469bf4e11a9d8c8aa52ffc WHIRLPOOL fb2d8827b687a5b953ad3885745c78707f217cd4f3fb26940a34971d2ec8c13c2689e570882c89283877004d45e484ee3011cb9ffd0170949102743c454ecf5b
+DIST feh-2.21.tar.bz2 2129718 SHA256 520481c9908d999f8f7546103b78ff9b11f41d25b0938f0a22f10aaa48beef2b SHA512 f869d6588976973fca55714829478293bbd89fe03c7575c48847d23caec09353dc54eddf6fa41dc7f560c92eaee49ee23008258d72f4d55a49a5166625560a43 WHIRLPOOL 81db9d7b87a279468145e750392edb1e7ee477612f80e9ab51d09b313f1ee4efe0c3deffbcc3f7eb5da909a387c33bd9abe213b43f5c11601ad6e5af1ef0c10b
diff --git a/media-gfx/feh/feh-2.21.ebuild b/media-gfx/feh/feh-2.21.ebuild
new file mode 100644
index 000000000000..73ad8e804e44
--- /dev/null
+++ b/media-gfx/feh/feh-2.21.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
+}