summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-sound/banshee/Manifest1
-rw-r--r--media-sound/banshee/banshee-2.6.2.ebuild150
-rw-r--r--media-sound/banshee/metadata.xml20
3 files changed, 161 insertions, 10 deletions
diff --git a/media-sound/banshee/Manifest b/media-sound/banshee/Manifest
index 6050b374708b..d6b8c1ec2526 100644
--- a/media-sound/banshee/Manifest
+++ b/media-sound/banshee/Manifest
@@ -1 +1,2 @@
DIST banshee-2.6.1.tar.xz 3323092 SHA256 53b8990cd439963edbfa776b3029bd73809e413bec302e3b6cf3914c6e74fb64 SHA512 7c934a11a41138a1e1369ccc7307155d7cba98924be1f45746e3bee923434f67a8b66ab9c7646739d7bc342b1e890c2783d99ef3de175a7a9923203e78c05c8a WHIRLPOOL 1c4e191c258d14851f63f942dd5cd39c062b6e2d98577998409f96290978e5d83f32e44efe780c59a85bf58717669ce6ebfe23a17635dbed2d60bd4373c98f21
+DIST banshee-2.6.2.tar.xz 3372372 SHA256 f77c089b05e3dc956236d13ff02945fe560f56e402df57621a9196de39ba60f8 SHA512 70c8a1839b8f24565a52c79af0c6e908116d2fabff067406567c51f234b6c2a062c389d521ca3d70419a7c176b59b3e6742d494b1a8e23978467b7f548efd23f WHIRLPOOL 7d6b7f1925919f0805c08ee39f2fc598ad4ea9eb938a69291a2b50b12c9824a16f0c2aa331445c23663e463b22917560098bc5bb02fac4aca1dc7f260a71b7fb
diff --git a/media-sound/banshee/banshee-2.6.2.ebuild b/media-sound/banshee/banshee-2.6.2.ebuild
new file mode 100644
index 000000000000..7d153f6ad939
--- /dev/null
+++ b/media-sound/banshee/banshee-2.6.2.ebuild
@@ -0,0 +1,150 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools eutils fdo-mime gnome2-utils mono-env versionator gnome.org
+
+DESCRIPTION="Import, organize, play, and share your music using a simple and powerful interface"
+HOMEPAGE="http://banshee.fm/"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+aac +cdda +bpm daap doc +encode ipod karma mtp test udev +web youtube"
+
+RDEPEND="
+ >=dev-lang/mono-2.4.3
+ gnome-base/gnome-settings-daemon
+ sys-apps/dbus
+ >=dev-dotnet/gtk-sharp-2.12:2
+ >=dev-dotnet/notify-sharp-0.4.0_pre20080912-r1
+ >=media-libs/gstreamer-0.10.21-r3:0.10
+ >=media-libs/gst-plugins-base-0.10.25.2:0.10
+ media-libs/gst-plugins-bad:0.10
+ media-libs/gst-plugins-good:0.10
+ media-libs/gst-plugins-ugly:0.10
+ >=media-plugins/gst-plugins-meta-0.10-r2:0.10
+ media-plugins/gst-plugins-gio:0.10
+ >=dev-dotnet/gconf-sharp-2.24.0:2
+ media-plugins/gst-plugins-gconf:0.10
+ cdda? (
+ || (
+ media-plugins/gst-plugins-cdparanoia:0.10
+ media-plugins/gst-plugins-cdio:0.10
+ )
+ )
+ media-libs/musicbrainz:3
+ dev-dotnet/dbus-sharp
+ dev-dotnet/dbus-sharp-glib
+ >=dev-dotnet/mono-addins-0.6.2[gtk]
+ >=dev-dotnet/taglib-sharp-2.0.3.7
+ >=dev-db/sqlite-3.4:3
+ karma? ( >=media-libs/libkarma-0.1.0-r1 )
+ aac? ( media-plugins/gst-plugins-faad:0.10 )
+ bpm? ( media-plugins/gst-plugins-soundtouch:0.10 )
+ daap? ( >=dev-dotnet/mono-zeroconf-0.8.0-r1 )
+ doc? (
+ >=app-text/gnome-doc-utils-0.17.3
+ )
+ encode? (
+ media-plugins/gst-plugins-lame:0.10
+ media-plugins/gst-plugins-taglib:0.10
+ )
+ ipod? ( >=media-libs/libgpod-0.8.2[mono] )
+ mtp? (
+ >=media-libs/libmtp-0.3.0
+ )
+ web? (
+ >=net-libs/webkit-gtk-1.2.2:2
+ >=net-libs/libsoup-gnome-2.26:2.4
+ )
+ youtube? (
+ >=dev-dotnet/google-gdata-sharp-1.4
+ )
+ udev? (
+ app-misc/media-player-info
+ dev-dotnet/gudev-sharp
+ dev-dotnet/gkeyfile-sharp
+ dev-dotnet/gtk-sharp-beans
+ dev-dotnet/gio-sharp
+ )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+"
+
+src_prepare () {
+ DOCS="AUTHORS ChangeLog HACKING NEWS README"
+
+ # Don't build BPM extension when not wanted
+ if ! use bpm; then
+ sed -i -e 's:Banshee.Bpm:$(NULL):g' src/Extensions/Makefile.am || die
+ fi
+
+ # Don't append -ggdb, bug #458632, upstream bug #698217
+ sed -i -e 's:-ggdb3:$(NULL):g' libbanshee/Makefile.am || die
+ sed -i -e 's:-ggdb3::g' src/Core/Banshee.WebBrowser/libossifer/Makefile.am || die
+
+ AT_M4DIR="-I build/m4/banshee -I build/m4/shamrock -I build/m4/shave" \
+ eautoreconf
+}
+
+src_configure() {
+ # soundmenu needs a properly maintained and updated indicate-sharp
+ local myconf="
+ --disable-dependency-tracking
+ --disable-static
+ --disable-maintainer-mode
+ --enable-gnome
+ --enable-schemas-install
+ --with-gconf-schema-file-dir=/etc/gconf/schemas
+ --with-vendor-build-id=Gentoo/${PN}/${PVR}
+ --enable-gapless-playback
+ --disable-boo
+ --disable-gst-sharp
+ --disable-torrent
+ --disable-shave
+ --disable-ubuntuone
+ --disable-soundmenu
+ --disable-upnp"
+
+ econf \
+ $(use_enable doc docs) \
+ $(use_enable doc user-help) \
+ $(use_enable mtp) \
+ $(use_enable daap) \
+ $(use_enable ipod appledevice) \
+ $(use_enable karma) \
+ $(use_enable web webkit) \
+ $(use_enable youtube) \
+ $(use_enable udev gio) \
+ $(use_enable udev gio_hardware) \
+ ${myconf}
+}
+
+src_compile() {
+ emake MCS=/usr/bin/gmcs
+}
+
+src_install() {
+ default
+ prune_libtool_files --all
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+}
diff --git a/media-sound/banshee/metadata.xml b/media-sound/banshee/metadata.xml
index 2581afb3b97f..82bea70c98b2 100644
--- a/media-sound/banshee/metadata.xml
+++ b/media-sound/banshee/metadata.xml
@@ -1,15 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>dotnet</herd>
-<herd>gstreamer</herd>
-<use>
- <flag name="bpm">Build beats per minute detection extension</flag>
- <flag name="cdda">Build with audio CD support</flag>
- <flag name="daap">Build with Daap support</flag>
- <flag name="karma">Build with karma support</flag>
- <flag name="web">Enable support for plugins that access web-based services
+ <herd>dotnet</herd>
+ <herd>gstreamer</herd>
+ <use>
+ <flag name="bpm">Build beats per minute detection extension</flag>
+ <flag name="cdda">Build with audio CD support</flag>
+ <flag name="daap">Build with Daap support</flag>
+ <flag name="karma">Build with karma support</flag>
+ <flag name="web">Enable support for plugins that access web-based services
such as Amazon and wikipedia (requires <pkg>net-libs/webkit-gtk</pkg>)</flag>
- <flag name="youtube">Enable the Youtube plugin</flag>
-</use>
+ <flag name="youtube">Enable the Youtube plugin</flag>
+ </use>
</pkgmetadata>