diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2011-06-28 15:40:38 +0000 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2011-06-28 15:40:38 +0000 |
commit | cbc2da78fa8bff264346204830a1c95d018e1c01 (patch) | |
tree | 166e0a83ebcdc897b8201fddb175297a72060b1c /gnustep-apps/cdplayer/cdplayer-0.5.1.ebuild | |
parent | set TEXMFCNF so that texmf.cnf is found by kpathsea, bump to eapi3 (diff) | |
download | gentoo-2-cbc2da78fa8bff264346204830a1c95d018e1c01.tar.gz gentoo-2-cbc2da78fa8bff264346204830a1c95d018e1c01.tar.bz2 gentoo-2-cbc2da78fa8bff264346204830a1c95d018e1c01.zip |
Version bump
(Portage version: 2.2.0_alpha41/cvs/Linux x86_64)
Diffstat (limited to 'gnustep-apps/cdplayer/cdplayer-0.5.1.ebuild')
-rw-r--r-- | gnustep-apps/cdplayer/cdplayer-0.5.1.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
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)'" +} |