You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-plugins/grilo-plugins/grilo-plugins-0.2.4.ebuild

81 lines
1.8 KiB

# Copyright 1999-2012 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.2.4.ebuild,v 1.3 2012/12/15 18:41:09 tetromino Exp $
EAPI="5"
GCONF_DEBUG="no" # --enable-debug only changes CFLAGS
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.2"
KEYWORDS="~amd64 ~x86"
IUSE="daap +dvd tracker upnp-av +vimeo +youtube"
RDEPEND="
>=dev-libs/glib-2.28:2
>=media-libs/grilo-0.2.3:${SLOT}[network]
dev-libs/gmime:2.6
dev-libs/json-glib
dev-libs/libxml2:2
dev-db/sqlite:3
daap? ( >=net-libs/libdmapsharing-2.9.12:3.0 )
dvd? ( >=dev-libs/totem-pl-parser-3.4.1 )
tracker? ( >=app-misc/tracker-0.10.5:= )
youtube? (
>=dev-libs/libgdata-0.9.1
>=media-libs/libquvi-0.4.0 )
upnp-av? (
net-libs/gssdp
>=net-libs/gupnp-0.13
>=net-libs/gupnp-av-0.5 )
vimeo? (
dev-libs/libgcrypt
>=media-libs/libquvi-0.4.0 )
"
DEPEND="${RDEPEND}
app-text/docbook-xml-dtd:4.5
app-text/gnome-doc-utils
virtual/pkgconfig
"
src_prepare() {
DOCS="AUTHORS NEWS README"
# --enable-debug only changes CFLAGS, useless for us
G2CONF="${G2CONF}
--disable-static
--disable-debug
--disable-uninstalled"
# Plugins
# shoutcast seems to be broken
G2CONF="${G2CONF}
--enable-bliptv
--enable-apple-trailers
--enable-bookmarks
--enable-filesystem
--enable-flickr
--enable-gravatar
--enable-jamendo
--enable-lastfm-albumart
--enable-localmetadata
--enable-metadata-store
--enable-podcasts
--disable-shoutcast
--enable-tmdb
$(use_enable daap dmap)
$(use_enable dvd optical-media)
$(use_enable tracker)
$(use_enable upnp-av upnp)
$(use_enable vimeo)
$(use_enable youtube)"
gnome2_src_prepare
}