public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/fdk-aac/
Date: Sat, 23 Dec 2023 09:39:00 +0000 (UTC)	[thread overview]
Message-ID: <1703324276.f9c69b89414216e3082839576d28b87c3bec0bed.fordfrog@gentoo> (raw)

commit:     f9c69b89414216e3082839576d28b87c3bec0bed
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 23 09:37:56 2023 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sat Dec 23 09:37:56 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9c69b89

media-libs/fdk-aac: bump to 2.0.3

Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 media-libs/fdk-aac/Manifest             |  1 +
 media-libs/fdk-aac/fdk-aac-2.0.3.ebuild | 61 +++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git a/media-libs/fdk-aac/Manifest b/media-libs/fdk-aac/Manifest
index 5fc52ef7d579..c5edf2c7ecb5 100644
--- a/media-libs/fdk-aac/Manifest
+++ b/media-libs/fdk-aac/Manifest
@@ -1 +1,2 @@
 DIST fdk-aac-2.0.2.tar.gz 2886434 BLAKE2B f9917cf8ded3e4165048b27211c5985b4fe174d1ac815a7bc4afad88e059f3a89a24f88ad20633becdba9cb91717b9d4bf44781368c436e35002061b1644eb64 SHA512 8e5a7992869a7e649bee6d41bf7c6e408cec7ba1931a6cd7a9ad8a01e6ac49bd299ddd147b18823e8ee379ce7c6373d7f5a94f0f859ed973a30c61eccd53fa7e
+DIST fdk-aac-2.0.3.tar.gz 2906697 BLAKE2B a3dbf45c637680bda178c2886926cb459ef00660ec6b0e9eef6e48a7b04de961659da8cf0016b6e7376ce6d513abc142b43068c65b10c8cba2ed6b3aec0a9521 SHA512 7494d9cf3814b4abcc8fdf02cc40e8b49d744b1744869389da33d93302799dec9b4d67ce25d912de6d9a635a59a1d4c459c99c9ad2e90186d3af48d0f8282af7

diff --git a/media-libs/fdk-aac/fdk-aac-2.0.3.ebuild b/media-libs/fdk-aac/fdk-aac-2.0.3.ebuild
new file mode 100644
index 000000000000..bbeaacc83515
--- /dev/null
+++ b/media-libs/fdk-aac/fdk-aac-2.0.3.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit multilib-minimal
+
+if [[ ${PV} == *9999* ]]; then
+	EGIT_REPO_URI="https://github.com/mstorsjo/${PN}.git"
+	[[ ${PV%9999} != "" ]] && EGIT_BRANCH="release/${PV%.9999}"
+	inherit autotools git-r3
+else
+	inherit libtool
+	KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~x86 ~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
+fi
+
+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/2"
+
+IUSE="examples"
+
+src_prepare() {
+	default
+
+	if [[ ${PV} == *9999* ]] ; then
+		eautoreconf
+	else
+		elibtoolize
+	fi
+}
+
+multilib_src_configure() {
+	local myeconfargs=(
+		--disable-static
+		$(multilib_native_use_enable examples example)
+	)
+	ECONF_SOURCE=${S} econf "${myeconfargs[@]}"
+}
+
+multilib_src_install_all() {
+	einstalldocs
+
+	if use examples; then
+		mv "${ED}/usr/bin/"{,fdk-}aac-enc || die
+	fi
+
+	# package provides .pc files
+	find "${ED}" -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:[~2023-12-23  9:39 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-23  9:39 Miroslav Šulc [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-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-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=1703324276.f9c69b89414216e3082839576d28b87c3bec0bed.fordfrog@gentoo \
    --to=fordfrog@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