summaryrefslogtreecommitdiff
path: root/media-libs/fdk-aac
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-12-23 13:50:55 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-12-23 13:50:55 +0000
commited8299fef4175104e66b734cfc0482770614f398 (patch)
treed701a504c6fca51a0182f6ba21f16af855ee24b4 /media-libs/fdk-aac
parent4035d30ea0ada73d992bb7d583c0b37a053714fe (diff)
gentoo auto-resync : 23:12:2023 - 13:50:55
Diffstat (limited to 'media-libs/fdk-aac')
-rw-r--r--media-libs/fdk-aac/Manifest6
-rw-r--r--media-libs/fdk-aac/fdk-aac-2.0.2.ebuild2
-rw-r--r--media-libs/fdk-aac/fdk-aac-2.0.3.ebuild61
-rw-r--r--media-libs/fdk-aac/metadata.xml1
4 files changed, 67 insertions, 3 deletions
diff --git a/media-libs/fdk-aac/Manifest b/media-libs/fdk-aac/Manifest
index 6f7634c961e0..dfdf7b771b12 100644
--- a/media-libs/fdk-aac/Manifest
+++ b/media-libs/fdk-aac/Manifest
@@ -1,4 +1,6 @@
AUX fdk-aac-2.0.2-always_inline.patch 2581 BLAKE2B 46f18480fe138f4b6fd98bf3474673234e1fc3e88020be07bc63284634b971a902cbe3b1996c676e12c30e502e877d7a0b4e328b97a469dd2ed7d6bd759d5161 SHA512 030bfb1ad2dc53618a0387852910687e89bacb4cefd8d7a9a230bcda5a0c0e5493e464771691491d5da4c9bc8c83ff48a99dec5e384d2c50ebcd672a051a7ce3
DIST fdk-aac-2.0.2.tar.gz 2886434 BLAKE2B f9917cf8ded3e4165048b27211c5985b4fe174d1ac815a7bc4afad88e059f3a89a24f88ad20633becdba9cb91717b9d4bf44781368c436e35002061b1644eb64 SHA512 8e5a7992869a7e649bee6d41bf7c6e408cec7ba1931a6cd7a9ad8a01e6ac49bd299ddd147b18823e8ee379ce7c6373d7f5a94f0f859ed973a30c61eccd53fa7e
-EBUILD fdk-aac-2.0.2.ebuild 1421 BLAKE2B 84563e0fe4376f9c7f9259a0b7f049aaf67955856b486d6b101ce97ee253c569e359baf77d9277610195ed73b08b10f5362920e6ea1603df101dd6ccca31bac5 SHA512 33db67301aa3294e223a1877d165765967ff9a6406039a13c1cc5002083dfd4eb5d4f6c534cc4f7b002a803f537401cae3d2e805f63d5e410da72cb006ea8500
-MISC metadata.xml 336 BLAKE2B 5f1981713cbc6db97ecdea2af10393759e29be9cca9f0bc39baf5178b70d77b2553e5a29cece1a2a1b7c1a57337859866b05da3c83a52657baf3f87cec98d794 SHA512 3effbf30ad5c4566466f5e8f473f045294a687845416b3d8a67350392c01b22009db45d129bd312d44f2dfd0302ed1e3f0ab57ab01031cab9549980242779c13
+DIST fdk-aac-2.0.3.tar.gz 2906697 BLAKE2B a3dbf45c637680bda178c2886926cb459ef00660ec6b0e9eef6e48a7b04de961659da8cf0016b6e7376ce6d513abc142b43068c65b10c8cba2ed6b3aec0a9521 SHA512 7494d9cf3814b4abcc8fdf02cc40e8b49d744b1744869389da33d93302799dec9b4d67ce25d912de6d9a635a59a1d4c459c99c9ad2e90186d3af48d0f8282af7
+EBUILD fdk-aac-2.0.2.ebuild 1457 BLAKE2B d5cb052398140b0f23a2747d4167c39a96cbafccafc335c3fcba4e929f827a4dfd5a927f6146f6e997d8ec6fbcf371071e36dab821516b4f1232ea029218c288 SHA512 55bfac3100c7790eaeffeb0fd175dfeb012db50c0748f94b4c38708a399268b2d3c9e029b284f7836169262d887a682eeb35038fb0690db3762d70f3536dd454
+EBUILD fdk-aac-2.0.3.ebuild 1411 BLAKE2B 37abdbfb9149f5fde38de2165e1c77f8e6834eb6ce4a33631eafab44f59554356b7b41ef4ee645e7e7b2cb9cd5c7f449176d10b256c7d3f682605441685446d2 SHA512 cf63856260e23465ed2f1647cd328e0c8125b5dd6656a36abe99893b547855896e62c72ac4fddc7eafe18a31fbbce5df27fa5233e5eab98282ff215d6b2abedb
+MISC metadata.xml 392 BLAKE2B 0e1ca535b679acd5bf93b63803e7ae0f2dc5ff3265f3e8ac7e35896ffd546c29a37aee845506f6759691db5af8ff5fd48126f580c378f8ac5bb46f551c1b6ed1 SHA512 dd4a4fdf0504cc45ffe35b972fbdfdd17e3f23f8acd52bbe1e55e79e5a63750594908c044fb17a9e329cbe89e4527f8d85219821a1800b01493a85146feee48c
diff --git a/media-libs/fdk-aac/fdk-aac-2.0.2.ebuild b/media-libs/fdk-aac/fdk-aac-2.0.2.ebuild
index 5f49c1190a16..69677bca87e4 100644
--- a/media-libs/fdk-aac/fdk-aac-2.0.2.ebuild
+++ b/media-libs/fdk-aac/fdk-aac-2.0.2.ebuild
@@ -20,7 +20,7 @@ else
fi
DESCRIPTION="Fraunhofer AAC codec library"
-HOMEPAGE="https://sourceforge.net/projects/opencore-amr/"
+HOMEPAGE="https://sourceforge.net/projects/opencore-amr/ https://github.com/mstorsjo/fdk-aac"
LICENSE="FraunhoferFDK"
# subslot == N where N is libfdk-aac.so.N
SLOT="0/2"
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..09d6e507bf68
--- /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/ https://github.com/mstorsjo/fdk-aac"
+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"
+}
diff --git a/media-libs/fdk-aac/metadata.xml b/media-libs/fdk-aac/metadata.xml
index 7e883f8fea86..a7868a75c575 100644
--- a/media-libs/fdk-aac/metadata.xml
+++ b/media-libs/fdk-aac/metadata.xml
@@ -7,5 +7,6 @@
</maintainer>
<upstream>
<remote-id type="sourceforge">opencore-amr</remote-id>
+ <remote-id type="github">mstorsjo/fdk-aac</remote-id>
</upstream>
</pkgmetadata>