diff options
author | Sebastian Pipping <sping@gentoo.org> | 2018-01-14 19:07:44 +0100 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2018-01-14 19:10:29 +0100 |
commit | a91e8bcf4d45eb1332e18d42843d489ced7edff1 (patch) | |
tree | 46e1128f32834e66161488df7f7e744246ed01ee /media-gfx | |
parent | dev-python/pysaml2: cleanup for bug 644016 (diff) | |
download | gentoo-a91e8bcf4d45eb1332e18d42843d489ced7edff1.tar.gz gentoo-a91e8bcf4d45eb1332e18d42843d489ced7edff1.tar.bz2 gentoo-a91e8bcf4d45eb1332e18d42843d489ced7edff1.zip |
media-gfx/raw-thumbnailer: Support libopenraw >=0.1
Closes: https://bugs.gentoo.org/609972
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'media-gfx')
3 files changed, 61 insertions, 2 deletions
diff --git a/media-gfx/raw-thumbnailer/files/raw-thumbnailer-0.2.1-libopenraw.patch b/media-gfx/raw-thumbnailer/files/raw-thumbnailer-0.2.1-libopenraw.patch new file mode 100644 index 000000000000..1106493622a2 --- /dev/null +++ b/media-gfx/raw-thumbnailer/files/raw-thumbnailer-0.2.1-libopenraw.patch @@ -0,0 +1,28 @@ +From 8711d72122e2e67641cc9a0166c1c35ce64719b2 Mon Sep 17 00:00:00 2001 +From: Sebastian Pipping <sebastian@pipping.org> +Date: Sun, 14 Jan 2018 18:50:17 +0100 +Subject: [PATCH] Use pkgconfig name "libopenraw-0.1" to support recent + libopenraw + +--- + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 7562e2b..ef14d87 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -12,8 +12,8 @@ AC_PROG_CXX + AC_PROG_INSTALL + + # Checks for libraries. +-PKG_CHECK_MODULES(OPENRAW, libopenraw-1.0 >= 0.0.4, HAVE_OPENRAW=yes) +-PKG_CHECK_MODULES(OPENRAWGNOME, libopenraw-gnome-1.0, HAVE_OPENRAWGNOME=yes) ++PKG_CHECK_MODULES(OPENRAW, libopenraw-0.1 >= 0.1.0, HAVE_OPENRAW=yes) ++PKG_CHECK_MODULES(OPENRAWGNOME, libopenraw-gnome-0.1, HAVE_OPENRAWGNOME=yes) + PKG_CHECK_MODULES(GDK, gdk-pixbuf-2.0, HAVE_GDK=yes) + + AC_SUBST(OPENRAW_CFLAGS) +-- +2.16.0.rc1 + diff --git a/media-gfx/raw-thumbnailer/raw-thumbnailer-0.2.1-r1.ebuild b/media-gfx/raw-thumbnailer/raw-thumbnailer-0.2.1-r1.ebuild new file mode 100644 index 000000000000..8d3bedb4b406 --- /dev/null +++ b/media-gfx/raw-thumbnailer/raw-thumbnailer-0.2.1-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="A lightweight and fast raw image thumbnailer" +HOMEPAGE="https://github.com/erlendd/raw-thumbnailer" +SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +RDEPEND=">=media-libs/libopenraw-0.1:=[gtk] + x11-libs/gtk+:2 + !media-gfx/gnome-raw-thumbnailer" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS=( AUTHORS ChangeLog ) +PATCHES=( + "${FILESDIR}"/${P}-libopenraw.patch # bug 609972 +) + +src_prepare() { + default + eautoreconf +} diff --git a/media-gfx/raw-thumbnailer/raw-thumbnailer-0.2.1.ebuild b/media-gfx/raw-thumbnailer/raw-thumbnailer-0.2.1.ebuild index cf2c9096972e..baf2934ea32d 100644 --- a/media-gfx/raw-thumbnailer/raw-thumbnailer-0.2.1.ebuild +++ b/media-gfx/raw-thumbnailer/raw-thumbnailer-0.2.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=4 @@ -12,7 +12,7 @@ SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86" IUSE="" -RDEPEND=">=media-libs/libopenraw-0.0.9[gtk] +RDEPEND="~media-libs/libopenraw-0.0.9[gtk] x11-libs/gtk+:2 !media-gfx/gnome-raw-thumbnailer" DEPEND="${RDEPEND} |