From: David ‘Bombe’ Roden Date: Sat, 9 Apr 2011 20:10:19 +0000 (+0200) Subject: Add songbird 1.9.3. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;ds=inline;p=overlay.git Add songbird 1.9.3. --- diff --git a/media-sound/songbird/Manifest b/media-sound/songbird/Manifest new file mode 100644 index 0000000..ecceb78 --- /dev/null +++ b/media-sound/songbird/Manifest @@ -0,0 +1,3 @@ +AUX songbird-1.2.0-symlink.patch 494 RMD160 75bbeecc622b4a35d9848043d38e4597f39f08f7 SHA1 d01799dcafed666c36064e2768835d6a8378d2c0 SHA256 25ea3e029882d933e779cb4515bca28d900a67a517a8b2a2f1e76338a1942e85 +DIST Songbird_1.9.3-1959_linux-i686.tar.gz 21289571 RMD160 0a971a0a381f35450e96a8db4d208ebf4dcf80b1 SHA1 2f55cb24f1b38388c48bd9b114adfd63c08f28ed SHA256 2f523b8633c4ee3888fd6367e2ee392cd0b0217834ce92dc0ad3f0b3580fc808 +EBUILD songbird-1.9.3.ebuild 3313 RMD160 3b327a1486fa51851575a583d53d52135050bcc3 SHA1 5faa6d11cd85ac883cf1f537a9005c9556e0a1d5 SHA256 b7b86d42b4f7db383ddb06027a814e5cc5278a321bd84ff00d273e863b702512 diff --git a/media-sound/songbird/files/songbird-1.2.0-symlink.patch b/media-sound/songbird/files/songbird-1.2.0-symlink.patch new file mode 100644 index 0000000..12b1985 --- /dev/null +++ b/media-sound/songbird/files/songbird-1.2.0-symlink.patch @@ -0,0 +1,17 @@ +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 +@@ -324,11 +324,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.9.3.ebuild b/media-sound/songbird/songbird-1.9.3.ebuild new file mode 100644 index 0000000..ee8781f --- /dev/null +++ b/media-sound/songbird/songbird-1.9.3.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils versionator + +MY_VER="1.9.3-1959" +MY_PN="Songbird" +S="${WORKDIR}/${MY_PN}" + +DESCRIPTION="Great, fast and free multimedia player, inspired by iTunes" +HOMEPAGE="http://songbirdnest.com/" +# arch dependent source - x86_64 is no longer supported +#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 ) " +# Only x86 version available now. +SRC_URI="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 + 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-libs/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" + # Remove bundled libs for x86, since they are duplicates, possibly + # conflicting. However, amd64 needs these included, since this is a 32-bit + # binary with 32-bit libraries. + #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-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." + echo +} +