Gentoo Archives: gentoo-commits

From: Ole Reifschneider <tranquility@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: media-plugins/grilo-plugins/
Date: Sun, 27 Mar 2016 21:25:05
Message-Id: 1459112757.acea60ebe355992d0f1ca18121cea0dfef74a956.tranquility@gentoo
1 commit: acea60ebe355992d0f1ca18121cea0dfef74a956
2 Author: Ole Reifschneider <tranquility <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 27 13:37:19 2016 +0000
4 Commit: Ole Reifschneider <tranquility <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 27 21:05:57 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=acea60eb
7
8 media-plugins/grilo-plugins: Bump version to 0.3.0
9
10 Package-Manager: portage-2.2.28
11 Manifest-Sign-Key: 0xE9E568677E8B4D42
12
13 .../grilo-plugins/grilo-plugins-0.3.0.ebuild | 111 +++++++++++++++++++++
14 media-plugins/grilo-plugins/metadata.xml | 20 ++++
15 2 files changed, 131 insertions(+)
16
17 diff --git a/media-plugins/grilo-plugins/grilo-plugins-0.3.0.ebuild b/media-plugins/grilo-plugins/grilo-plugins-0.3.0.ebuild
18 new file mode 100644
19 index 0000000..5ff3b3f
20 --- /dev/null
21 +++ b/media-plugins/grilo-plugins/grilo-plugins-0.3.0.ebuild
22 @@ -0,0 +1,111 @@
23 +# Copyright 1999-2016 Gentoo Foundation
24 +# Distributed under the terms of the GNU General Public License v2
25 +# $Id$
26 +
27 +EAPI="5"
28 +GCONF_DEBUG="no" # --enable-debug only changes CFLAGS
29 +GNOME2_LA_PUNT="yes"
30 +
31 +inherit gnome2
32 +
33 +DESCRIPTION="A framework for easy media discovery and browsing"
34 +HOMEPAGE="https://wiki.gnome.org/Projects/Grilo"
35 +
36 +LICENSE="LGPL-2.1+"
37 +SLOT="0.3"
38 +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
39 +IUSE="daap +dvd examples flickr freebox gnome-online-accounts lua subtitles thetvdb tracker upnp-av +vimeo +youtube"
40 +
41 +# Bump gom requirement to avoid segfaults
42 +RDEPEND="
43 + >=dev-libs/glib-2.44:2
44 + >=media-libs/grilo-0.3.0:${SLOT}[network,playlist]
45 + media-libs/libmediaart:2.0
46 + >=dev-libs/gom-0.3.1
47 +
48 + dev-libs/gmime:2.6
49 + dev-libs/json-glib
50 + dev-libs/libxml2:2
51 + dev-db/sqlite:3
52 +
53 + daap? ( >=net-libs/libdmapsharing-2.9.12:3.0 )
54 + dvd? ( >=dev-libs/totem-pl-parser-3.4.1 )
55 + flickr? ( net-libs/liboauth )
56 + freebox? ( net-dns/avahi )
57 + gnome-online-accounts? ( >=net-libs/gnome-online-accounts-3.17.91 )
58 + lua? (
59 + >=dev-lang/lua-5.3
60 + app-arch/libarchive
61 + dev-libs/libxml2:2
62 + >=dev-libs/totem-pl-parser-3.4.1 )
63 + subtitles? ( net-libs/libsoup:2.4 )
64 + thetvdb? (
65 + app-arch/libarchive
66 + dev-libs/libxml2 )
67 + tracker? ( >=app-misc/tracker-0.10.5:= )
68 + youtube? (
69 + >=dev-libs/libgdata-0.9.1:=
70 + >=dev-libs/totem-pl-parser-3.4.1 )
71 + upnp-av? (
72 + net-libs/libsoup:2.4
73 + net-libs/dleyna-connector-dbus )
74 + vimeo? (
75 + >=dev-libs/totem-pl-parser-3.4.1 )
76 +"
77 +DEPEND="${RDEPEND}
78 + app-text/docbook-xml-dtd:4.5
79 + app-text/yelp-tools
80 + >=dev-util/intltool-0.40.0
81 + virtual/pkgconfig
82 +"
83 +
84 +src_prepare () {
85 + sed -e "s:GETTEXT_PACKAGE=grilo-plugins$:GETTEXT_PACKAGE=grilo-plugins-${SLOT}:" \
86 + -i configure.ac configure || die "sed configure.ac configure failed"
87 +}
88 +
89 +# FIXME: some unittests required python-dbusmock
90 +src_configure() {
91 + # --enable-debug only changes CFLAGS, useless for us
92 + # Plugins
93 + # shoutcast seems to be broken
94 + gnome2_src_configure \
95 + --disable-static \
96 + --disable-debug \
97 + --disable-uninstalled \
98 + --enable-bookmarks \
99 + --enable-filesystem \
100 + --enable-gravatar \
101 + --enable-jamendo \
102 + --enable-localmetadata \
103 + --enable-magnatune \
104 + --enable-metadata-store \
105 + --enable-podcasts \
106 + --enable-raitv \
107 + --disable-shoutcast \
108 + --enable-tmdb \
109 + $(use_enable daap dmap) \
110 + $(use_enable dvd optical-media) \
111 + $(use_enable flickr) \
112 + $(use_enable freebox) \
113 + $(use_enable gnome-online-accounts goa) \
114 + $(use_enable lua lua-factory) \
115 + $(use_enable subtitles opensubtitles) \
116 + $(use_enable thetvdb) \
117 + $(use_enable tracker) \
118 + $(use_enable upnp-av dleyna) \
119 + $(use_enable vimeo) \
120 + $(use_enable youtube)
121 +}
122 +
123 +src_install() {
124 + if use examples; then
125 + insinto /usr/share/doc/${PF}/examples
126 + doins help/examples/*.c
127 + fi
128 +
129 + gnome2_src_install \
130 + DOC_MODULE_VERSION=${SLOT%/*} \
131 + HELP_ID="grilo-plugins-${SLOT%/*}" \
132 + HELP_MEDIA=""
133 +}
134
135 diff --git a/media-plugins/grilo-plugins/metadata.xml b/media-plugins/grilo-plugins/metadata.xml
136 new file mode 100644
137 index 0000000..a6af364
138 --- /dev/null
139 +++ b/media-plugins/grilo-plugins/metadata.xml
140 @@ -0,0 +1,20 @@
141 +<?xml version="1.0" encoding="UTF-8"?>
142 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
143 +<pkgmetadata>
144 +<maintainer type="project">
145 + <email>gnome@g.o</email>
146 + <name>Gentoo GNOME Desktop</name>
147 +</maintainer>
148 +<use>
149 + <flag name="daap">Enable dmap support through <pkg>net-libs/libdmapsharing</pkg></flag>
150 + <flag name="flickr">Enable Flickr support</flag>
151 + <flag name="freebox">Build support for viewing TV channels using Freebox</flag>
152 + <flag name="gnome-online-accounts">Enable <pkg>net-libs/gnome-online-accounts</pkg> support</flag>
153 + <flag name="pocket">Support for showing content from Pocket</flag>
154 + <flag name="subtitles">Enables support for subtitle from OpenSubtitles</flag>
155 + <flag name="thetvdb">Build support for thetvdb.com</flag>
156 + <flag name="tracker">Build support for content discovery using the <pkg>app-misc/tracker</pkg> indexer</flag>
157 + <flag name="vimeo">Build support for Vimeo content discovery using <pkg>net-libs/libsoup</pkg> and <pkg>dev-libs/libgcrypt</pkg></flag>
158 + <flag name="youtube">Build support for YouTube content discovery using <pkg>dev-libs/libgdata</pkg></flag>
159 +</use>
160 +</pkgmetadata>