summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/songbird')
-rw-r--r--media-sound/songbird/Manifest4
-rw-r--r--media-sound/songbird/files/songbird-1.1.1-symlink.patch25
-rw-r--r--media-sound/songbird/songbird-1.1.2.ebuild95
3 files changed, 124 insertions, 0 deletions
diff --git a/media-sound/songbird/Manifest b/media-sound/songbird/Manifest
new file mode 100644
index 0000000..891b520
--- /dev/null
+++ b/media-sound/songbird/Manifest
@@ -0,0 +1,4 @@
+AUX songbird-1.1.1-symlink.patch 665 RMD160 f9a274af3d0e32d2cf74b72ff0d513c54f781551 SHA1 359869085cff640027dc233a85b92da72204f55e SHA256 d1519a433bef6cbddc72b413f847ea41860bec7adaf569745fc791bfd567c01b
+DIST Songbird_1.1.2-1042_linux-i686.tar.gz 17349139 RMD160 810849bd944f27f742f00e4bc32e2022acaf2ddb SHA1 2d9e04afb1f0d7f11dafba4bd755aa482035aa75 SHA256 9967721edb029cdbd825511eceb13a5ae69fd077845948505907970aecad2793
+DIST Songbird_1.1.2-1042_linux-x86_64.tar.gz 18743760 RMD160 bfa87c9b4949afe709648f2af90cec43ac99fa6f SHA1 999fc2237d852cddce77e67a7298e80552b7d89d SHA256 b459f6b0652ee8078099b8f57a66a40b5be6466ea30ae30979f6d2e330874225
+EBUILD songbird-1.1.2.ebuild 2920 RMD160 99517e5fc78ab09d158d2d18814fef364a3f2fae SHA1 6bf952e058e8655e212b2be46233e3d69da83c28 SHA256 d64b269e7c7077739ddbc708e30f12c6b2cc235f74bd8f36f310af93d5ce4073
diff --git a/media-sound/songbird/files/songbird-1.1.1-symlink.patch b/media-sound/songbird/files/songbird-1.1.1-symlink.patch
new file mode 100644
index 0000000..570f6ad
--- /dev/null
+++ b/media-sound/songbird/files/songbird-1.1.1-symlink.patch
@@ -0,0 +1,25 @@
+diff -Naru o/Songbird/songbird n/Songbird/songbird
+--- Songbird/songbird 2009-03-09 23:03:30.000000000 +0100
++++ Songbird/songbird 2009-03-17 11:05:34.000000000 +0100
+@@ -310,6 +310,7 @@
+ elif [ -x "$MOZ_DIST_BIN/$MOZ_APPRUNNER_NAME" ]
+ then
+ MOZ_PROGRAM=$MOZ_DIST_BIN/$MOZ_APPRUNNER_NAME
++ else
+ ##
+ ## Try resolving symlinks
+ ##
+@@ -324,11 +325,11 @@
+ break
+ fi
+ curdir=`dirname "$progname"`
+- run_moz="$curdir/$MOZ_DEFAULT_NAME"
++ run_moz="$curdir/songbird-bin"
+ if [ -x "$run_moz" ]; then
+ cd "$curdir"
+ MOZ_DIST_BIN=`pwd`
+- MOZ_PROGRAM=$MOZ_DIST_BIN/$MOZ_DEFAULT_NAME
++ MOZ_PROGRAM=$MOZ_DIST_BIN/songbird-bin
+ break
+ fi
+ done
diff --git a/media-sound/songbird/songbird-1.1.2.ebuild b/media-sound/songbird/songbird-1.1.2.ebuild
new file mode 100644
index 0000000..fc2c42d
--- /dev/null
+++ b/media-sound/songbird/songbird-1.1.2.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils versionator
+
+MY_VER="1.1.2-1042"
+MY_PN="Songbird"
+S="${WORKDIR}/${MY_PN}"
+
+DESCRIPTION="A multimedia player, inspired by iTunes"
+HOMEPAGE="http://www.songbirdnest.com/"
+SRC_URI="amd64? ( http://download.songbirdnest.com/installer/linux/x86_64/${MY_PN}_${MY_VER}_linux-x86_64.tar.gz )
+ x86? ( http://download.songbirdnest.com/installer/linux/i686/${MY_PN}_${MY_VER}_linux-i686.tar.gz ) "
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="alsa oss esd ogg flac faac faad musepack ugly theora speex ffmpeg gnome jpeg"
+RESTRICT="strip"
+RDEPEND="${DEPEND}
+ alsa? ( media-plugins/gst-plugins-alsa )
+ oss? ( media-plugins/gst-plugins-oss )
+ esd? ( media-plugins/gst-plugins-esd )
+ ogg? ( media-plugins/gst-plugins-ogg
+ media-plugins/gst-plugins-vorbis )
+ gnome? ( media-plugins/gst-plugins-gconf
+ media-plugins/gst-plugins-gnomevfs )
+ flac? ( media-plugins/gst-plugins-flac )
+ faac? ( media-plugins/gst-plugins-faac )
+ faad? ( media-plugins/gst-plugins-faad )
+ ugly? ( media-libs/gst-plugins-ugly )
+ musepack? ( media-plugins/gst-plugins-musepack )
+ theora? ( media-plugins/gst-plugins-theora )
+ speex? ( media-plugins/gst-plugins-speex )
+ ffmpeg? ( media-plugins/gst-plugins-ffmpeg )
+ jpeg? ( media-plugins/gst-plugins-jpeg )"
+DEPEND="${RDEPEND}
+ x11-libs/libXdmcp
+ x11-libs/libXau
+ x11-libs/libXfixes
+ x11-libs/libXcursor
+ x11-libs/libXrandr
+ x11-libs/libXi
+ x11-libs/libXrender
+ x11-libs/libXext
+ x11-libs/libX11
+ x11-libs/libXft
+ dev-libs/liboil
+ media-libs/gstreamer
+ media-libs/gst-plugins-base
+ media-plugins/gst-plugins-x
+ media-plugins/gst-plugins-xvideo
+ media-plugins/gst-plugins-lame
+ media-plugins/gst-plugins-mpeg2dec
+ media-plugins/gst-plugins-mad
+ >=net-misc/neon-0.26.4
+ media-plugins/gst-plugins-neon
+ >=sys-libs/glibc-2.3.2
+ >=x11-libs/gtk+-2.0.0
+ x11-libs/pango"
+
+src_unpack() {
+ unpack ${A}
+ epatch "${FILESDIR}/${PN}-1.1.1-symlink.patch"
+}
+
+src_install() {
+ insinto /opt/songbird
+ doins -r *
+ fperms 755 /opt/songbird/songbird
+ fperms 755 /opt/songbird/songbird-bin
+ dosym /opt/songbird/songbird /opt/bin/songbird-bin
+
+ newicon "${S}"/chrome/icons/default/default.xpm ${PN}.xpm
+ make_desktop_entry ${PN} ${PN} ${PN}.xpm "AudioVideo;Player"
+}
+
+pkg_postinst() {
+ echo
+ ewarn "Songbird is still under development!"
+ ewarn "This ebuild is not supported by Gentoo, so"
+ ewarn "please do not send any bugs at Gentoo's bugzilla."
+ einfo "If you need help, find it there:"
+ einfo "http://tnij.org/songbird-community"
+ einfo "or"
+ einfo "http://tnij.org/songbird-at-fgo"
+ einfo ""
+ einfo "If You need other music/video plugins, look at"
+ einfo "Your portage tree into media-plugins/gst-plugins-*,"
+ einfo "but remember, that not all plugins are supported yet."
+ einfo ""
+ einfo "If You don't want too much deps on it package,"
+ einfo "disable gnome support"
+ echo
+}