Add media-sound/songbird-bin-1.4.0.1303-beta3-r1.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 22 Dec 2009 14:58:00 +0000 (15:58 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 22 Dec 2009 14:58:00 +0000 (15:58 +0100)
media-sound/songbird-bin/Manifest [new file with mode: 0644]
media-sound/songbird-bin/songbird-bin-1.4.0.1303_beta3-r1.ebuild [new file with mode: 0644]

diff --git a/media-sound/songbird-bin/Manifest b/media-sound/songbird-bin/Manifest
new file mode 100644 (file)
index 0000000..9ef29b2
--- /dev/null
@@ -0,0 +1,3 @@
+DIST Songbird_1.4.0b3-1303_linux-i686.tar.gz 17794239 RMD160 de3ffae5db6305f1c6c3198b40c824fa8f69d97e SHA1 ab1213fd16421d70e26e067f93cf7b8af855785c SHA256 8bda4dd89a49995240bb16c7da0b4da5299284c2aaa92b98d7c91240d3bd096d
+DIST Songbird_1.4.0b3-1303_linux-x86_64.tar.gz 19105821 RMD160 a674ca3feb8ca906b38e1c5709462d4323a5524b SHA1 66c23840253f4ed8a58f633ee6b55b8b579d6c29 SHA256 6e565d6bc680d9b84bdb6d4eec4aedff0d56025229f64bdce219aff282ecd7b7
+EBUILD songbird-bin-1.4.0.1303_beta3-r1.ebuild 3099 RMD160 0bbdfe91bcf078f4e5c779be8d1b003785418f05 SHA1 d178c47aea8b21a6991953742549327baeb115c9 SHA256 11a0ea7f04600dc662846d212cf8a37b2e720e5a5979c91797b9141c2c11c279
diff --git a/media-sound/songbird-bin/songbird-bin-1.4.0.1303_beta3-r1.ebuild b/media-sound/songbird-bin/songbird-bin-1.4.0.1303_beta3-r1.ebuild
new file mode 100644 (file)
index 0000000..fbd67c2
--- /dev/null
@@ -0,0 +1,100 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils versionator
+
+#MY_VER="1.4.0b3-1303"
+MY_PN="Songbird"
+S="${WORKDIR}/${MY_PN}"
+
+DESCRIPTION="Beta version of multimedia player, inspired by iTunes"
+HOMEPAGE="http://www.songbirdnest.com/"
+SRC_URI="amd64? ( http://download.songbirdnest.com/installer/linux/x86_64/${MY_PN}_1.4.0b3-1303_linux-x86_64.tar.gz  )
+       x86? ( http://download.songbirdnest.com/installer/linux/i686/${MY_PN}_1.4.0b3-1303_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
+       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/libXft
+       x11-libs/pango"
+
+src_unpack() {
+       unpack ${A}
+       epatch "${FILESDIR}/${PN}-1.2.0-symlink.patch"
+}
+
+src_install() {
+       einfo "unbundling gst, theora and vorbis libs"
+       find lib \( \
+               -name "libgst*" -o -name "libtheora*" -o \
+               -name "libvorbis*" -o -name "libogg*" -o -name "libFLAC*" \) \
+               -exec rm -v \{\} \; || die
+       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 "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 here:"
+       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
+}
+