summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2016-08-08 02:27:23 -0400
committerTim Harder <radhermit@gentoo.org>2016-08-08 02:27:23 -0400
commita0abd44b27e9c5ca23f92a2f4d62d981e6c4335e (patch)
treef8bd3afd9e6e4f1dc1ece552b0557c7c1e631ba8 /media-gfx
parentdev-util/vmtouch: respect CC and correct man page installation (diff)
downloadgentoo-a0abd44b27e9c5ca23f92a2f4d62d981e6c4335e.tar.gz
gentoo-a0abd44b27e9c5ca23f92a2f4d62d981e6c4335e.tar.bz2
gentoo-a0abd44b27e9c5ca23f92a2f4d62d981e6c4335e.zip
media-gfx/feh: version bump to 2.16.2
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/feh/Manifest1
-rw-r--r--media-gfx/feh/feh-2.16.2.ebuild65
2 files changed, 66 insertions, 0 deletions
diff --git a/media-gfx/feh/Manifest b/media-gfx/feh/Manifest
index 3a80460ca7c7..4a7c786d9f7c 100644
--- a/media-gfx/feh/Manifest
+++ b/media-gfx/feh/Manifest
@@ -4,4 +4,5 @@ DIST feh-2.12.1.tar.bz2 2116784 SHA256 9026ece01d79560e1eff9715fa1765eef82e22c76
DIST feh-2.12.tar.bz2 2090538 SHA256 60e07a0f545f6fb7af7b6c0d2ce1ba6bacfa65380e83cbbc2c54e8aa6b8b7032 SHA512 4d24c293ef062eb91dfd009b45f5362bccae26ebb93519f6e324b9c34b3fba4ec1ffda6c01ee71dca4f55e08d6f5101f0f9c3cbf577814eedca956790e745872 WHIRLPOOL b0b647e6785124fdaf4a36615bae081ffcc1b349739da750c6c8c1be2442050344e1bc5b65d3edfd2c6f220ae356321c9a346f5c8e9e4ecb0083fe65de24f359
DIST feh-2.13.1.tar.bz2 2117354 SHA256 865088d0481f6862d79d7c08d7b6cf1d25058a74a5784e511a1422fea8aba980 SHA512 60f2d691c24495fc126f868d3a4b3e43c7a41d0a3ff9ecfcec66a26b62012ef68bbbab897398c1d054d8eaa747baa180c8a41ed77e750071fde4e57a058b179b WHIRLPOOL 2259b2a2b704dcc27ddb0dd8d879be1445151fc5d0b6d0155df7dd0d1376f54f7a8766f08c68fcffabb10826d8f359a092376e51b316713ff9ff31c9d055afcd
DIST feh-2.14.tar.bz2 2118007 SHA256 3829cd8995ec7cc08095a2b22a6c98d1e2638bd87c8b4f0e85a059c6f0edbc48 SHA512 6a50ff787d4eecbfa830da7d7c6eec6feffbe883d48fb52b2a08471c8e1b5f0952e5c316ae67aad2b4feaa517bcb16ab8d5a19bd02832f33933dfd78f3a16243 WHIRLPOOL 0e3ed2614ac1a311a6fe73f9cf6e27b99d4c7ef17f69e9ff72cdf8d31bd8fa66308ebd954c6226415fd5103bd4405b49bb07038008a7ea44f724c83723374e35
+DIST feh-2.16.2.tar.bz2 2125888 SHA256 aa37124ae010e7dac7d101d5c66f3d49da79e96c7ce21d77bfe3c9322ed2e7ca SHA512 e288a0a5abe12c6e124b351a4d723845f8d7041fc87be15fb95266d00e35b319bf7a57073383157d4634f00bc974264d0622fac8166c97348a8bc1d563c16807 WHIRLPOOL ba5e746a2c0b44c7a7eba284115a08dfc92e65606b8ecbd2ffcbbdfeea3c67e300bdffbae72a9b53a073f9c5dc3eb118d6de47767ef20fbe532d2b8685872171
DIST feh-2.9.3.tar.bz2 2082188 SHA256 b4e8d603033af12afa77ae8020bcf4ff51c6950b9a6880a0fe32b04fdf7290f2 SHA512 9a0194d43037b1f1b1bd19dc4a9a1c6073504622283c466de1d1952798f37db21b5f2f61c14eeb732c49cc22707a5b47c7009fdaec6141eb3e1b936e2b7b038d WHIRLPOOL e77bd586e26b6ad1e2fb4189fdd33a19e7b45347417223ed65669955903b4ee5efbfa9fd52763b0724efc3bd9f490fa62c77323b5ee3f89445a0338e5fb2eed5
diff --git a/media-gfx/feh/feh-2.16.2.ebuild b/media-gfx/feh/feh-2.16.2.ebuild
new file mode 100644
index 000000000000..b664b6882d7a
--- /dev/null
+++ b/media-gfx/feh/feh-2.16.2.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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
+ )"
+
+pkg_setup() {
+ use_feh() { usex $1 1 0; }
+
+ fehopts=(
+ DESTDIR="${D}"
+ PREFIX=/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_prepare() {
+ local PATCHES=( "${FILESDIR}"/${PN}-2.6.2-debug-cflags.patch )
+
+ # fix desktop file
+ sed -i -e "s:^Icon=.*:Icon=/usr/share/feh/images/logo.svg:" \
+ share/applications/${PN}.pre || die
+
+ default
+}
+
+src_compile() {
+ tc-export CC
+ emake "${fehopts[@]}"
+}
+
+src_install() {
+ emake "${fehopts[@]}" install
+}