summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2007-09-10 18:22:48 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2007-09-10 18:22:48 +0000
commit028d0cd26205f05978f39fae0155b52483d40410 (patch)
tree6d13b28e40e1aa0ec36fa82baf2f54aec9524814 /gnustep-apps/cynthiune/cynthiune-0.9.5-r1.ebuild
parentppc stable, bug #190104 (diff)
downloadgentoo-2-028d0cd26205f05978f39fae0155b52483d40410.tar.gz
gentoo-2-028d0cd26205f05978f39fae0155b52483d40410.tar.bz2
gentoo-2-028d0cd26205f05978f39fae0155b52483d40410.zip
Version bump from the GNUstep overlay
(Portage version: 2.1.3.9)
Diffstat (limited to 'gnustep-apps/cynthiune/cynthiune-0.9.5-r1.ebuild')
-rw-r--r--gnustep-apps/cynthiune/cynthiune-0.9.5-r1.ebuild67
1 files changed, 67 insertions, 0 deletions
diff --git a/gnustep-apps/cynthiune/cynthiune-0.9.5-r1.ebuild b/gnustep-apps/cynthiune/cynthiune-0.9.5-r1.ebuild
new file mode 100644
index 000000000000..b8b496a2020a
--- /dev/null
+++ b/gnustep-apps/cynthiune/cynthiune-0.9.5-r1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnustep-apps/cynthiune/cynthiune-0.9.5-r1.ebuild,v 1.1 2007/09/10 18:22:48 voyageur Exp $
+
+inherit gnustep-2
+
+S=${WORKDIR}/${P/c/C}
+
+DESCRIPTION="Free software and romantic music player for GNUstep."
+HOMEPAGE="http://organact.mine.nu/~wolfgang/cynthiune"
+SRC_URI="http://organact.mine.nu/~wolfgang/cynthiune/${P/c/C}.tar.gz"
+
+IUSE="arts esd flac mad modplug musepack timidity vorbis"
+
+KEYWORDS="~amd64 ~ppc ~x86"
+LICENSE="GPL-2"
+SLOT="0"
+
+DEPEND="media-libs/audiofile
+ media-libs/taglib
+ arts? ( kde-base/arts )
+ esd? ( media-sound/esound )
+ flac? ( media-libs/flac )
+ mad? ( media-libs/libid3tag
+ media-libs/libmad )
+ musepack? ( media-libs/libmpcdec )
+ modplug? ( media-libs/libmodplug )
+ timidity? ( media-sound/timidity++ )
+ vorbis? ( >=media-libs/libogg-1.1.2
+ >=media-libs/libvorbis-1.0.1-r2 )
+ media-libs/musicbrainz"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch "${FILESDIR}"/${P}-flac-1.1.3.patch
+ epatch "${FILESDIR}"/${P}-set-macro.patch
+ epatch "${FILESDIR}"/${P}-NSCellExtensions.patch
+ epatch "${FILESDIR}"/${P}-gnustep-make-2.patch
+}
+
+cynthiune_get_config() {
+ # Gentoo doesn't have libavi (any more)
+ local myconf="disable-windowsmedia=yes"
+ use arts || myconf="${myconf} disable-arts=yes"
+ use esd || myconf="${myconf} disable-esound=yes"
+ use flac || myconf="${myconf} disable-flac=yes"
+ use mad || myconf="${myconf} disable-mp3=yes"
+ use modplug || myconf="${myconf} disable-mod=yes"
+ use musepack || myconf="${myconf} disable-musepack=yes"
+ use timidity || myconf="${myconf} disable-timidity=yes"
+ use vorbis || myconf="${myconf} disable-ogg=yes"
+
+ echo ${myconf}
+}
+
+src_compile() {
+ egnustep_env
+ egnustep_make "$(cynthiune_get_config)" || die "make failed"
+}
+
+src_install() {
+ egnustep_env
+ egnustep_install "$(cynthiune_get_config)" || die
+}