From a1115b15ff396d0096dade43aba4fa5faa1a0826 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Mon, 5 Sep 2016 18:11:14 -0400 Subject: 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 --- media-libs/aften/aften-0.0.8-r2.ebuild | 37 ++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 media-libs/aften/aften-0.0.8-r2.ebuild (limited to 'media-libs/aften/aften-0.0.8-r2.ebuild') 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 000000000000..6a1887142bf5 --- /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 +} -- cgit v1.2.3