1 |
commit: 9e1f15c8d6bf53696f476f688e8b312cbb7109ae |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 28 21:46:55 2018 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 28 21:50:33 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e1f15c8 |
7 |
|
8 |
media-plugins/grilo-plugins: bump to 0.3.7 |
9 |
|
10 |
Package-Manager: Portage-2.3.43, Repoman-2.3.10 |
11 |
|
12 |
media-plugins/grilo-plugins/Manifest | 1 + |
13 |
.../grilo-plugins/grilo-plugins-0.3.7.ebuild | 132 +++++++++++++++++++++ |
14 |
2 files changed, 133 insertions(+) |
15 |
|
16 |
diff --git a/media-plugins/grilo-plugins/Manifest b/media-plugins/grilo-plugins/Manifest |
17 |
index dc7f40d6781..75d36b9d1b8 100644 |
18 |
--- a/media-plugins/grilo-plugins/Manifest |
19 |
+++ b/media-plugins/grilo-plugins/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST grilo-plugins-0.2.17.tar.xz 1036308 BLAKE2B c83de5b251c030c71164310f6240652ffc86efa46a057bc750ee242c7cc2ff91a9c28ec6a847783cf7fd2df068cba0dad6f10521db82c7080a466c63aacb4c03 SHA512 f556ae6e72c82ce74cc8902f7b4ae27f51060c3b06230989b36ce4498f93894c723809c1f08fc8edfabd892fc303eb0523f21ea72649f644c7eb421b62773140 |
22 |
DIST grilo-plugins-0.3.5.tar.xz 1881080 BLAKE2B 06f06fe47cf6fb374d3d398e113a2d851c46e390011f2ef8c04a9b658bd04eea5f0c17ad4e89f7cd922ac0a24efe94f30db65697d4b71fab512eaf71c8ef936c SHA512 3420b18d5d938559b75ae41199a6a79dfa5a8a43d2b29631f7cb03c28df569627be610a4087514240c3413e476fa76def3ee7a1b065b5104679b788b633a5b0e |
23 |
+DIST grilo-plugins-0.3.7.tar.xz 1892848 BLAKE2B 9894a01dc555f20c3119208e2ee875898c918f8d81e36571a777f7f1776c284d5fa5b4ac9126a352dc812b0f5ba9c15e0e81a2381ef9cb636afb66e272a77cec SHA512 9e69835b3b8f6e2974d799480e2c8c55a084d2089ead6b37112a8c3c79b6bd2142b8fd66952493b7118e09eb5070789408b59bd28784bd9f6bf5ea5a7bc5695d |
24 |
|
25 |
diff --git a/media-plugins/grilo-plugins/grilo-plugins-0.3.7.ebuild b/media-plugins/grilo-plugins/grilo-plugins-0.3.7.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..bdfe54ab837 |
28 |
--- /dev/null |
29 |
+++ b/media-plugins/grilo-plugins/grilo-plugins-0.3.7.ebuild |
30 |
@@ -0,0 +1,132 @@ |
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} ) |
37 |
+ |
38 |
+inherit gnome2 python-any-r1 |
39 |
+ |
40 |
+DESCRIPTION="A framework for easy media discovery and browsing" |
41 |
+HOMEPAGE="https://wiki.gnome.org/Projects/Grilo" |
42 |
+ |
43 |
+LICENSE="LGPL-2.1+" |
44 |
+SLOT="0.3" |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
46 |
+IUSE="daap dvd examples chromaprint flickr freebox gnome-online-accounts lua subtitles test thetvdb tracker upnp-av vimeo +youtube" |
47 |
+ |
48 |
+# Bump gom requirement to avoid segfaults |
49 |
+RDEPEND=" |
50 |
+ >=dev-libs/glib-2.44:2 |
51 |
+ >=media-libs/grilo-0.3.6:${SLOT}=[network,playlist] |
52 |
+ media-libs/libmediaart:2.0 |
53 |
+ >=dev-libs/gom-0.3.2 |
54 |
+ |
55 |
+ dev-libs/gmime:3.0 |
56 |
+ dev-libs/json-glib |
57 |
+ dev-libs/libxml2:2 |
58 |
+ dev-db/sqlite:3 |
59 |
+ |
60 |
+ chromaprint? ( media-plugins/gst-plugins-chromaprint:1.0 ) |
61 |
+ daap? ( >=net-libs/libdmapsharing-2.9.12:3.0 ) |
62 |
+ dvd? ( >=dev-libs/totem-pl-parser-3.4.1 ) |
63 |
+ flickr? ( net-libs/liboauth ) |
64 |
+ freebox? ( net-dns/avahi ) |
65 |
+ gnome-online-accounts? ( >=net-libs/gnome-online-accounts-3.17.91:= ) |
66 |
+ lua? ( |
67 |
+ >=dev-lang/lua-5.3 |
68 |
+ app-arch/libarchive |
69 |
+ dev-libs/libxml2:2 |
70 |
+ >=dev-libs/totem-pl-parser-3.4.1 ) |
71 |
+ subtitles? ( net-libs/libsoup:2.4 ) |
72 |
+ thetvdb? ( |
73 |
+ app-arch/libarchive |
74 |
+ dev-libs/libxml2 ) |
75 |
+ tracker? ( >=app-misc/tracker-0.10.5:= ) |
76 |
+ youtube? ( |
77 |
+ >=dev-libs/libgdata-0.9.1:= |
78 |
+ >=dev-libs/totem-pl-parser-3.4.1 ) |
79 |
+ upnp-av? ( |
80 |
+ net-libs/libsoup:2.4 |
81 |
+ net-libs/dleyna-connector-dbus |
82 |
+ net-misc/dleyna-server ) |
83 |
+ vimeo? ( |
84 |
+ >=dev-libs/totem-pl-parser-3.4.1 ) |
85 |
+" |
86 |
+DEPEND="${RDEPEND} |
87 |
+ app-text/docbook-xml-dtd:4.5 |
88 |
+ app-text/yelp-tools |
89 |
+ >=dev-util/gdbus-codegen-2.44 |
90 |
+ >=dev-util/intltool-0.40.0 |
91 |
+ virtual/pkgconfig |
92 |
+ lua? ( dev-util/gperf ) |
93 |
+ upnp-av? ( test? ( |
94 |
+ ${PYTHON_DEPS} |
95 |
+ $(python_gen_any_dep 'dev-python/dbusmock[${PYTHON_USEDEP}]') ) ) |
96 |
+" |
97 |
+ |
98 |
+python_check_deps() { |
99 |
+ use upnp-av && use test && has_version "dev-python/dbusmock[${PYTHON_USEDEP}]" |
100 |
+} |
101 |
+ |
102 |
+pkg_setup() { |
103 |
+ use upnp-av && use test && python-any-r1_pkg_setup |
104 |
+} |
105 |
+ |
106 |
+src_prepare () { |
107 |
+ gnome2_src_prepare |
108 |
+ sed -e "s:GETTEXT_PACKAGE=grilo-plugins$:GETTEXT_PACKAGE=grilo-plugins-${SLOT}:" \ |
109 |
+ -i configure.ac configure || die "sed configure.ac configure failed" |
110 |
+} |
111 |
+ |
112 |
+# FIXME: some unittests required python-dbusmock |
113 |
+src_configure() { |
114 |
+ # --enable-debug only changes CFLAGS, useless for us |
115 |
+ # Plugins |
116 |
+ # shoutcast seems to be broken |
117 |
+ gnome2_src_configure \ |
118 |
+ --disable-static \ |
119 |
+ --disable-debug \ |
120 |
+ --disable-uninstalled \ |
121 |
+ --enable-bookmarks \ |
122 |
+ --enable-filesystem \ |
123 |
+ --enable-gravatar \ |
124 |
+ --enable-jamendo \ |
125 |
+ --enable-local-metadata \ |
126 |
+ --enable-magnatune \ |
127 |
+ --enable-metadata-store \ |
128 |
+ --enable-podcasts \ |
129 |
+ --enable-raitv \ |
130 |
+ --disable-shoutcast \ |
131 |
+ --enable-tmdb \ |
132 |
+ $(use_enable chromaprint) \ |
133 |
+ $(use_enable daap dmap) \ |
134 |
+ $(use_enable dvd optical-media) \ |
135 |
+ $(use_enable flickr) \ |
136 |
+ $(use_enable freebox) \ |
137 |
+ $(use_enable gnome-online-accounts goa) \ |
138 |
+ $(use_enable lua lua-factory) \ |
139 |
+ $(use_enable subtitles opensubtitles) \ |
140 |
+ $(use_enable thetvdb) \ |
141 |
+ $(use_enable tracker) \ |
142 |
+ $(use_enable upnp-av dleyna) \ |
143 |
+ $(use_enable vimeo) \ |
144 |
+ $(use_enable youtube) |
145 |
+} |
146 |
+ |
147 |
+src_install() { |
148 |
+ if use examples; then |
149 |
+ docinto examples |
150 |
+ doins help/examples/*.c |
151 |
+ fi |
152 |
+ |
153 |
+ gnome2_src_install \ |
154 |
+ DOC_MODULE_VERSION=${SLOT%/*} \ |
155 |
+ HELP_ID="grilo-plugins-${SLOT%/*}" \ |
156 |
+ HELP_MEDIA="" |
157 |
+ |
158 |
+ # The above doesn't work and collides with 0.2 slot |
159 |
+ mv "${ED}"/usr/share/help/C/examples/example-tmdb{,-0.3}.c || die |
160 |
+ mv "${ED}"/usr/share/help/C/grilo-plugins/legal{,-0.3}.xml || die |
161 |
+ mv "${ED}"/usr/share/help/C/grilo-plugins/grilo-plugins{,-0.3}.xml || die |
162 |
+} |