1 |
commit: 8d5482040ac6faa59317a0d51503cd9d0991aed0 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 29 20:03:03 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 29 20:03:37 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d548204 |
7 |
|
8 |
media-libs/exempi: add 2.6.2 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/653240 |
11 |
Bug: https://bugs.gentoo.org/764536 |
12 |
Bug: https://bugs.gentoo.org/859841 |
13 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
14 |
|
15 |
media-libs/exempi/Manifest | 1 + |
16 |
media-libs/exempi/exempi-2.6.2.ebuild | 65 +++++++++++++++++++++++++++++++++++ |
17 |
2 files changed, 66 insertions(+) |
18 |
|
19 |
diff --git a/media-libs/exempi/Manifest b/media-libs/exempi/Manifest |
20 |
index 18869996162b..aade23f19cea 100644 |
21 |
--- a/media-libs/exempi/Manifest |
22 |
+++ b/media-libs/exempi/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST exempi-2.4.5.tar.gz 3901474 BLAKE2B 7db80266847a18464ee5d75e2ffa38a05b2b23a30fb02a16c0a4a512f853a625f00db3ee0de3f177af584e12d65c8ecd2acc96cae96ef02d7b39129ab4b5274a SHA512 2b3dd8b2d1763fbbfed1995635f625a8e909a4c3119147385737f349002b2fa038cfaca72b2b877db8f28b9022230e49264b58766a68060b0b7c322cad99b22c |
25 |
+DIST exempi-2.6.2.tar.bz2 3709476 BLAKE2B 3b65db1f9e7c2bf050af6e273b8327d70e23d3321d3c280ddf8b36b467e2822b12f93cb14d8d342e2a2974a9b745f13fd98c79d9b67e634da5bc9b5ae71e4918 SHA512 c81c7a5bad1a294ce253d1471c00740679b7fb489658ead68a6892b701cc02a031a5dc69d70045a8276e1e19c716df88e92014df4c2809266a71ff05de9ad57a |
26 |
|
27 |
diff --git a/media-libs/exempi/exempi-2.6.2.ebuild b/media-libs/exempi/exempi-2.6.2.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..9ce6104f4934 |
30 |
--- /dev/null |
31 |
+++ b/media-libs/exempi/exempi-2.6.2.ebuild |
32 |
@@ -0,0 +1,65 @@ |
33 |
+# Copyright 1999-2022 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=8 |
37 |
+ |
38 |
+inherit autotools |
39 |
+ |
40 |
+DESCRIPTION="Port of the Adobe XMP SDK to work on UNIX" |
41 |
+HOMEPAGE="https://libopenraw.freedesktop.org/wiki/Exempi" |
42 |
+# TODO: switch to xz for 2.6.3 |
43 |
+SRC_URI="https://libopenraw.freedesktop.org/download/${P}.tar.bz2" |
44 |
+ |
45 |
+LICENSE="BSD" |
46 |
+SLOT="2/8" |
47 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" |
48 |
+IUSE="examples test" |
49 |
+RESTRICT="!test? ( test )" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ >=dev-libs/expat-2:= |
53 |
+ sys-libs/zlib |
54 |
+ virtual/libiconv |
55 |
+" |
56 |
+DEPEND=" |
57 |
+ ${RDEPEND} |
58 |
+ test? ( dev-libs/boost ) |
59 |
+" |
60 |
+BDEPEND=" |
61 |
+ sys-devel/autoconf-archive |
62 |
+ sys-devel/gettext |
63 |
+" |
64 |
+ |
65 |
+PATCHES=( |
66 |
+ "${FILESDIR}"/${PN}-2.4.2-iconv.patch |
67 |
+) |
68 |
+ |
69 |
+src_prepare() { |
70 |
+ default |
71 |
+ |
72 |
+ config_rpath_update . |
73 |
+ eautoreconf |
74 |
+} |
75 |
+ |
76 |
+src_configure() { |
77 |
+ # Valgrind detection is "disabled" due to bug #295875 |
78 |
+ econf \ |
79 |
+ $(use_enable test unittest) \ |
80 |
+ VALGRIND="" |
81 |
+} |
82 |
+ |
83 |
+src_install() { |
84 |
+ default |
85 |
+ |
86 |
+ if use examples; then |
87 |
+ emake -C samples/source distclean |
88 |
+ rm samples/{,source,testfiles}/Makefile* || die |
89 |
+ docinto examples |
90 |
+ dodoc -r samples/. |
91 |
+ fi |
92 |
+ |
93 |
+ # --disable-static breaks tests |
94 |
+ rm -rf "${ED}/usr/$(get_libdir)/libexempi.a" || die |
95 |
+ |
96 |
+ find "${ED}" -name '*.la' -delete || die |
97 |
+} |