1 |
commit: 7179568e7aee7437ac2b20e8c8521f5c58bbe5d3 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 29 11:15:10 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 29 11:23:03 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7179568e |
7 |
|
8 |
media-libs/gexiv2: 0.10.9 version bump, EAPI-7 bump |
9 |
|
10 |
Cleanup and sort DEPENDs |
11 |
Drop obsolete eclass |
12 |
|
13 |
Closes: https://bugs.gentoo.org/673722 |
14 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
15 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
16 |
|
17 |
media-libs/gexiv2/Manifest | 1 + |
18 |
media-libs/gexiv2/gexiv2-0.10.9.ebuild | 69 ++++++++++++++++++++++++++++++++++ |
19 |
2 files changed, 70 insertions(+) |
20 |
|
21 |
diff --git a/media-libs/gexiv2/Manifest b/media-libs/gexiv2/Manifest |
22 |
index 826c429aa40..01458e8b3ec 100644 |
23 |
--- a/media-libs/gexiv2/Manifest |
24 |
+++ b/media-libs/gexiv2/Manifest |
25 |
@@ -1 +1,2 @@ |
26 |
DIST gexiv2-0.10.8.tar.xz 634696 BLAKE2B 182cda3bac5b3211e5ef8267628a86cc496c0242f25c5cd94ed9eab81c7460022373f3bb794c976fd0b9a10e49f9ca7109521ac6f99bbe7a4e0306a31db899da SHA512 4c25cf6884495151947a70e62a096f3279223673bece4d4ff02720b2820aaad9e80c8715e02bf46c3f5598f582fdf07b4b3ddabd017d53001245e3381a4cc286 |
27 |
+DIST gexiv2-0.10.9.tar.xz 380348 BLAKE2B 6e1479f1a4ac74f622f71eb554c42a5170091d6b1b790962ef415eab4b2528dececa2f2f7147cc662fa00503ec66766294f7efd9401bae4771e72c56724398ec SHA512 40683ce341c5eb09ad67a4a25ad14a791247a5b5f459acba424815e98d5797b0a7fb338fb4d4f1c234147c9268abe34570698fd4259cb80f7f7af76af0f0fba3 |
28 |
|
29 |
diff --git a/media-libs/gexiv2/gexiv2-0.10.9.ebuild b/media-libs/gexiv2/gexiv2-0.10.9.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..02c3359c1ca |
32 |
--- /dev/null |
33 |
+++ b/media-libs/gexiv2/gexiv2-0.10.9.ebuild |
34 |
@@ -0,0 +1,69 @@ |
35 |
+# Copyright 1999-2018 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=7 |
39 |
+ |
40 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) |
41 |
+ |
42 |
+MY_PV=$(ver_cut 1-2) |
43 |
+inherit autotools python-r1 toolchain-funcs vala xdg-utils |
44 |
+ |
45 |
+DESCRIPTION="GObject-based wrapper around the Exiv2 library" |
46 |
+HOMEPAGE="https://wiki.gnome.org/Projects/gexiv2" |
47 |
+SRC_URI="mirror://gnome/sources/${PN}/${MY_PV}/${P}.tar.xz" |
48 |
+ |
49 |
+LICENSE="LGPL-2.1" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd" |
52 |
+IUSE="introspection python static-libs test vala" |
53 |
+ |
54 |
+REQUIRED_USE=" |
55 |
+ python? ( introspection ${PYTHON_REQUIRED_USE} ) |
56 |
+ test? ( python introspection ) |
57 |
+ vala? ( introspection ) |
58 |
+" |
59 |
+ |
60 |
+RDEPEND="${PYTHON_DEPS} |
61 |
+ dev-libs/glib:2 |
62 |
+ media-gfx/exiv2:= |
63 |
+ introspection? ( dev-libs/gobject-introspection:= ) |
64 |
+ vala? ( $(vala_depend) ) |
65 |
+" |
66 |
+DEPEND="${RDEPEND}" |
67 |
+BDEPEND=" |
68 |
+ dev-libs/gobject-introspection-common |
69 |
+ virtual/pkgconfig |
70 |
+ test? ( |
71 |
+ dev-python/pygobject |
72 |
+ media-gfx/exiv2[xmp] |
73 |
+ ) |
74 |
+" |
75 |
+ |
76 |
+src_prepare() { |
77 |
+ xdg_environment_reset |
78 |
+ tc-export CXX |
79 |
+ use vala && vala_src_prepare |
80 |
+ default |
81 |
+ eautoreconf |
82 |
+} |
83 |
+ |
84 |
+src_configure() { |
85 |
+ econf \ |
86 |
+ $(use_enable introspection) \ |
87 |
+ $(use_enable static-libs static) \ |
88 |
+ $(use_enable vala) |
89 |
+} |
90 |
+ |
91 |
+src_install() { |
92 |
+ emake DESTDIR="${D}" LIB="$(get_libdir)" install |
93 |
+ einstalldocs |
94 |
+ |
95 |
+ if use python ; then |
96 |
+ python_moduleinto gi/overrides/ |
97 |
+ python_foreach_impl python_domodule GExiv2.py |
98 |
+ fi |
99 |
+ |
100 |
+ if ! use static-libs; then |
101 |
+ find "${D}" -name '*.la' -delete || die |
102 |
+ fi |
103 |
+} |