diff options
author | Tim Harder <radhermit@gentoo.org> | 2019-02-14 00:39:56 -0600 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2019-02-14 01:55:45 -0600 |
commit | 7c633aeb16707a636650d6cbe49c118ce49336b6 (patch) | |
tree | a646d88290df739f27e322255054b2caf4ae0ca3 | |
parent | dev-ruby/term-ansicolor: stable 1.6.0 for hppa, bug #628678 (diff) | |
download | gentoo-7c633aeb16707a636650d6cbe49c118ce49336b6.tar.gz gentoo-7c633aeb16707a636650d6cbe49c118ce49336b6.tar.bz2 gentoo-7c633aeb16707a636650d6cbe49c118ce49336b6.zip |
media-gfx/feh: version bump to 3.1.2
Signed-off-by: Tim Harder <radhermit@gentoo.org>
-rw-r--r-- | media-gfx/feh/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/feh/feh-3.1.2.ebuild | 72 |
2 files changed, 73 insertions, 0 deletions
diff --git a/media-gfx/feh/Manifest b/media-gfx/feh/Manifest index 9cbc383dc246..3b0e44932ecb 100644 --- a/media-gfx/feh/Manifest +++ b/media-gfx/feh/Manifest @@ -3,3 +3,4 @@ DIST feh-2.26.4.tar.bz2 2132124 BLAKE2B 962af7b7e806a8cea570c1512c377b0eb9ca9924 DIST feh-2.27.tar.bz2 2131975 BLAKE2B 84100beaff26454c8d33a479171b1b59402b74d04860192e5e826dcac93a288b095afee6f0676b56eae0d1f8dd3c4998767d0cd196ffd3b6a5406f5c1e6eb1d9 SHA512 6d9cf38e9b40291f6e7145705057a2c945b720b22d85020e265c2a158d5e4ca68cca958e2fae3d01a91bb4b2c52ebb5d2c298c41bf8ff3e4f635af7c006d0cc7 DIST feh-2.28.tar.bz2 2132687 BLAKE2B 92e428250a7fc01b5ecc8783d1a0f325ab168935eb6533a5726681389c05f662d9f7b978a50c2f1ef4d5cfd6f356e758cfff781072143902dbdab41f2310b705 SHA512 565a5aa0ce1c29fb2f09995283dbf2e12e0f228294df7c1b744a545e4f550126e0b327e9903c9eb35cb7dbd96d69e4653c57f3b3cb2dc2475680b3c62b71e1d8 DIST feh-3.1.1.tar.bz2 2109534 BLAKE2B ea02ab09791ef61a9ac5db84b5a0f69ddc76f994343660cf4072a41769a59ddd2936e0f047eeed26be0b3676711b1e440c0483325e6bb621205788ebe13c1fca SHA512 cbdf6e36831a750a6bdb9f1a5735c814662b5274d9c453392de88b98926b539cc54e2041fc0cd2a393762f14ec24b81435de6d506d9efc1ee4c7d80105aa6243 +DIST feh-3.1.2.tar.bz2 2109860 BLAKE2B eb3c4b0d93a6b18477626d1cf4d99fa96e0ccd2bd21ad646ef7afa31c5f9e318c7b20eca2615f13d537806caee16a7ae6f789ebdf2dc3eb7b53ba8824e807333 SHA512 a81ee5d8d0ac3ce13cfc5af6e1f5854235755ea54dd92a1019ff206617f1c46196a5e3a0794bbc886e89854b221f99b6e3fe387fa7d50bb0cbc3a2d9e834bbbc diff --git a/media-gfx/feh/feh-3.1.2.ebuild b/media-gfx/feh/feh-3.1.2.ebuild new file mode 100644 index 000000000000..06c60d87c45b --- /dev/null +++ b/media-gfx/feh/feh-3.1.2.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit toolchain-funcs gnome2-utils xdg-utils + +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-base/xorg-proto + x11-libs/libXt + 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 +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_mimeinfo_database_update + xdg_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_mimeinfo_database_update + xdg_desktop_database_update +} |