diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2008-11-03 12:17:17 +0000 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2008-11-03 12:17:17 +0000 |
commit | 980229b8e5d621ab3c60123bc649ab21a4dc13e2 (patch) | |
tree | a3edd9a714e1745c825ad062f03ac7b92482cb50 /gnustep-apps/cdplayer | |
parent | Initial commit, from gnustep overlay (diff) | |
download | gentoo-2-980229b8e5d621ab3c60123bc649ab21a4dc13e2.tar.gz gentoo-2-980229b8e5d621ab3c60123bc649ab21a4dc13e2.tar.bz2 gentoo-2-980229b8e5d621ab3c60123bc649ab21a4dc13e2.zip |
Initial commit, from gnustep overlay
(Portage version: 2.2_rc13/cvs/Linux 2.6.26-gentoo x86_64)
Diffstat (limited to 'gnustep-apps/cdplayer')
-rw-r--r-- | gnustep-apps/cdplayer/ChangeLog | 10 | ||||
-rw-r--r-- | gnustep-apps/cdplayer/cdplayer-0.5.ebuild | 50 | ||||
-rw-r--r-- | gnustep-apps/cdplayer/metadata.xml | 10 |
3 files changed, 70 insertions, 0 deletions
diff --git a/gnustep-apps/cdplayer/ChangeLog b/gnustep-apps/cdplayer/ChangeLog new file mode 100644 index 000000000000..08e12970fae1 --- /dev/null +++ b/gnustep-apps/cdplayer/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for gnustep-apps/cdplayer +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/gnustep-apps/cdplayer/ChangeLog,v 1.1 2008/11/03 12:17:17 voyageur Exp $ + +*cdplayer-0.5 (03 Nov 2008) + + 03 Nov 2008; Bernard Cafarelli <voyageur@gentoo.org> +metadata.xml, + +cdplayer-0.5.ebuild: + Initial commit, from gnustep overlay + diff --git a/gnustep-apps/cdplayer/cdplayer-0.5.ebuild b/gnustep-apps/cdplayer/cdplayer-0.5.ebuild new file mode 100644 index 000000000000..4f58b20e7064 --- /dev/null +++ b/gnustep-apps/cdplayer/cdplayer-0.5.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnustep-apps/cdplayer/cdplayer-0.5.ebuild,v 1.1 2008/11/03 12:17:17 voyageur Exp $ + +EAPI=1 +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)'" +} diff --git a/gnustep-apps/cdplayer/metadata.xml b/gnustep-apps/cdplayer/metadata.xml new file mode 100644 index 000000000000..bfe5baf5e650 --- /dev/null +++ b/gnustep-apps/cdplayer/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>gnustep</herd> + <longdescription>Small CD Audio Player for GNUstep</longdescription> + <use> + <flag name='preferences'>Use <pkg>gnustep-apps/preferences</pkg> for preferences setting</flag> + <flag name='systempreferences'>Use <pkg>gnustep-apps/systempreferences</pkg> for preferences setting</flag> + </use> +</pkgmetadata> |