summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2017-09-13 05:35:40 -0400
committerTim Harder <radhermit@gentoo.org>2017-09-13 22:00:14 -0400
commit7953ab39f564898bfd81a976f233392a66d117ae (patch)
treeaf2b287cb4a87a6ca984c499f1fd00a6edc3f60d /media-gfx/feh
parentapp-eselect/eselect-wine: Bump to 1.2, supports includedir (diff)
downloadgentoo-7953ab39f564898bfd81a976f233392a66d117ae.tar.gz
gentoo-7953ab39f564898bfd81a976f233392a66d117ae.tar.bz2
gentoo-7953ab39f564898bfd81a976f233392a66d117ae.zip
media-gfx/feh: version bump to 2.20
Diffstat (limited to 'media-gfx/feh')
-rw-r--r--media-gfx/feh/Manifest1
-rw-r--r--media-gfx/feh/feh-2.20.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/media-gfx/feh/Manifest b/media-gfx/feh/Manifest
index ec0258ce64c2..47ea6ea3ea8a 100644
--- a/media-gfx/feh/Manifest
+++ b/media-gfx/feh/Manifest
@@ -1,2 +1,3 @@
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
diff --git a/media-gfx/feh/feh-2.20.ebuild b/media-gfx/feh/feh-2.20.ebuild
new file mode 100644
index 000000000000..73ad8e804e44
--- /dev/null
+++ b/media-gfx/feh/feh-2.20.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
+}