summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-08-15 15:14:53 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-08-15 15:14:53 +0000
commitbf4a01b30c89738bc946e9ec1c0220062b04b9df (patch)
tree7ac21fb408c66a6ee50db49cdb28c29a54990587 /media-sound/qmbtagger
parentadd HPUX support for gen_usr_ldscript from Prefix (diff)
downloadgentoo-2-bf4a01b30c89738bc946e9ec1c0220062b04b9df.tar.gz
gentoo-2-bf4a01b30c89738bc946e9ec1c0220062b04b9df.tar.bz2
gentoo-2-bf4a01b30c89738bc946e9ec1c0220062b04b9df.zip
built_with_use
(Portage version: 2.2_rc38/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/qmbtagger')
-rw-r--r--media-sound/qmbtagger/qmbtagger-0.07.ebuild38
1 files changed, 14 insertions, 24 deletions
diff --git a/media-sound/qmbtagger/qmbtagger-0.07.ebuild b/media-sound/qmbtagger/qmbtagger-0.07.ebuild
index 6c7a00d7c615..e5a99faa1eb9 100644
--- a/media-sound/qmbtagger/qmbtagger-0.07.ebuild
+++ b/media-sound/qmbtagger/qmbtagger-0.07.ebuild
@@ -1,7 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/qmbtagger/qmbtagger-0.07.ebuild,v 1.15 2008/08/06 22:43:36 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/qmbtagger/qmbtagger-0.07.ebuild,v 1.16 2009/08/15 15:14:53 ssuominen Exp $
+EAPI=2
inherit eutils kde-functions
DESCRIPTION="Qt based front-end for the MusicBrainz Client Library"
@@ -15,44 +16,33 @@ KEYWORDS="amd64 ~ppc x86"
IUSE="debug"
RDEPEND="=x11-libs/qt-3*
- media-libs/flac
+ media-libs/flac[cxx]
media-libs/id3lib
=media-libs/musicbrainz-2*
media-libs/libmad
media-libs/libogg
media-libs/libvorbis"
-
DEPEND="${RDEPEND}
=sys-devel/automake-1.9*
>=sys-devel/autoconf-2.50"
-pkg_setup() {
- if ! built_with_use --missing true media-libs/flac cxx; then
- eerror "To build ${PN} you need the C++ bindings for flac."
- eerror "Please enable the cxx USE flag for media-libs/flac"
- die "Missing FLAC C++ bindings."
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}/${P}-errno.patch"
- epatch "${FILESDIR}/${P}+flac-1.1.3.patch"
- epatch "${FILESDIR}/${P}-gcc-4.3.patch"
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-errno.patch
+ epatch "${FILESDIR}"/${P}+flac-1.1.3.patch
+ epatch "${FILESDIR}"/${P}-gcc-4.3.patch
- rm -rf "${S}/admin"
- ln -s "${WORKDIR}/admin" "${S}/admin"
+ rm -rf "${S}"/admin
+ ln -s "${WORKDIR}"/admin "${S}"/admin
- emake -j1 -f admin/Makefile.common || die "code setup failed"
+ emake -j1 -f admin/Makefile.common || die "emake failed"
}
-src_compile() {
- econf $(use_enable debug debug full) || die "configure failed"
- emake || die "make failed"
+src_configure() {
+ econf \
+ $(use_enable debug debug full)
}
src_install () {
- emake -j1 DESTDIR="${D}" install || die "make install failed"
+ emake -j1 DESTDIR="${D}" install || die "emake install failed"
dodoc CHANGELOG README || die "dodoc failed"
}