summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@gentoo.org>2011-06-02 23:43:29 +0000
committerNirbheek Chauhan <nirbheek@gentoo.org>2011-06-02 23:43:29 +0000
commit82360fad41308c5c1f8c98285f862ace4ecbde28 (patch)
tree865c21b0ea989a795423f83ec7709a390c0c73f8 /media-plugins/grilo-plugins
parentAdd new ebuild for Grilo, a media discovery and browsing library (diff)
downloadgentoo-2-82360fad41308c5c1f8c98285f862ace4ecbde28.tar.gz
gentoo-2-82360fad41308c5c1f8c98285f862ace4ecbde28.tar.bz2
gentoo-2-82360fad41308c5c1f8c98285f862ace4ecbde28.zip
Add new ebuild for grilo plugins
(Portage version: 2.1.9.46/cvs/Linux x86_64)
Diffstat (limited to 'media-plugins/grilo-plugins')
-rw-r--r--media-plugins/grilo-plugins/ChangeLog10
-rw-r--r--media-plugins/grilo-plugins/grilo-plugins-0.1.15.ebuild68
-rw-r--r--media-plugins/grilo-plugins/metadata.xml12
3 files changed, 90 insertions, 0 deletions
diff --git a/media-plugins/grilo-plugins/ChangeLog b/media-plugins/grilo-plugins/ChangeLog
new file mode 100644
index 000000000000..08896140432c
--- /dev/null
+++ b/media-plugins/grilo-plugins/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-plugins/grilo-plugins
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/grilo-plugins/ChangeLog,v 1.1 2011/06/02 23:43:29 nirbheek Exp $
+
+*grilo-plugins-0.1.15 (02 Jun 2011)
+
+ 02 Jun 2011; Nirbheek Chauhan <nirbheek@gentoo.org>
+ +grilo-plugins-0.1.15.ebuild, +metadata.xml:
+ Add new ebuild for grilo plugins
+
diff --git a/media-plugins/grilo-plugins/grilo-plugins-0.1.15.ebuild b/media-plugins/grilo-plugins/grilo-plugins-0.1.15.ebuild
new file mode 100644
index 000000000000..1e2f6637da35
--- /dev/null
+++ b/media-plugins/grilo-plugins/grilo-plugins-0.1.15.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/grilo-plugins/grilo-plugins-0.1.15.ebuild,v 1.1 2011/06/02 23:43:29 nirbheek Exp $
+
+EAPI="4"
+GNOME2_LA_PUNT="yes"
+
+inherit gnome2
+
+DESCRIPTION="A framework for easy media discovery and browsing"
+HOMEPAGE="https://live.gnome.org/Grilo"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+youtube +vimeo upnp"
+
+RDEPEND="
+ >=dev-libs/glib-2.26:2
+ =media-libs/grilo-${PV}[network]
+
+ dev-libs/libxml2:2
+ dev-db/sqlite:3
+
+ youtube? ( >=dev-libs/libgdata-0.4.0 )
+ upnp? ( >=net-libs/gupnp-0.13
+ >=net-libs/gupnp-av-0.5 )
+ vimeo? ( net-libs/libsoup:2.4
+ dev-libs/libgcrypt )"
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.9"
+
+# `make check` doesn't do anything, and ${S}/test/test fails without all plugins
+RESTRICT="test"
+
+pkg_setup() {
+ DOCS="AUTHORS NEWS README"
+ # --enable-debug only changes CFLAGS, useless for us
+ G2CONF="${G2CONF}
+ --disable-maintainer-mode
+ --disable-static
+ --disable-debug
+ --disable-uninstalled"
+
+ # Plugins
+ # TODO: Enable tracker support
+ G2CONF="${G2CONF}
+ --enable-filesystem
+ --enable-jamendo
+ --enable-lastfm-albumart
+ --enable-flickr
+ --enable-podcasts
+ --enable-bookmarks
+ --disable-shoutcast
+ --enable-apple-trailers
+ --enable-metadata-store
+ --enable-gravatar
+ --disable-tracker
+ --enable-localmetadata
+ $(use_enable upnp)
+ $(use_enable youtube)
+ $(use_enable vimeo)"
+}
+
+src_prepare() {
+ sed -i -e 's/^\(SUBDIRS .*\)test/\1/g' Makefile.*
+ gnome2_src_prepare
+}
diff --git a/media-plugins/grilo-plugins/metadata.xml b/media-plugins/grilo-plugins/metadata.xml
new file mode 100644
index 000000000000..ed5f53db17db
--- /dev/null
+++ b/media-plugins/grilo-plugins/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<pkgmetadata>
+ <herd>gnome</herd>
+ <use>
+ <flag name="youtube">Build support for YouTube content discovery using
+ <pkg>dev-libs/libgdata</pkg></flag>
+ <flag name="upnp">Build support for UPnP devices using
+ <pkg>net-libs/gupnp</pkg> and <pkg>net-libs/gupnp-av</pkg></flag>
+ <flag name="vimeo">Build support for Vimeo content discovery using
+ <pkg>net-libs/libsoup</pkg> and <pkg>dev-libs/libgcrypt</pkg></flag>
+ </use>
+</pkgmetadata>