summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2013-06-01 23:34:54 +0000
committerTim Harder <radhermit@gentoo.org>2013-06-01 23:34:54 +0000
commit10f8d5a36e75da2fcec7cf689b901b0dcaa1ccfa (patch)
tree998ac8806e2a9123c38f8aebbc4f3f949e9dca18
parentSkip more examples when threads are disabled and don't build examples by defa... (diff)
downloadgentoo-2-10f8d5a36e75da2fcec7cf689b901b0dcaa1ccfa.tar.gz
gentoo-2-10f8d5a36e75da2fcec7cf689b901b0dcaa1ccfa.tar.bz2
gentoo-2-10f8d5a36e75da2fcec7cf689b901b0dcaa1ccfa.zip
Use src_configure instead of src_compile, make PATCHES array multiline, drop empty DEPEND, and other minor fixes.
(Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
-rw-r--r--media-libs/aften/ChangeLog6
-rw-r--r--media-libs/aften/aften-0.0.8.ebuild17
2 files changed, 15 insertions, 8 deletions
diff --git a/media-libs/aften/ChangeLog b/media-libs/aften/ChangeLog
index 53309490aec8..83a68694245d 100644
--- a/media-libs/aften/ChangeLog
+++ b/media-libs/aften/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/aften
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/aften/ChangeLog,v 1.7 2013/06/01 14:11:51 creffett Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/aften/ChangeLog,v 1.8 2013/06/01 23:34:54 radhermit Exp $
+
+ 01 Jun 2013; Tim Harder <radhermit@gentoo.org> aften-0.0.8.ebuild:
+ Use src_configure instead of src_compile, make PATCHES array multiline, drop
+ empty DEPEND, and other minor fixes.
01 Jun 2013; Chris Reffett <creffett@gentoo.org> aften-0.0.8.ebuild:
EAPI bump wrt bug 460572
diff --git a/media-libs/aften/aften-0.0.8.ebuild b/media-libs/aften/aften-0.0.8.ebuild
index 170d3d57897d..5ee66d4f440c 100644
--- a/media-libs/aften/aften-0.0.8.ebuild
+++ b/media-libs/aften/aften-0.0.8.ebuild
@@ -1,6 +1,7 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/aften/aften-0.0.8.ebuild,v 1.5 2013/06/01 14:11:51 creffett Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/aften/aften-0.0.8.ebuild,v 1.6 2013/06/01 23:34:54 radhermit Exp $
+
EAPI=5
inherit eutils cmake-utils
@@ -13,19 +14,21 @@ LICENSE="LGPL-2.1 BSD"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="cxx"
-DEPEND=""
-PATCHES=( "${FILESDIR}/${P}-multilib.patch" "${FILESDIR}/${P}-ppc.patch" )
+PATCHES=(
+ "${FILESDIR}/${P}-multilib.patch"
+ "${FILESDIR}/${P}-ppc.patch"
+)
-src_compile() {
+src_configure() {
local mycmakeargs="-DSHARED=1"
- use cxx && mycmakeargs="${mycmakeargs} -DBINDINGS_CXX=1"
- cmake-utils_src_compile
+ use cxx && mycmakeargs+=" -DBINDINGS_CXX=1"
+ cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
dodoc README Changelog
# File collision with media-sound/wavbreaker, upstream informed
- mv "${D}/usr/bin/wavinfo" "${D}/usr/bin/wavinfo-aften"
+ mv "${D}/usr/bin/wavinfo" "${D}/usr/bin/wavinfo-aften" || die
}