diff options
author | Arun Raghavan <ford_prefect@gentoo.org> | 2010-09-05 11:49:39 +0000 |
---|---|---|
committer | Arun Raghavan <ford_prefect@gentoo.org> | 2010-09-05 11:49:39 +0000 |
commit | 54b5746f0b7a52977e63bddb20b17f07864340a4 (patch) | |
tree | 1ff0649330cc40e05f22a88dca7e351ca5e75eb0 /media-sound/banshee | |
parent | Stable on amd64 wrt bug #334739 (diff) | |
download | gentoo-2-54b5746f0b7a52977e63bddb20b17f07864340a4.tar.gz gentoo-2-54b5746f0b7a52977e63bddb20b17f07864340a4.tar.bz2 gentoo-2-54b5746f0b7a52977e63bddb20b17f07864340a4.zip |
Bump to 1.7.5. Bunch of fixes and feature additions. Not dropping HAL support till gio/udev-backend deps are more mature. Switched to libgpod-sharp based iPod backend.
(Portage version: 2.2_rc74/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/banshee')
-rw-r--r-- | media-sound/banshee/ChangeLog | 10 | ||||
-rw-r--r-- | media-sound/banshee/banshee-1.7.5.ebuild | 160 | ||||
-rw-r--r-- | media-sound/banshee/files/banshee-1.7.5-fix-collisions.patch | 14 |
3 files changed, 183 insertions, 1 deletions
diff --git a/media-sound/banshee/ChangeLog b/media-sound/banshee/ChangeLog index 1c6418642c32..e9baea248fc1 100644 --- a/media-sound/banshee/ChangeLog +++ b/media-sound/banshee/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for media-sound/banshee # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/banshee/ChangeLog,v 1.119 2010/09/05 09:49:14 ford_prefect Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/banshee/ChangeLog,v 1.120 2010/09/05 11:49:39 ford_prefect Exp $ + +*banshee-1.7.5 (05 Sep 2010) + + 05 Sep 2010; Arun Raghavan <ford_prefect@gentoo.org> + +banshee-1.7.5.ebuild, +files/banshee-1.7.5-fix-collisions.patch: + Bump to 1.7.5. Bunch of fixes and feature additions. Not dropping HAL + support till gio/udev-backend deps are more mature. Switched to + libgpod-sharp based iPod backend. 05 Sep 2010; Arun Raghavan <ford_prefect@gentoo.org> banshee-1.7.4.ebuild: Fix SRC_URI for unstable versions diff --git a/media-sound/banshee/banshee-1.7.5.ebuild b/media-sound/banshee/banshee-1.7.5.ebuild new file mode 100644 index 000000000000..87a38e82614c --- /dev/null +++ b/media-sound/banshee/banshee-1.7.5.ebuild @@ -0,0 +1,160 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/banshee/banshee-1.7.5.ebuild,v 1.1 2010/09/05 11:49:39 ford_prefect Exp $ + +EAPI=2 + +inherit eutils autotools mono gnome2-utils fdo-mime versionator + +GVER=0.10.7 + +DESCRIPTION="Import, organize, play, and share your music using a simple and powerful interface." +HOMEPAGE="http://banshee-project.org" + +#BANSHEE_V2=$(get_version_component_range 2) +#[[ $((${BANSHEE_V2} % 2)) -eq 0 ]] && RELTYPE=stable || RELTYPE=unstable +#SRC_URI="http://download.banshee-project.org/${PN}/${RELTYPE}/${PV}/${PN}-1-${PV}.tar.bz2" +SRC_URI="http://download.banshee-project.org/${PN}/unstable/${PV}/${PN}-1-${PV}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+aac +cdda boo daap doc +encode ipod karma mtp podcast test web youtube" + +# Hal is required until upstream bug 612616 is solved +RDEPEND=">=dev-lang/mono-2.4.3 + gnome-base/gnome-settings-daemon + x11-themes/gnome-icon-theme + sys-apps/dbus + sys-apps/hal + >=dev-dotnet/gtk-sharp-2.12 + >=dev-dotnet/gconf-sharp-2.24.0 + >=dev-dotnet/notify-sharp-0.4.0_pre20080912-r1 + >=media-libs/gstreamer-0.10.21-r3 + >=media-libs/gst-plugins-base-0.10.25.2 + >=media-libs/gst-plugins-bad-${GVER} + >=media-libs/gst-plugins-good-${GVER} + >=media-libs/gst-plugins-ugly-${GVER} + >=media-plugins/gst-plugins-meta-0.10-r2:0.10 + >=media-plugins/gst-plugins-gnomevfs-${GVER} + >=media-plugins/gst-plugins-gconf-${GVER} + cdda? ( + || ( + >=media-plugins/gst-plugins-cdparanoia-${GVER} + >=media-plugins/gst-plugins-cdio-${GVER} + ) + ) + media-libs/musicbrainz:1 + >=dev-dotnet/dbus-glib-sharp-0.4.1 + >=dev-dotnet/dbus-sharp-0.6.1a + >=dev-dotnet/mono-addins-0.4[gtk] + >=dev-dotnet/taglib-sharp-2.0.3.7 + >=dev-db/sqlite-3.4 + karma? ( >=media-libs/libkarma-0.1.0-r1 ) + aac? ( >=media-plugins/gst-plugins-faad-${GVER} ) + boo? ( + >=dev-lang/boo-0.8.1 + ) + daap? ( + >=dev-dotnet/mono-zeroconf-0.8.0-r1 + ) + doc? ( + virtual/monodoc + >=app-text/gnome-doc-utils-0.17.3 + ) + encode? ( + >=media-plugins/gst-plugins-lame-${GVER} + >=media-plugins/gst-plugins-taglib-${GVER} + ) + ipod? ( + >=media-libs/libgpod-0.7.94[mono] + ) + mtp? ( + >=media-libs/libmtp-0.3.0 + ) + web? ( + >=net-libs/webkit-gtk-1.2.2 + >=net-libs/libsoup-2.26:2.4 + >=net-libs/libsoup-gnome-2.26:2.4 + ) + youtube? ( + >=dev-dotnet/google-gdata-sharp-1.4 + )" + +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +DOCS="AUTHORS ChangeLog HACKING NEWS README" + +S=${WORKDIR}/${PN}-1-${PV} + +src_prepare () { + # Fix intltool b0rkage similar to + # https://bugzilla.gnome.org/show_bug.cgi?id=577133 + sed "s:'\^\$\$lang\$\$':\^\$\$lang\$\$:g" -i po/Makefile.in.in \ + || die "sed failed" + + epatch "${FILESDIR}/${PN}-1.7.4-make-webkit-optional.patch" + epatch "${FILESDIR}/${P}-fix-collisions.patch" + AT_M4DIR="-I build/m4/banshee -I build/m4/shamrock -I build/m4/shave" \ + eautoreconf +} + +src_configure() { + # Disable gio till gtk-sharp-beans and gio-sharp are in-tree + # Disable gio-hardware till gudev-sharp and gkeyfile-sharp are around + # for a bit longer (when these are in, we can drop HAL) + # Ditto gst-sharp + local myconf="--disable-dependency-tracking --disable-static + --enable-gnome --enable-schemas-install + --with-gconf-schema-file-dir=/etc/gconf/schemas + --with-vendor-build-id=Gentoo/${PN}/${PVR} + --enable-gapless-playback + --disable-gio --disable-gst-sharp + --disable-gio_hardware --enable-hal + --disable-torrent + --disable-shave" + + econf \ + $(use_enable doc docs) \ + $(use_enable doc user-help) \ + $(use_enable boo) \ + $(use_enable mtp) \ + $(use_enable daap) \ + $(use_enable ipod appledevice) --disable-ipod \ + $(use_enable podcast) \ + $(use_enable karma) \ + $(use_enable web webkit) \ + $(use_enable youtube) \ + ${myconf} +} + +src_compile() { + emake MCS=/usr/bin/gmcs +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install efailed" + find "${D}" -name '*.la' -delete +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + ewarn + ewarn "If ${PN} doesn't play some format, please check your" + ewarn "USE flags on media-plugins/gst-plugins-meta" + ewarn + + 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/files/banshee-1.7.5-fix-collisions.patch b/media-sound/banshee/files/banshee-1.7.5-fix-collisions.patch new file mode 100644 index 000000000000..fdfd478dd2a5 --- /dev/null +++ b/media-sound/banshee/files/banshee-1.7.5-fix-collisions.patch @@ -0,0 +1,14 @@ +diff -urNp banshee-1-1.7.4.orig/data/desktop-files/Makefile.am banshee-1-1.7.4/data/desktop-files/Makefile.am +--- banshee-1-1.7.4.orig/data/desktop-files/Makefile.am 2010-08-29 12:47:14.119617115 +0530 ++++ banshee-1-1.7.4/data/desktop-files/Makefile.am 2010-08-29 12:56:42.166617090 +0530 +@@ -16,8 +16,8 @@ endif + + @INTLTOOL_DESKTOP_RULE@ + +-install-data-hook: +- test "$(top_srcdir)" = "$(top_builddir)" && update-desktop-database $(DESTDIR)$(datadir)/applications || : ++#install-data-hook: ++# test "$(top_srcdir)" = "$(top_builddir)" && update-desktop-database $(DESTDIR)$(datadir)/applications || : + + EXTRA_DIST = \ + $(desktop_in_files) \ |