forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cuecue-0.2.2-r1.ebuild
49 lines (40 loc) · 1.12 KB
/
cuecue-0.2.2-r1.ebuild
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
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=4
inherit base eutils flag-o-matic
DESCRIPTION="Cuecue is a suite to convert .cue + [.ogg|.flac|.wav|.mp3] to .cue + .bin"
HOMEPAGE="http://cuecue.berlios.de/"
#SRC_URI="mirror://berlios/cuecue/${P}.tar.gz"
SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
# Enable one use flag by default, bug 254745"
IUSE="flac mp3 +vorbis"
REQUIRED_USE="|| ( flac mp3 vorbis )"
DEPEND="mp3? ( media-libs/libmad )
flac? ( media-libs/flac )
vorbis? ( media-libs/libvorbis media-libs/libogg )"
PATCHES=( "${FILESDIR}/${P}-flac113.diff" ) # bug 157706
DOCS="CHANGES README TODO"
src_configure() {
econf \
--disable-dependency-tracking \
$(use_enable mp3) \
$(use_enable vorbis ogg) \
--disable-oggtest \
--disable-vorbistest \
$(use_enable flac) \
--disable-libFLACtest
}
src_compile() {
# fixes portage QA notice
append-flags "-ansi -pedantic"
emake CFLAGS="${CFLAGS}"
}
src_install () {
default
insinto /usr/include
doins src/libcuecue/cuecue.h || die "doins failed."
}