public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/fdk-aac/
Date: Wed, 14 Sep 2016 19:00:19 +0000 (UTC)	[thread overview]
Message-ID: <1473879606.54d60bcc55d9dceb3338c9fe8d6036dcd5a3cdea.soap@gentoo> (raw)

commit:     54d60bcc55d9dceb3338c9fe8d6036dcd5a3cdea
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 14 18:56:58 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Wed Sep 14 19:00:06 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54d60bcc

media-libs/fdk-aac: Allow for compiling with GCC 6

Gentoo-bug: 585556
* EAPI=6

Package-Manager: portage-2.3.0

 media-libs/fdk-aac/Manifest                |  1 +
 media-libs/fdk-aac/fdk-aac-0.1.4-r1.ebuild | 63 ++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)

diff --git a/media-libs/fdk-aac/Manifest b/media-libs/fdk-aac/Manifest
index 61f924d..4febcd1 100644
--- a/media-libs/fdk-aac/Manifest
+++ b/media-libs/fdk-aac/Manifest
@@ -2,3 +2,4 @@ DIST fdk-aac-0.1.1.tar.gz 1979748 SHA256 9fb9c22b7e80ee34a34639b6fe0d7411e8ec855
 DIST fdk-aac-0.1.2.tar.gz 1976401 SHA256 e4eefa3e64a5110dd180decf21a255fe1c1e08548dbdc646e125835e7798cf4a SHA512 702a65b7b7010a38c8f25a025836aec3337cf17eaa2cffaab49e752f73ebc5bf96ceb782712f3c1d00470567f0c23058e60fece126217793f104387e993358cd WHIRLPOOL bba7428a2b187c0f6d33312b1ecd0354c21976ae1520813077162951e4d027196d27d52a0cec426dc20cf8e6a5c6c75e5a8a7ee2272d942ea0d16e9a3d3c92e5
 DIST fdk-aac-0.1.3.tar.gz 1982695 SHA256 a9cb872802cfb7a2aff7a549c114c547d1e518dd60c2f85942229cc20c0d0c8d SHA512 1cc78bdb31f0896b71de85afbebeb5f8ed97affccf74c20ad2c36e6baead0199f83bf987a28872a1229b116c17c161e4bbe197c5108fd749fd508ebfeeb7df56 WHIRLPOOL 115298bb9fea7317a991da87e6aea9c94575550c5d26678b5edcef62c02d16a143d9d8b3d84264c7437b0f3451cf3b504713d56198eedff317421d86918c8b34
 DIST fdk-aac-0.1.4.tar.gz 1986515 SHA256 5910fe788677ca13532e3f47b7afaa01d72334d46a2d5e1d1f080f1173ff15ab SHA512 edb8540aa29cc1b1c98aff67a273771e766b4a30a9292f1cdd9b2beba6659bc3db51b0342c0b0521ce4da29e63ce948dda37fdbb1cc57787f1ec9d8223b2aada WHIRLPOOL aa272566b38c47cf838a99bb8914c3eedd7d0a94a3e104e00376a4b6943bf73760a20a4fce7c57f4665c61188d4e795072a2df40fbcbd77565d24b4f21b05b49
+DIST fdk-aac-0.1.4_p20160914-fix-c++14.patch.bz2 5320 SHA256 9c04ce7b470274808ab623b82b5888f24cfcd44b0a3d7cd431ae17e07d761a88 SHA512 cfcf174d8e515065c93a1d0e51aa7fac6112573ff9597b08c47406d6e6ebba493673ee5ae6ab19183fd01459dd6a0dc52e1f8669c6059c6bbdcb86fa2babb71d WHIRLPOOL 45c5b56a8228df4a5a1a14a0a05192d709e32e9a1481a2ed60caf81ddf1829684fd7d0a03a1e712f6be0dd51f396d61df8e038004fe69a548c61d41b8468d9c8

