diff options
-rw-r--r-- | gnustep-apps/cdplayer/ChangeLog | 7 | ||||
-rw-r--r-- | gnustep-apps/cdplayer/cdplayer-0.5.1.ebuild | 50 |
2 files changed, 56 insertions, 1 deletions
diff --git a/gnustep-apps/cdplayer/ChangeLog b/gnustep-apps/cdplayer/ChangeLog index afaf1870ebf3..fc5406e90179 100644 --- a/gnustep-apps/cdplayer/ChangeLog +++ b/gnustep-apps/cdplayer/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for gnustep-apps/cdplayer # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnustep-apps/cdplayer/ChangeLog,v 1.2 2011/04/20 15:35:43 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnustep-apps/cdplayer/ChangeLog,v 1.3 2011/06/28 15:40:38 voyageur Exp $ + +*cdplayer-0.5.1 (28 Jun 2011) + + 28 Jun 2011; Bernard Cafarelli <voyageur@gentoo.org> +cdplayer-0.5.1.ebuild: + Version bump *cdplayer-0.5-r1 (20 Apr 2011) diff --git a/gnustep-apps/cdplayer/cdplayer-0.5.1.ebuild b/gnustep-apps/cdplayer/cdplayer-0.5.1.ebuild new file mode 100644 index 000000000000..db4af3747c03 --- /dev/null +++ b/gnustep-apps/cdplayer/cdplayer-0.5.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnustep-apps/cdplayer/cdplayer-0.5.1.ebuild,v 1.1 2011/06/28 15:40:38 voyageur Exp $ + +EAPI=4 +inherit gnustep-2 + +S=${WORKDIR}/CDPlayer-${PV} + +DESCRIPTION="Small CD Audio Player for GNUstep" +HOMEPAGE="http://gsburn.sf.net" +SRC_URI="mirror://sourceforge/gsburn/${P}.tar.bz2" + +KEYWORDS="~amd64 ~x86" +LICENSE="GPL-2" +SLOT="0" + +IUSE="preferences +systempreferences" +DEPEND=">=media-libs/libcdaudio-0.7 + preferences? ( gnustep-apps/preferences ) + systempreferences? ( gnustep-apps/systempreferences ) + gnustep-libs/cddb" +RDEPEND="${DEPEND}" + +cdplayer_preferences() { + # SystemPreferences over Preferences + if use systempreferences; then + echo "prefs=sysprefs" + elif use preferences; then + echo "" + else + echo "prefs=no" + fi +} + +src_compile() { + egnustep_env + egnustep_make $(cdplayer_preferences) || die "make failed" +} + +src_install() { + egnustep_env + egnustep_install $(cdplayer_preferences) || die "install failed" + egnustep_install_config +} + +gnustep_config_script() { + echo "echo ' * Setting AudioCD device to /dev/cdrom'" + echo "defaults write AudioCD Devices '(/dev/cdrom)'" +} |