From: Bernard Cafarelli Date: Fri, 2 Oct 2015 11:52:12 +0000 (+0200) Subject: media-gfx/geeqie: version bump, bug #561912 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6cb647a384e9ab7bcf57db714a2fb6bddf059818;p=gentoo.git media-gfx/geeqie: version bump, bug #561912 Package-Manager: portage-2.2.22 --- diff --git a/media-gfx/geeqie/Manifest b/media-gfx/geeqie/Manifest index a470c29ca107..3dc218be3b26 100644 --- a/media-gfx/geeqie/Manifest +++ b/media-gfx/geeqie/Manifest @@ -1,2 +1,3 @@ DIST geeqie-1.2.1.tar.gz 1943377 SHA256 4611edfb25147d8cc98c0b64bef14a8fc7ab0996b662a1e19097eae21f6bf1d9 SHA512 d14069a333eb49f2bba1865d19facf2731b8d46fb95727c168cdb035bb8dcec55440f57170ed67e6d52349e92141066ea2293ca2040622970b30a3505a6902a4 WHIRLPOOL 85624263ebcaf8de54a4847110761cadc0b01a347b221ff9c303b63d556b8c62fd468d3426a98dabb01b035ebc442cab0075fa525660c9410662f12a95cbc1b7 +DIST geeqie-1.2.2.tar.xz 1156616 SHA256 e1cbc403650730e2f4092159e4347c858d3d81e4374d2a51d635234ba90b3ee3 SHA512 0e134802b42061e76ec2f2d9069ab13ebcab17f889b04917e15aba74a208a4c4ffa5a957f45eb5bd14917d98d2d6250c1085cb065a1ae487050e5e2f325c14c4 WHIRLPOOL 78e960d2e551675b6474d30cfb0119177e14d1930a23b930c5b7ef7757092085db423713be495a4fcb51112c293eb88b12fe511b5b4bf64c86c27b8e410cb318 DIST geeqie-1.2.tar.gz 1904764 SHA256 f13fc2489fb9bed31ed48aec8b2a3a573c11cd6e036f1b07ed2cf6495ccc75dd SHA512 cd27cc480cc649f6ba6ea2997bf9a3dc1aa3f655e6f949de27bb4bbfa79927126851604005bf0a0e2be86683f5b9b06dbfb86b919f828e54a79bafcdd6a0be92 WHIRLPOOL 82e25e743b62566dd99a630fb347966195a93b8eba51a300907e04e7113c5bc39a0bf74da28eeba6325558ff86d1bdea80cfe8c7fedf70ce5466e224e0b648c0 diff --git a/media-gfx/geeqie/geeqie-1.2.2.ebuild b/media-gfx/geeqie/geeqie-1.2.2.ebuild new file mode 100644 index 000000000000..045e981484a4 --- /dev/null +++ b/media-gfx/geeqie/geeqie-1.2.2.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils + +DESCRIPTION="A lightweight GTK image viewer forked from GQview" +HOMEPAGE="http://www.geeqie.org" +SRC_URI="http://www.geeqie.org/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="debug doc exif gtk3 jpeg lcms lirc lua tiff xmp" + +RDEPEND="gtk3? ( x11-libs/gtk+:3 ) + !gtk3? ( x11-libs/gtk+:2 ) + virtual/libintl + doc? ( app-text/gnome-doc-utils ) + jpeg? ( virtual/jpeg:0 ) + lcms? ( media-libs/lcms:2 ) + lirc? ( app-misc/lirc ) + lua? ( >=dev-lang/lua-5.1:= ) + xmp? ( >=media-gfx/exiv2-0.17:=[xmp] ) + !xmp? ( exif? ( >=media-gfx/exiv2-0.17 ) ) + tiff? ( media-libs/tiff:0 )" +DEPEND="${RDEPEND} + virtual/pkgconfig + dev-util/intltool + sys-devel/gettext" + +src_prepare() { + epatch_user +} + +src_configure() { + # clutter does not compile, gps depends on clutter + local myconf="--disable-dependency-tracking + --with-readmedir=/usr/share/doc/${PF} + --disable-clutter + --disable-gps + $(use_enable debug debug-log) + $(use_enable gtk3) + $(use_enable jpeg) + $(use_enable lcms) + $(use_enable lua) + $(use_enable lirc) + $(use_enable tiff)" + + if use exif || use xmp; then + myconf="${myconf} --enable-exiv2" + else + myconf="${myconf} --disable-exiv2" + fi + + econf ${myconf} +} + +src_install() { + emake DESTDIR="${D}" install + rm -f "${D}/usr/share/doc/${MY_P}/COPYING" +} + +pkg_postinst() { + elog "Some plugins may require additional packages" + elog "- Image rotate plugin: media-gfx/fbida (JPEG), media-gfx/imagemagick (TIFF/PNG)" + elog "- RAW images plugin: media-gfx/ufraw" +}