summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2016-08-19 08:37:43 +0200
committerJeroen Roovers <jer@gentoo.org>2016-08-19 08:38:35 +0200
commit8ef6aaf69ff1bc21e8b0335cfe9baa312ca95bc9 (patch)
tree32c4f59cf5b6a24aed12a66f2aa0ebe1f38fa4b8 /app-cdr/cuecue/cuecue-0.2.2-r2.ebuild
parentdev-ruby/ascii85: add ruby23 (diff)
downloadgentoo-8ef6aaf69ff1bc21e8b0335cfe9baa312ca95bc9.tar.gz
gentoo-8ef6aaf69ff1bc21e8b0335cfe9baa312ca95bc9.tar.bz2
gentoo-8ef6aaf69ff1bc21e8b0335cfe9baa312ca95bc9.zip
app-cdr/cuecue: Fix build issues.
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-cdr/cuecue/cuecue-0.2.2-r2.ebuild')
-rw-r--r--app-cdr/cuecue/cuecue-0.2.2-r2.ebuild53
1 files changed, 53 insertions, 0 deletions
diff --git a/app-cdr/cuecue/cuecue-0.2.2-r2.ebuild b/app-cdr/cuecue/cuecue-0.2.2-r2.ebuild
new file mode 100644
index 00000000000..9cf77894505
--- /dev/null
+++ b/app-cdr/cuecue/cuecue-0.2.2-r2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit flag-o-matic
+
+DESCRIPTION="Cuecue converts .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="
+ flac? ( media-libs/flac )
+ mp3? ( media-libs/libmad )
+ vorbis? ( media-libs/libvorbis media-libs/libogg )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-flac113.diff # bug 157706
+ "${FILESDIR}"/${P}-namespace.patch
+ "${FILESDIR}"/${P}-unused.patch
+)
+DOCS="CHANGES README TODO"
+
+src_configure() {
+ econf \
+ $(use_enable flac) \
+ $(use_enable mp3) \
+ $(use_enable vorbis ogg) \
+ --disable-dependency-tracking \
+ --disable-libFLACtest \
+ --disable-oggtest \
+ --disable-vorbistest
+}
+
+src_compile() {
+ emake CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ default
+
+ insinto /usr/include
+ doins src/libcuecue/cuecue.h
+}