summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Ramsay <lack@gentoo.org>2007-01-31 00:12:12 +0000
committerJim Ramsay <lack@gentoo.org>2007-01-31 00:12:12 +0000
commitceb50997229d153c9f5262b71be51bb1ad2009aa (patch)
treeeeb60507daf3ed2076f2c98c537274c0ea8a71f4 /rox-extra/musicbox
parentApply xprop/gtk d'n'd patch; thanks to Roland Kammerer. (bug #164429) (diff)
downloadhistorical-ceb50997229d153c9f5262b71be51bb1ad2009aa.tar.gz
historical-ceb50997229d153c9f5262b71be51bb1ad2009aa.tar.bz2
historical-ceb50997229d153c9f5262b71be51bb1ad2009aa.zip
Added APPCATEGORY so a .desktop file will be installed
Package-Manager: portage-2.1.2-r4
Diffstat (limited to 'rox-extra/musicbox')
-rw-r--r--rox-extra/musicbox/ChangeLog9
-rw-r--r--rox-extra/musicbox/files/digest-musicbox-027-r13
-rw-r--r--rox-extra/musicbox/musicbox-027-r1.ebuild63
3 files changed, 73 insertions, 2 deletions
diff --git a/rox-extra/musicbox/ChangeLog b/rox-extra/musicbox/ChangeLog
index c106e79f5fcc..2b9ed584b8bb 100644
--- a/rox-extra/musicbox/ChangeLog
+++ b/rox-extra/musicbox/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for rox-extra/musicbox
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/rox-extra/musicbox/ChangeLog,v 1.6 2006/11/20 18:25:57 opfer Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/rox-extra/musicbox/ChangeLog,v 1.7 2007/01/31 00:10:58 lack Exp $
+
+*musicbox-027-r1 (31 Jan 2007)
+
+ 31 Jan 2007; Jim Ramsay <lack@gentoo.org> +musicbox-027-r1.ebuild:
+ Added APPCATEGORY so a .desktop file will be installed
20 Nov 2006; Christian Faulhammer <opfer@gentoo.org> musicbox-027.ebuild:
stable x86, bug #155521
diff --git a/rox-extra/musicbox/files/digest-musicbox-027-r1 b/rox-extra/musicbox/files/digest-musicbox-027-r1
new file mode 100644
index 000000000000..b79e1e22ebf5
--- /dev/null
+++ b/rox-extra/musicbox/files/digest-musicbox-027-r1
@@ -0,0 +1,3 @@
+MD5 ebeeab6c35362856314138a6e3638de8 MusicBox-027.tgz 110634
+RMD160 c6cfbc09b0fbdafd3677f6de391bd20878e5d330 MusicBox-027.tgz 110634
+SHA256 a1a4897ec42f10cfcaaf59990212fe68a83744d5938473d0e560b6c608fd0015 MusicBox-027.tgz 110634
diff --git a/rox-extra/musicbox/musicbox-027-r1.ebuild b/rox-extra/musicbox/musicbox-027-r1.ebuild
new file mode 100644
index 000000000000..9d77e04e6edd
--- /dev/null
+++ b/rox-extra/musicbox/musicbox-027-r1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/rox-extra/musicbox/musicbox-027-r1.ebuild,v 1.1 2007/01/31 00:10:58 lack Exp $
+
+ROX_LIB_VER=2.0.0
+inherit rox eutils
+
+DESCRIPTION="MusicBox - an MP3/OGG Player for the ROX Desktop"
+HOMEPAGE="http://www.hayber.us/rox/MusicBox/"
+SRC_URI="http://www.hayber.us/rox/musicbox/MusicBox-027.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="mp3 vorbis flac alsa"
+
+DEPEND="
+ >=dev-python/pyao-0.81
+ alsa? ( >=dev-python/pyalsaaudio-0.2 )
+ mp3? (
+ >=dev-python/pymad-0.4.1
+ >=dev-python/pyid3lib-0.5.1 )
+ vorbis? ( >=dev-python/pyvorbis-1.1 )
+ flac? (
+ ~media-libs/flac-1.1.2
+ >=dev-lang/swig-1.3.25 )"
+
+RDEPEND="
+ >=dev-python/pyao-0.81
+ alsa? ( >=dev-python/pyalsaaudio-0.2 )
+ mp3? (
+ >=dev-python/pymad-0.4.1
+ >=dev-python/pyid3lib-0.5.1 )
+ vorbis? ( >=dev-python/pyvorbis-1.1 )
+ flac? ( >=media-libs/flac-1.1.2 )"
+
+APPNAME=MusicBox
+APPCATEGORY="AudioVideo;Audio;Player"
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ if use flac; then
+ if ! built_with_use dev-lang/swig python; then
+ einfo "MusicBox flac support requires swig with python support."
+ einfo "Please rebuild swig with USE=\"python\"."
+ die "swig python support missing"
+ fi
+ epatch ${FILESDIR}/${P}-fPIC.patch
+ fi
+ epatch ${FILESDIR}/${P}-mime.patch
+}
+
+# Special compilation needed for flac support
+src_compile() {
+ if use flac; then
+ cd "${S}/${APPNAME}/plugins/flac"
+ make || die "flac plugin compile failed."
+ fi
+ rox_src_compile
+}
+