summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2014-08-20 12:08:58 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2014-08-20 12:08:58 +0000
commit3ee5c5fb2a437a13bed5ebf7b95dd87d3073109e (patch)
tree62f6992225032abfe9fdb3f08d72fe97bbc66bbc /media-sound
parentMove ocamlopt from p.use.mask to use.mask as instructed in bug #430352 (diff)
downloadgentoo-2-3ee5c5fb2a437a13bed5ebf7b95dd87d3073109e.tar.gz
gentoo-2-3ee5c5fb2a437a13bed5ebf7b95dd87d3073109e.tar.bz2
gentoo-2-3ee5c5fb2a437a13bed5ebf7b95dd87d3073109e.zip
Version bump.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/pragha/ChangeLog8
-rw-r--r--media-sound/pragha/metadata.xml3
-rw-r--r--media-sound/pragha/pragha-1.3.1.ebuild97
3 files changed, 107 insertions, 1 deletions
diff --git a/media-sound/pragha/ChangeLog b/media-sound/pragha/ChangeLog
index 33b56a197758..66af7e002aa9 100644
--- a/media-sound/pragha/ChangeLog
+++ b/media-sound/pragha/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/pragha
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/pragha/ChangeLog,v 1.33 2014/07/01 16:45:22 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/pragha/ChangeLog,v 1.34 2014/08/20 12:08:58 ssuominen Exp $
+
+*pragha-1.3.1 (20 Aug 2014)
+
+ 20 Aug 2014; Samuli Suominen <ssuominen@gentoo.org> +pragha-1.3.1.ebuild,
+ metadata.xml:
+ Version bump.
01 Jul 2014; Samuli Suominen <ssuominen@gentoo.org> pragha-1.3.0.ebuild:
Pull in virtual/libgudev instead of virtual/udev to use := for automatic
diff --git a/media-sound/pragha/metadata.xml b/media-sound/pragha/metadata.xml
index 8106938f4eb1..917b34f2696e 100644
--- a/media-sound/pragha/metadata.xml
+++ b/media-sound/pragha/metadata.xml
@@ -4,9 +4,12 @@
<herd>xfce</herd>
<use>
<flag name='glyr'>Enable music metadata searchengine support using <pkg>media-libs/glyr</pkg></flag>
+ <flag name='grilo'>Play songs on DLNA servers using <pkg>media-libs/grilo</pkg></flag>
<flag name='keybinder'>Enable shortcut support using <pkg>dev-libs/keybinder</pkg></flag>
<flag name='lastfm'>Enable last.fm support using <pkg>media-libs/libclastfm</pkg></flag>
<flag name='peas'>Enable various plugins that will pull in <pkg>dev-libs/libpeas</pkg> as a dependency</flag>
<flag name='playlist'>Enable enhanced playlist support using <pkg>dev-libs/totem-pl-parser</pkg></flag>
+ <flag name='rygel'>Share music on DLNA using <pkg>net-misc/rygel</pkg></flag>
+ <flag name='soup'>Search metadata on AcoustID and radios on TuneIn using <pkg>net-libs/libsoup</pkg></flag>
</use>
</pkgmetadata>
diff --git a/media-sound/pragha/pragha-1.3.1.ebuild b/media-sound/pragha/pragha-1.3.1.ebuild
new file mode 100644
index 000000000000..2f408aa6f539
--- /dev/null
+++ b/media-sound/pragha/pragha-1.3.1.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/pragha/pragha-1.3.1.ebuild,v 1.1 2014/08/20 12:08:58 ssuominen Exp $
+
+EAPI=5
+inherit xfconf # autotools
+
+DESCRIPTION="A lightweight music player (with support for the Xfce desktop environment)"
+HOMEPAGE="http://pragha.wikispaces.com/ http://github.com/matiasdelellis/pragha"
+SRC_URI="http://github.com/matiasdelellis/${PN}/releases/download/v${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug +glyr grilo +keybinder lastfm libnotify mtp +peas +playlist rygel soup +udev"
+
+COMMON_DEPEND=">=dev-db/sqlite-3.4:3
+ >=dev-libs/glib-2.32
+ >=dev-libs/libcdio-0.90
+ >=dev-libs/libcdio-paranoia-0.90
+ media-libs/gst-plugins-base:1.0
+ >=media-libs/libcddb-1.3.0
+ >=media-libs/taglib-1.7.0
+ >=x11-libs/gtk+-3.4:3
+ x11-libs/libX11
+ >=xfce-base/libxfce4ui-4.11
+ glyr? ( >=media-libs/glyr-1.0.1 )
+ grilo? ( >=media-libs/grilo-0.2.10 )
+ keybinder? ( >=dev-libs/keybinder-0.2.0:3 )
+ lastfm? ( >=media-libs/libclastfm-0.5 )
+ libnotify? ( >=x11-libs/libnotify-0.7 )
+ mtp? ( >=media-libs/libmtp-1.1.0 )
+ peas? ( >=dev-libs/libpeas-1.0.0[gtk] )
+ playlist? ( >=dev-libs/totem-pl-parser-2.26 )
+ rygel? ( >=net-misc/rygel-0.20 )
+ soup? ( >=net-libs/libsoup-2.38 )
+ udev? ( virtual/libgudev:= )"
+RDEPEND="${COMMON_DEPEND}
+ media-plugins/gst-plugins-meta:1.0"
+DEPEND="${COMMON_DEPEND}
+ dev-util/intltool
+ >=dev-util/xfce4-dev-tools-4.10
+ sys-devel/gettext
+ virtual/pkgconfig"
+REQUIRED_USE="glyr? ( peas )
+ grilo? ( peas )
+ libnotify? ( peas )
+ mtp? ( udev )
+ rygel? ( peas )
+ soup? ( peas )
+ udev? ( peas )"
+
+pkg_setup() {
+ XFCONF=(
+ --docdir="${EPREFIX}"/usr/share/doc/${PF}
+ $(use_enable debug)
+ $(use_enable peas libpeas-1.0)
+ $(use_enable glyr libglyr)
+ $(use_enable lastfm libclastfm)
+ $(use_enable playlist totem-plparser)
+ --with-gstreamer=1.0
+ )
+
+ if use peas; then
+ XFCONF+=(
+ $(use_enable libnotify)
+ $(use_enable keybinder)
+ $(use_enable udev gudev-1.0)
+ $(use_enable mtp libmtp)
+ $(use_enable soup libsoup-2.4)
+ $(use_enable rygel rygel-server-2.2)
+ $(use_enable grilo grilo-0.2)
+ )
+ else
+ XFCONF+=(
+ --disable-libnotify
+ --disable-keybinder
+ --disable-gudev-1.0
+ --disable-libmtp
+ --disable-libsoup-2.4
+ --disable-rygel-server-2.2
+ --disable-grilo-0.2
+ )
+ fi
+}
+
+src_prepare() {
+ sed -i -e '/CFLAGS/s:-g -ggdb -O0::' configure || die
+
+ # Prevent glib-gettextize from running wrt #423115
+# export AT_M4DIR=${EPREFIX}/usr/share/xfce4/dev-tools/m4macros
+# intltoolize --automake --copy --force
+# _elibtoolize --copy --force --install
+# eaclocal; eautoconf; eautoheader; eautomake
+
+ xfconf_src_prepare
+}