1 |
commit: abf46f6453217ef149c1e0f0d11f322fde68964e |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 28 21:05:12 2018 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 28 21:50:29 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abf46f64 |
7 |
|
8 |
media-libs/grilo: bump to 0.3.6 |
9 |
|
10 |
Package-Manager: Portage-2.3.43, Repoman-2.3.10 |
11 |
|
12 |
media-libs/grilo/Manifest | 1 + |
13 |
media-libs/grilo/grilo-0.3.6.ebuild | 88 +++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 89 insertions(+) |
15 |
|
16 |
diff --git a/media-libs/grilo/Manifest b/media-libs/grilo/Manifest |
17 |
index d7a2c11cd4a..18351aaf41d 100644 |
18 |
--- a/media-libs/grilo/Manifest |
19 |
+++ b/media-libs/grilo/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST grilo-0.2.15.tar.xz 627196 BLAKE2B 3277f2588413e364835954f971c986451837b6992858d48273280d511a4d1ef4a8075924aaa3d4426818952e9f4d65c1b2dff7d3e255b2cbf30a8f73f740f91a SHA512 ac0a76d9075e5383fe1a56277b23986a8ec8e86f01f3f782ac7dc79539904712c22295c679243604b619f24088a1210622e0699b5601678264bd7651012ded3e |
22 |
DIST grilo-0.3.4.tar.xz 644616 BLAKE2B 4e8a7ba7da065b91cf780e4ec5da96b7a63534c2ef22d80cea21853a9373bca59359d2384e6f549689221a4eb1da495037c88e9adaea6c786005963c97a9aa1e SHA512 d3800a1873364dc8b56748924eee71928f9e08ad82d8ee2ffaf265cca7e26476081e543f42f26db57c088b2b063f86244e6718116710fc39fdea623868992145 |
23 |
+DIST grilo-0.3.6.tar.xz 653864 BLAKE2B 58570975b2c4623b2a43b441c60d88146080327a86018bfd1a37967d35b6389e5102915296ceba1a8ebf23d27a3e4f8d23eeb59555a6c5cd0ca596b5ab674878 SHA512 175cf61a43aea8456a41f4dce7694fac50e854cf6340ed0671f233e6188fa34347c1e7308aac99bc49d081c36747776b9a8c1c5cc7c0be00a1df2c9d015d8849 |
24 |
|
25 |
diff --git a/media-libs/grilo/grilo-0.3.6.ebuild b/media-libs/grilo/grilo-0.3.6.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..f9492339437 |
28 |
--- /dev/null |
29 |
+++ b/media-libs/grilo/grilo-0.3.6.ebuild |
30 |
@@ -0,0 +1,88 @@ |
31 |
+# Copyright 1999-2018 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+GNOME2_LA_PUNT="yes" |
36 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} ) |
37 |
+VALA_MIN_API_VERSION="0.28" |
38 |
+VALA_USE_DEPEND="vapigen" |
39 |
+ |
40 |
+inherit gnome2 python-any-r1 vala virtualx |
41 |
+ |
42 |
+DESCRIPTION="A framework for easy media discovery and browsing" |
43 |
+HOMEPAGE="https://wiki.gnome.org/Projects/Grilo" |
44 |
+ |
45 |
+LICENSE="LGPL-2.1+" |
46 |
+SLOT="0.3/0" # subslot is libgrilo-0.3 soname suffix |
47 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
48 |
+ |
49 |
+IUSE="gtk examples +introspection +network playlist test vala" |
50 |
+REQUIRED_USE="test? ( introspection )" |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ >=dev-libs/glib-2.44:2 |
54 |
+ dev-libs/libxml2:2 |
55 |
+ net-libs/liboauth |
56 |
+ gtk? ( >=x11-libs/gtk+-3:3 ) |
57 |
+ introspection? ( >=dev-libs/gobject-introspection-0.9:= ) |
58 |
+ network? ( >=net-libs/libsoup-2.41.3:2.4 ) |
59 |
+ playlist? ( >=dev-libs/totem-pl-parser-3.4.1 ) |
60 |
+" |
61 |
+DEPEND="${RDEPEND} |
62 |
+ >=dev-util/gtk-doc-am-1.10 |
63 |
+ >=dev-util/intltool-0.40 |
64 |
+ virtual/pkgconfig |
65 |
+ vala? ( $(vala_depend) ) |
66 |
+ test? ( |
67 |
+ ${PYTHON_DEPS} |
68 |
+ media-plugins/grilo-plugins:${SLOT%/*} ) |
69 |
+" |
70 |
+# eautoreconf requires gnome-common |
71 |
+ |
72 |
+pkg_setup() { |
73 |
+ # Python tests are currently commented out, but this is done via in exit(0) in testrunner.py |
74 |
+ # thus it still needs $PYTHON set up, which python-any-r1_pkg_setup will do for us |
75 |
+ use test && python-any-r1_pkg_setup |
76 |
+} |
77 |
+ |
78 |
+src_prepare() { |
79 |
+ sed -e "s:GETTEXT_PACKAGE=grilo$:GETTEXT_PACKAGE=grilo-${SLOT%/*}:" \ |
80 |
+ -i configure.ac configure || die "sed configure.ac configure failed" |
81 |
+ |
82 |
+ # Don't build examples |
83 |
+ sed -e '/SUBDIRS/s/examples//' \ |
84 |
+ -i Makefile.am -i Makefile.in || die |
85 |
+ |
86 |
+ use vala && vala_src_prepare |
87 |
+ gnome2_src_prepare |
88 |
+} |
89 |
+ |
90 |
+src_configure() { |
91 |
+ # --enable-debug only changes CFLAGS, useless for us |
92 |
+ gnome2_src_configure \ |
93 |
+ --disable-static \ |
94 |
+ --disable-debug \ |
95 |
+ $(use_enable gtk test-ui) \ |
96 |
+ $(use_enable introspection) \ |
97 |
+ $(use_enable network grl-net) \ |
98 |
+ $(use_enable playlist grl-pls) \ |
99 |
+ $(use_enable test tests) \ |
100 |
+ $(use_enable vala) |
101 |
+} |
102 |
+ |
103 |
+src_test() { |
104 |
+ virtx emake check |
105 |
+} |
106 |
+ |
107 |
+src_install() { |
108 |
+ gnome2_src_install |
109 |
+ # Upstream made this conditional on gtk-doc build... |
110 |
+ DOC_MODULE_VERSION=${SLOT%/*} \ |
111 |
+ emake -C doc install DESTDIR="${ED}" |
112 |
+ |
113 |
+ if use examples; then |
114 |
+ # Install example code |
115 |
+ insinto /usr/share/doc/${PF}/examples |
116 |
+ doins "${S}"/examples/*.c |
117 |
+ fi |
118 |
+} |