summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2017-04-16 16:39:46 +0200
committerGilles Dartiguelongue <eva@gentoo.org>2017-04-16 17:42:45 +0200
commit4c594d19cae2ce0c5fe975674fb4e149a53ac9a1 (patch)
tree7c75c562da2939ab8448111def03349f65379e30 /media-libs/libopenraw
parentmedia-radio/qrq: Move to EAPI 6. Fix tinfo problem. Thanks for report to S. K... (diff)
downloadgentoo-4c594d19cae2ce0c5fe975674fb4e149a53ac9a1.tar.gz
gentoo-4c594d19cae2ce0c5fe975674fb4e149a53ac9a1.tar.bz2
gentoo-4c594d19cae2ce0c5fe975674fb4e149a53ac9a1.zip
media-libs/libopenraw: version bump 0.1.0 → 0.1.1
Remove eutils inherit in favor of ltprune. Drop patch as it appears not needed anymore. Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'media-libs/libopenraw')
-rw-r--r--media-libs/libopenraw/Manifest1
-rw-r--r--media-libs/libopenraw/libopenraw-0.1.1.ebuild54
2 files changed, 55 insertions, 0 deletions
diff --git a/media-libs/libopenraw/Manifest b/media-libs/libopenraw/Manifest
index b267853e7e82..07f0a5546d8c 100644
--- a/media-libs/libopenraw/Manifest
+++ b/media-libs/libopenraw/Manifest
@@ -1,2 +1,3 @@
DIST libopenraw-0.0.9.tar.bz2 478687 SHA256 49fd1adf0a0228c7a17a79bf98d8d03664195feae1e50f4ddd1b20162626e18f SHA512 88d475d27719212686a0a5a08da04d6879fd456ec8f7531f401217df97f4f3d4c52dc8c4fb1c6ca88c12d6a67ecd516b151c5e9dceba9cbfcd13150fe81d6db5 WHIRLPOOL 52d407b1d443fe7c38c59274b3267feb4dffeca9114a39cad925c346ae21d1378cbceba4ce1973657073f8890bf50a18c476ba3451d806fe7f50824bb935c559
DIST libopenraw-0.1.0.tar.bz2 525449 SHA256 4dede1db9b85c9c22a1ddaf37839f2713746a00b81a6d4623d66556000cb76cf SHA512 f3b867d831d03350e487a98f08cadf6a24d5e4296129a401c0066cfdf0e628663e821ed0b7e42613d1533513a9c36a1693d6c3cbbd918246dbdfbb111b5a470a WHIRLPOOL 4101f34e20d4f73560086ed849b5c648eb3f399610ee77285361a13f1343255d2f95bd6b045b80505695e4f0125d491cec37e0f8c525d953a7bf12009f031875
+DIST libopenraw-0.1.1.tar.bz2 561718 SHA256 bbba7fccb2b8ef12c0fa405f6830fa7c9a91c71ea5e97564833d09a1078aa357 SHA512 ac8195fddc165d32337f518cc89297b91a8c2805132e380a261e9855f88ecbe074d6090f1f7b547c18fd2016b313a19e04e0428f9ba85b18928115b9dc0c1bc2 WHIRLPOOL 1af884c6e2119e134cf50792e0a54bc2f315ee4b7aabb84fd9ba0d6becc0eb5908ba4708f6447a3abf08ca3be413ebb4dc88af457df9477b827a284989ed8b59
diff --git a/media-libs/libopenraw/libopenraw-0.1.1.ebuild b/media-libs/libopenraw/libopenraw-0.1.1.ebuild
new file mode 100644
index 000000000000..8e68d515706c
--- /dev/null
+++ b/media-libs/libopenraw/libopenraw-0.1.1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit gnome2-utils ltprune
+
+DESCRIPTION="A decoding library for RAW image formats"
+HOMEPAGE="https://libopenraw.freedesktop.org/wiki/"
+SRC_URI="https://${PN}.freedesktop.org/download/${P}.tar.bz2"
+
+LICENSE="GPL-3 LGPL-3"
+SLOT="0/7"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
+IUSE="gtk static-libs test"
+
+RDEPEND="
+ dev-libs/libxml2
+ virtual/jpeg:0
+ gtk? (
+ dev-libs/glib:2
+ >=x11-libs/gdk-pixbuf-2.24.0:2
+ )
+"
+DEPEND="${RDEPEND}
+ >=dev-libs/boost-1.35
+ virtual/pkgconfig
+ test? ( net-misc/curl )
+"
+
+DOCS=( AUTHORS ChangeLog NEWS README TODO )
+
+src_configure() {
+ econf \
+ --with-boost="${EPREFIX}"/usr \
+ $(use_enable static-libs static) \
+ $(use_enable gtk gnome)
+}
+
+src_install() {
+ default
+ prune_libtool_files --all
+}
+
+pkg_preinst() {
+ use gtk && gnome2_gdk_pixbuf_savelist
+}
+
+pkg_postinst() {
+ use gtk && gnome2_gdk_pixbuf_update
+}
+
+pkg_postrm() {
+ use gtk && gnome2_gdk_pixbuf_update
+}