summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Briesenick <sbriesen@gentoo.org>2008-10-27 00:30:54 +0000
committerStefan Briesenick <sbriesen@gentoo.org>2008-10-27 00:30:54 +0000
commit5866dc944d20a2d10b9ae112abe385dec998a5d1 (patch)
treecf3a80905eed68464131cae57f87d79f4ae2a9aa /app-cdr
parentdistutils_src_install should call python_need_rebuild. (diff)
downloadhistorical-5866dc944d20a2d10b9ae112abe385dec998a5d1.tar.gz
historical-5866dc944d20a2d10b9ae112abe385dec998a5d1.tar.bz2
historical-5866dc944d20a2d10b9ae112abe385dec998a5d1.zip
added check/abort on no selected format via USE flags, solving bug #239954.
Package-Manager: portage-2.2_rc12/cvs/Linux 2.6.26-gentoo-r1 i686
Diffstat (limited to 'app-cdr')
-rw-r--r--app-cdr/cuecue/ChangeLog7
-rw-r--r--app-cdr/cuecue/Manifest4
-rw-r--r--app-cdr/cuecue/cuecue-0.2.2-r1.ebuild10
3 files changed, 17 insertions, 4 deletions
diff --git a/app-cdr/cuecue/ChangeLog b/app-cdr/cuecue/ChangeLog
index 0f12fdc09842..5364ee0c4f3d 100644
--- a/app-cdr/cuecue/ChangeLog
+++ b/app-cdr/cuecue/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-cdr/cuecue
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/cuecue/ChangeLog,v 1.7 2008/06/16 20:01:20 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cuecue/ChangeLog,v 1.8 2008/10/27 00:30:54 sbriesen Exp $
+
+ 27 Oct 2008; Stefan Briesenick <sbriesen@gentoo.org>
+ cuecue-0.2.2-r1.ebuild:
+ added check/abort on no selected format via USE flags, solving bug
+ #239954.
16 Jun 2008; Samuli Suominen <drac@gentoo.org> cuecue-0.2.2-r1.ebuild:
Don't modify (sed) configure* but instead pass CFLAGS to emake.
diff --git a/app-cdr/cuecue/Manifest b/app-cdr/cuecue/Manifest
index 522f25617b81..378b94f36cfe 100644
--- a/app-cdr/cuecue/Manifest
+++ b/app-cdr/cuecue/Manifest
@@ -1,5 +1,5 @@
AUX cuecue-0.2.2-flac113.diff 3659 RMD160 e87e57e37767659b582582217882aa88e60341ad SHA1 1ff60a0e65f0e93e5b4b58c915ff62295dedb8a4 SHA256 8c609312b0833a0c5a797c32b0bf80f4d2388733d754057e7c19075bdbfde436
DIST cuecue-0.2.2.tar.gz 97927 RMD160 a456c197f83cbd303f06922c6c3c7f7c40ce752b SHA1 761c81164cb1cc28abeb1309fdc066d857da51cd SHA256 dbab57f1df3e50d041ba8cad0ee0851c1aea97c4685f89fd1d3259b4b79f081f
-EBUILD cuecue-0.2.2-r1.ebuild 1176 RMD160 e97b38118c6db9919d6d952a7e2d184810d4cbf6 SHA1 13a65d0af60bfc0e0952bfadca1b619559dcb195 SHA256 dacda05e351bbb6b52bdfc07f242fa1cc3f149da12b97feb1f5f636c01d2321f
-MISC ChangeLog 1169 RMD160 c55c6b05595b595c1dd4361e21d09fe6b52a80cd SHA1 c5e6e369a4de6b2e62f41d72d35f5b19c5a177f9 SHA256 d3e606c1fde8b614b1caebd1f779bace902ddadfb208c4e3a84372d89b716734
+EBUILD cuecue-0.2.2-r1.ebuild 1349 RMD160 b75a0cf5dcefbf46fc624152a33a0885047842e4 SHA1 9b38d7c616d6abe651971b6241960697c5efa9bd SHA256 9ffe096f7d9a31aa402836bdceda3e4e06ad2f2c0badee59a0059c91f844f5b8
+MISC ChangeLog 1335 RMD160 62e66c8bdda38fa3c921d97b865dc01d2114eaf0 SHA1 bd5b393389df9efbf03b21663dc7f214789c188e SHA256 47fd844490ab70d6ababcc495eb3c0c6b29a54422fcf50b2cfa209eeeed40b29
MISC metadata.xml 478 RMD160 557844c9151ce0cf25df1e3c1bf734e2d01975e3 SHA1 7aa4f63178a6c831bb2e8fbf4629d36f45b97b68 SHA256 5a80387bc6e9c67456afef325cc236b8b5d81a8f37dca278b0e650e8581c7399
diff --git a/app-cdr/cuecue/cuecue-0.2.2-r1.ebuild b/app-cdr/cuecue/cuecue-0.2.2-r1.ebuild
index 0a07cb99daae..777637d75f10 100644
--- a/app-cdr/cuecue/cuecue-0.2.2-r1.ebuild
+++ b/app-cdr/cuecue/cuecue-0.2.2-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/cuecue/cuecue-0.2.2-r1.ebuild,v 1.3 2008/06/16 20:01:20 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cuecue/cuecue-0.2.2-r1.ebuild,v 1.4 2008/10/27 00:30:54 sbriesen Exp $
inherit eutils
@@ -17,6 +17,14 @@ DEPEND="mp3? ( media-libs/libmad )
flac? ( media-libs/flac )
vorbis? ( media-libs/libvorbis media-libs/libogg )"
+pkg_setup() {
+ for X in ${IUSE}; do
+ use ${X} && return 0
+ done
+ eerror "You must enable at least one of these USE flags: ${IUSE}"
+ die "no format, no compile! ;-)"
+}
+
src_unpack() {
unpack ${A}
cd "${S}"