blob: f6c3a25f513b5bb75e524fa1eeb79e7d2b8a204b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
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="https://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)"
}
|