1 |
commit: 9d1550f3fbd43acca0048710c4030d475e286997 |
2 |
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 17 21:09:15 2018 +0000 |
4 |
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 17 21:18:34 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d1550f3 |
7 |
|
8 |
Revert "media-libs/libopenraw: cleanup old revision" |
9 |
|
10 |
This reverts commit 1be286da0397b2543d57ebc7ef0d7171fb2686e9. |
11 |
|
12 |
Still used by gegl:0.2 and gegl:0.3. |
13 |
|
14 |
Signed-off-by: Gilles Dartiguelongue <eva <AT> gentoo.org> |
15 |
|
16 |
media-libs/libopenraw/Manifest | 1 + |
17 |
media-libs/libopenraw/libopenraw-0.0.9.ebuild | 55 +++++++++++++++++++++++++++ |
18 |
2 files changed, 56 insertions(+) |
19 |
|
20 |
diff --git a/media-libs/libopenraw/Manifest b/media-libs/libopenraw/Manifest |
21 |
index dcb939936d7..74487bd9877 100644 |
22 |
--- a/media-libs/libopenraw/Manifest |
23 |
+++ b/media-libs/libopenraw/Manifest |
24 |
@@ -1 +1,2 @@ |
25 |
+DIST libopenraw-0.0.9.tar.bz2 478687 BLAKE2B d51410aa2a4ce297c660f80f99c912374faf05c0920be0c9dff78c5979c553cd74aafed0591bd62d479825cb0fd7064b47b86747ecddc75cc177b54184eb42b1 SHA512 88d475d27719212686a0a5a08da04d6879fd456ec8f7531f401217df97f4f3d4c52dc8c4fb1c6ca88c12d6a67ecd516b151c5e9dceba9cbfcd13150fe81d6db5 |
26 |
DIST libopenraw-0.1.2.tar.bz2 563981 BLAKE2B 60332274c72602e5b3eea3e41dfee8c62303a2f09028df4a637cea6f07391d912f354752cb6f354e06dd9e223dfabe5dbed1d50e0f325d85be42fb5012ecede6 SHA512 edd7e5a71feecbce1d5a20622bd3c7111acd2d4792038fd19920367ebb55d2cc7614627b9739512bbe34d6b5ae2eb65a4da9cee70c400b5cb846bf5fff08efc8 |
27 |
|
28 |
diff --git a/media-libs/libopenraw/libopenraw-0.0.9.ebuild b/media-libs/libopenraw/libopenraw-0.0.9.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..5c269828d8f |
31 |
--- /dev/null |
32 |
+++ b/media-libs/libopenraw/libopenraw-0.0.9.ebuild |
33 |
@@ -0,0 +1,55 @@ |
34 |
+# Copyright 1999-2018 Gentoo Foundation |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=5 |
38 |
+inherit eutils gnome2-utils |
39 |
+ |
40 |
+DESCRIPTION="A decoding library for RAW image formats" |
41 |
+HOMEPAGE="https://libopenraw.freedesktop.org/wiki/" |
42 |
+SRC_URI="https://${PN}.freedesktop.org/download/${P}.tar.bz2" |
43 |
+ |
44 |
+LICENSE="GPL-3 LGPL-3" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris" |
47 |
+IUSE="gtk static-libs test" |
48 |
+ |
49 |
+RDEPEND="virtual/jpeg:0 |
50 |
+ dev-libs/libxml2 |
51 |
+ gtk? ( |
52 |
+ >=dev-libs/glib-2 |
53 |
+ >=x11-libs/gdk-pixbuf-2.24.0:2 |
54 |
+ )" |
55 |
+DEPEND="${RDEPEND} |
56 |
+ >=dev-libs/boost-1.35 |
57 |
+ virtual/pkgconfig |
58 |
+ test? ( net-misc/curl )" |
59 |
+ |
60 |
+DOCS=( AUTHORS ChangeLog NEWS README TODO ) |
61 |
+ |
62 |
+src_prepare() { |
63 |
+ has_version '>=media-libs/jpeg-9a:0' && epatch "${FILESDIR}"/${P}-jpeg-9a.patch |
64 |
+} |
65 |
+ |
66 |
+src_configure() { |
67 |
+ econf \ |
68 |
+ --with-boost="${EPREFIX}"/usr \ |
69 |
+ $(use_enable static-libs static) \ |
70 |
+ $(use_enable gtk gnome) |
71 |
+} |
72 |
+ |
73 |
+src_install() { |
74 |
+ default |
75 |
+ prune_libtool_files --all |
76 |
+} |
77 |
+ |
78 |
+pkg_preinst() { |
79 |
+ gnome2_gdk_pixbuf_savelist |
80 |
+} |
81 |
+ |
82 |
+pkg_postinst() { |
83 |
+ gnome2_gdk_pixbuf_update |
84 |
+} |
85 |
+ |
86 |
+pkg_postinst() { |
87 |
+ gnome2_gdk_pixbuf_update |
88 |
+} |