diff --git a/media-libs/fdk-aac/fdk-aac-0.1.4-r1.ebuild b/media-libs/fdk-aac/fdk-aac-0.1.4-r1.ebuild
new file mode 100644
index 00000000..30f017a
--- /dev/null
+++ b/media-libs/fdk-aac/fdk-aac-0.1.4-r1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+if [[ ${PV} == *9999* ]]; then
+	KEYWORDS=""
+	SRC_URI=""
+	EGIT_REPO_URI="git://github.com/mstorsjo/${PN}.git"
+	[[ ${PV%9999} != "" ]] && EGIT_BRANCH="release/${PV%.9999}"
+	inherit autotools git-r3
+else
+	KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~x64-macos"
+	if [[ ${PV%_p*} != ${PV} ]]; then # Gentoo snapshot
+		SRC_URI="mirror://gentoo/${P}.tar.xz"
+	else # Official release
+		SRC_URI="mirror://sourceforge/opencore-amr/${P}.tar.gz"
+	fi
+	SRC_URI+=" https://dev.gentoo.org/~soap/distfiles/${PN}-0.1.4_p20160914-fix-c++14.patch.bz2"
+fi
+
+inherit multilib-minimal
+
+DESCRIPTION="Fraunhofer AAC codec library"
+HOMEPAGE="https://sourceforge.net/projects/opencore-amr/"
+LICENSE="FraunhoferFDK"
+# subslot == N where N is libfdk-aac.so.N
+SLOT="0/1"
+
+IUSE="static-libs examples"
+
+PATCHES=(
+	# fix building with GCC 6, #585556
+	"${WORKDIR}/${PN}-0.1.4_p20160914-fix-c++14.patch"
+)
+
+src_prepare() {
+	default
+	[[ ${PV} == *9999* ]] && eautoreconf
+}
+
+multilib_src_configure() {
+	ECONF_SOURCE=${S} econf \
+		--enable-shared \
+		$(use_enable static-libs static) \
+		$(use_enable examples example)
+}
+
+multilib_src_install_all() {
+	einstalldocs
+
+	if use examples; then
+		mv "${ED%/}/usr/bin/"{,fdk-}aac-enc || die
+	fi
+
+	# package provides .pc files
+	find "${D}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+	use examples && einfo "aac-enc was renamed to fdk-aac-enc to prevent file collision with other packages"
+}


             reply	other threads:[~2016-09-14 19:00 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-14 19:00 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-02-29 23:55 [gentoo-commits] repo/gentoo:master commit in: media-libs/fdk-aac/ Sam James
2024-01-23  4:17 Sam James
2024-01-22 13:12 Sam James
2024-01-22 11:51 Sam James
2024-01-22 11:51 Sam James
2024-01-22 11:51 Sam James
2024-01-22 11:27 Sam James
2023-12-23  9:39 Miroslav Šulc
2023-12-23  9:39 Miroslav Šulc
2023-02-26 18:16 Arthur Zamarin
2022-12-10  2:44 Sam James
2022-11-24 12:00 WANG Xuerui
2022-08-30 19:06 Sam James
2021-07-17  9:31 David Seifert
2021-06-01  6:53 Miroslav Šulc
2021-05-31 11:40 Sam James
2021-05-30  9:50 Agostino Sarubbo
2021-05-29 15:23 Sam James
2021-05-29 13:28 Sam James
2021-05-29  9:02 Sam James
2021-05-29  9:02 Sam James
2021-04-28 18:04 Miroslav Šulc
2020-09-18  7:48 Miroslav Šulc
2020-09-13  8:44 Sergei Trofimovich
2020-09-09 21:59 Sergei Trofimovich
2020-09-08 15:56 Thomas Deutschmann
2020-09-08  2:38 Sam James
2020-09-08  2:23 Sam James
2019-10-14 12:49 Lars Wendler
2019-10-14 12:49 Lars Wendler
2019-07-28 10:53 Mikle Kolyada
2019-07-18 10:01 Agostino Sarubbo
2019-07-18  9:57 Agostino Sarubbo
2019-07-08 12:10 Thomas Deutschmann
2019-07-08 11:05 Agostino Sarubbo
2019-04-09  3:17 Aaron Bauman
2019-04-08 16:36 Aaron Bauman
2018-11-29 11:58 Lars Wendler
2018-03-08 10:51 Lars Wendler
2018-03-08 10:51 Lars Wendler
2017-07-30  9:38 Michał Górny
2017-06-25  7:24 Markus Meier
2017-06-21 12:17 Agostino Sarubbo
2017-06-16 14:10 Agostino Sarubbo
2017-06-16  9:36 Alexis Ballier
2017-06-16  9:36 Alexis Ballier
2017-04-01 12:36 Michael Weber
2017-01-13  7:56 Alexis Ballier
2016-09-14 19:00 David Seifert
2016-08-12 21:47 Andrew Savchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1473879606.54d60bcc55d9dceb3338c9fe8d6036dcd5a3cdea.soap@gentoo \
    --to=soap@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox