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