diff options
Diffstat (limited to 'gnustep-apps/cynthiune/cynthiune-1.0.0.ebuild')
-rw-r--r-- | gnustep-apps/cynthiune/cynthiune-1.0.0.ebuild | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/gnustep-apps/cynthiune/cynthiune-1.0.0.ebuild b/gnustep-apps/cynthiune/cynthiune-1.0.0.ebuild new file mode 100644 index 000000000000..d4cd11e97e93 --- /dev/null +++ b/gnustep-apps/cynthiune/cynthiune-1.0.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnustep-apps/cynthiune/cynthiune-1.0.0.ebuild,v 1.1 2013/04/04 18:34:43 voyageur Exp $ + +EAPI=5 +inherit gnustep-2 + +MY_P=${P/c/C} +DESCRIPTION="Free software and romantic music player for GNUstep" +HOMEPAGE="http://gap.nongnu.org/cynthiune/" +SRC_URI="http://savannah.nongnu.org/download/gap/${MY_P}.tar.gz" + +KEYWORDS="~amd64 ~ppc ~x86" +LICENSE="GPL-2" +SLOT="0" + +IUSE="alsa ao flac mad modplug musepack oss timidity vorbis" + +# musicbrainz disabled upstream for now +RDEPEND="media-libs/audiofile + media-libs/taglib + alsa? ( media-libs/alsa-lib ) + ao? ( media-libs/libao ) + flac? ( media-libs/flac ) + mad? ( media-libs/libid3tag + media-libs/libmad ) + musepack? ( >=media-sound/musepack-tools-444 ) + modplug? ( media-libs/libmodplug ) + timidity? ( media-sound/timidity++ ) + vorbis? ( >=media-libs/libogg-1.1.2 + >=media-libs/libvorbis-1.0.1-r2 )" +DEPEND="${RDEPEND} + mad? ( virtual/pkgconfig )" + +S=${WORKDIR}/${MY_P} + +cynthiune_get_config() { + local myconf="disable-windowsmedia=yes disable-esound=yes" + use alsa || myconf="${myconf} disable-alsa=yes" + use ao || myconf="${myconf} disable-ao=yes" + use flac || myconf="${myconf} disable-flac=yes disable-flactags=yes" + use mad || myconf="${myconf} disable-mp3=yes disable-id3tag=yes" + use modplug || myconf="${myconf} disable-mod=yes" + use musepack || myconf="${myconf} disable-musepack=yes" + use oss || myconf="${myconf} disable-oss=yes" + use timidity || myconf="${myconf} disable-timidity=yes" + use vorbis || myconf="${myconf} disable-ogg=yes disable-vorbistags=yes" + + echo ${myconf} +} + +src_compile() { + egnustep_env + egnustep_make "$(cynthiune_get_config)" +} + +src_install() { + egnustep_env + egnustep_install "$(cynthiune_get_config)" +} |