summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2016-09-05 18:11:14 -0400
committerMichael Orlitzky <mjo@gentoo.org>2016-09-05 18:12:21 -0400
commita1115b15ff396d0096dade43aba4fa5faa1a0826 (patch)
tree568c38b29466f3281cdd23b30a6d63d97129d29b /media-libs/aften/aften-0.0.8-r2.ebuild
parentdev-python/pyopenssl: Version bump to 16.1.0 (diff)
downloadgentoo-a1115b15ff396d0096dade43aba4fa5faa1a0826.tar.gz
gentoo-a1115b15ff396d0096dade43aba4fa5faa1a0826.tar.bz2
gentoo-a1115b15ff396d0096dade43aba4fa5faa1a0826.zip
media-libs/aften: new revision with dynamically-linked executable.
This new revision includes a tiny patch from Gentoo user Ihar Hrachyshka. The upstream build system defaults to building a target called "aften_static", and all we need to do is change that to "aften" to get the dynamically-linked version. Non-maintainer commit with permission from David Seifert (soap). Gentoo-Bug: 258397 Package-Manager: portage-2.2.28
Diffstat (limited to 'media-libs/aften/aften-0.0.8-r2.ebuild')
-rw-r--r--media-libs/aften/aften-0.0.8-r2.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/media-libs/aften/aften-0.0.8-r2.ebuild b/media-libs/aften/aften-0.0.8-r2.ebuild
new file mode 100644
index 00000000000..6a1887142bf
--- /dev/null
+++ b/media-libs/aften/aften-0.0.8-r2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="An A/52 (AC-3) audio encoder"
+HOMEPAGE="http://aften.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1 BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="cxx"
+
+PATCHES=(
+ "${FILESDIR}/${P}-multilib.patch"
+ "${FILESDIR}/${P}-ppc.patch"
+ "${FILESDIR}/${P}-no-static-aften.patch"
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DSHARED=1
+ -DBINDINGS_CXX=$(usex cxx)
+ )
+ 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{,-aften} || die
+}