diff options
author | Tim Harder <radhermit@gentoo.org> | 2017-02-09 01:58:06 -0500 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2017-02-09 01:58:56 -0500 |
commit | 633fb6723bc91b67b72f62efe29218330709a9d5 (patch) | |
tree | bb6334e6865aa0efe42366aea904f5932c18b07e /media-gfx | |
parent | dev-ruby/selenium-webdriver: add 3.0.8 (diff) | |
download | gentoo-633fb6723bc91b67b72f62efe29218330709a9d5.tar.gz gentoo-633fb6723bc91b67b72f62efe29218330709a9d5.tar.bz2 gentoo-633fb6723bc91b67b72f62efe29218330709a9d5.zip |
media-gfx/feh: version bump to 2.18.1
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/feh/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/feh/feh-2.18.1.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/media-gfx/feh/Manifest b/media-gfx/feh/Manifest index dcf4480bb691..648074d35443 100644 --- a/media-gfx/feh/Manifest +++ b/media-gfx/feh/Manifest @@ -1 +1,2 @@ +DIST feh-2.18.1.tar.bz2 2127531 SHA256 4c3840285eaf7ad474547d12870430d0392efdce4cf897666aa1ab02612e65b2 SHA512 e046d836e94d0d8d3fc26995d997545955c670e19ad0138681952c4b61c94608d31e86b7c72940c45080f8fe65ae2d1fa01d92934e7b58d6e9b175660cbb3289 WHIRLPOOL 8041622471e74ce0017cc157365b6ecf9cc22c7fc5e391ca6b583c9d1e5399546cada7d357d2a9ac140777781de73ebbacdacaa72cdc199ce9e4078e91ff1068 DIST feh-2.18.tar.bz2 2127627 SHA256 9daebf5195511a5bde8061c932b5585b956c81193dfc00abcd758316d07ed40c SHA512 f18493dd202dfa8f51756d466012ba5f668b4e0a4b075e14c8e246724eef11192c1cc0fcd87356a461e7da2b673960112166bf5fddb0916af66d2a229f965365 WHIRLPOOL bcb4ec37be4cc7f34c7c676f4985054d01f09caf359b43c18fa972d5b4934223d63639cbf8571873ad433d45019914bda492864e15f80f72b5e8e3f87ffdf316 diff --git a/media-gfx/feh/feh-2.18.1.ebuild b/media-gfx/feh/feh-2.18.1.ebuild new file mode 100644 index 000000000000..c57c5def1e7b --- /dev/null +++ b/media-gfx/feh/feh-2.18.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2017 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 + )" + +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 +} |