summaryrefslogtreecommitdiff
path: root/media-libs/libilbc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
commit0f558761aa2dee1017b4751e4017205e015a9560 (patch)
tree037df795519468a25d9362b4e95cdaeb84eb1cf9 /media-libs/libilbc
parent752d6256e5204b958b0ef7905675a940b5e9172f (diff)
gentoo resync : 29.12.2022
Diffstat (limited to 'media-libs/libilbc')
-rw-r--r--media-libs/libilbc/Manifest5
-rw-r--r--media-libs/libilbc/files/libilbc-3.0.4-support-ia64.patch32
-rw-r--r--media-libs/libilbc/libilbc-3.0.4.ebuild5
-rw-r--r--media-libs/libilbc/libilbc-9999.ebuild5
4 files changed, 41 insertions, 6 deletions
diff --git a/media-libs/libilbc/Manifest b/media-libs/libilbc/Manifest
index 893c6162ab27..7d04e05e46a1 100644
--- a/media-libs/libilbc/Manifest
+++ b/media-libs/libilbc/Manifest
@@ -1,5 +1,6 @@
AUX libilbc-3.0.4-respect-CFLAGS.patch 1217 BLAKE2B 69e46ed5ee1f9ef082b54b6049d078dfa3a007d63b8d0a79c1f07dd8335eaa0402dcc08bc30c0bf8c9329b1244d638231c10fa46396a9c07cdcdab8539fa6c5a SHA512 7de1bb74f552dadccbe3a31c4a2cef7da7525fae47dc7e5d22c78e59604ac9e07e3f4123acc35e174dcf9fe25f4c7e3b6e51a092f77c4f604b23af1ed724cf4a
+AUX libilbc-3.0.4-support-ia64.patch 1149 BLAKE2B 46980a27938b121867aac4cd2aa2ce7f185367aceb4abfc188b18136afe78813b814ca73855671f210166b09857c3d56f8462b6dee29b1733eec8072fb58f574 SHA512 0e9c409ad067a3295ce9af2ba414dc86182a56dc4218b8281dad41592f3568cbfe0a805a9b6b81c485b8f1fb032ad23cbc830ed973ad43f4d274eb1d13e53b6e
DIST libilbc-3.0.4.tar.gz 1307591 BLAKE2B a914b79c1134536f45910d367216b1ac27d4acb08f4c9b9dd3f01eaf181ecf0f6dc351b944039b05445217360a7e4b868b3aba9f8d6265eeee62a90ce0641a42 SHA512 2239a915263c2a73d83836354d42c670e4fe1173a38b3d1a9cef169778038ae5f4901d8202d6c5367d00db76e034e72bcdf6ac81bf0188f6a3f928e7d36d5a31
-EBUILD libilbc-3.0.4.ebuild 606 BLAKE2B d62db3872ec1090defca3df406d74d2eaa6136f6e326ea050eb1fba609cf87e43f5def6d9caf5aa0f46ba23b5134c21c6671f3905dcc2a6684a7ed9d9e6bfd97 SHA512 baff9d09a9787a73624833aa60db197e6fc5c92c8f6516b11585794b79ddfa25a7ade0aacf3d2840b4bc1f465994811420e4303afc32cf3d4bc139531f33ba98
-EBUILD libilbc-9999.ebuild 605 BLAKE2B 08f27610431b3c863541e0d4c51f0e8d3116ec42785327a81da682c8a1fa45a90580f78d8a76d796572bda0db142873287c9128b92e1381cb62a8bc8eed58956 SHA512 d10afec68a9394333f48804c2844d217f9d774b645b0d32950ad3291c30efc303c54f3ef495a86141af67015c1e17c74740657215a773e944c0e76c36ca1f66b
+EBUILD libilbc-3.0.4.ebuild 651 BLAKE2B 27a84ac0caaa29c1cc0c976597fb6ea437e005b160104a98cbdf0faa072f64b0ce605f615c2986127f3e1c4cc395e39148cb8a3836ca4686c4af5da2d6204811 SHA512 fad1eb24a6f5ace6372bdf0fd8dfecb059c9310c59cbabde567842504b17899d28ca4d11064d2b5c61be8a28d6914654ce016a8a012d7796e69df78d6f7e4fc7
+EBUILD libilbc-9999.ebuild 650 BLAKE2B 25147887f39b7c030752ca55ccd23e22ad7566ca3327ab16d6bfab9ce7e51682d13001e6ee3b7fd02958700deee0bd3e76e1547247e1024c2f75a60840e7f421 SHA512 611ba9e3295755d7716772318d247cdac45965afafbcd36835f78d80c26229c7ae03df0b9fb5cfbaec89be2a6d70ef1a5423e2d6449d39e51c0d4c6b07f2b6cf
MISC metadata.xml 334 BLAKE2B 19ad02aa58d1a7550369d4cd79342a5c185f0c373359b1ce5b64614b8b40b5458d6f2e19a82ae520410cdd72774d145a474b599e3312fbd0adee9b1f6cc04258 SHA512 ff00ce6e5a637c2ba8e2794429df9e6d9d1142bf8f8f23ae658e4a8b8d7680a9e307a0a18c6d8e95481bdf5946fe7f62ef23012943cbc836cdbb6eea1950c17c
diff --git a/media-libs/libilbc/files/libilbc-3.0.4-support-ia64.patch b/media-libs/libilbc/files/libilbc-3.0.4-support-ia64.patch
new file mode 100644
index 000000000000..7d992b722d23
--- /dev/null
+++ b/media-libs/libilbc/files/libilbc-3.0.4-support-ia64.patch
@@ -0,0 +1,32 @@
+From b9d5baa0c7daca577b5c846504bc6f5f71087582 Mon Sep 17 00:00:00 2001
+From: matoro <matoro@users.noreply.github.com>
+Date: Mon, 2 May 2022 14:02:37 -0400
+Subject: [PATCH] add platform definition for IA64
+
+How I tested:
+ * built ffmpeg with libilbc enabled
+ * obtained a sample file from
+ https://web.archive.org/web/2016*/http://www.andrews-corner.org/samples/luckynight.lbc
+ * converted it to wav using ffmpeg on ia64 host
+ * compared to file converted on amd64 host
+ * did the same in reverse (converted wav to lbc)
+
+All comparisons were identical and sounded the same.
+---
+ rtc_base/system/arch.h | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/rtc_base/system/arch.h b/rtc_base/system/arch.h
+index be2367b85f..e00150b65f 100644
+--- a/rtc_base/system/arch.h
++++ b/rtc_base/system/arch.h
+@@ -79,6 +79,9 @@
+ #elif defined(__EMSCRIPTEN__)
+ #define WEBRTC_ARCH_32_BITS
+ #define WEBRTC_ARCH_LITTLE_ENDIAN
++#elif defined(_M_IA64) || defined(__ia64__) || defined(__ia64)
++#define WEBRTC_ARCH_64_BITS
++#define WEBRTC_ARCH_LITTLE_ENDIAN
+ #else
+ #error Please add support for your architecture in rtc_base/system/arch.h
+ #endif
diff --git a/media-libs/libilbc/libilbc-3.0.4.ebuild b/media-libs/libilbc/libilbc-3.0.4.ebuild
index 285925de2aed..13ec15608964 100644
--- a/media-libs/libilbc/libilbc-3.0.4.ebuild
+++ b/media-libs/libilbc/libilbc-3.0.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -11,7 +11,7 @@ if [[ ${PV} == *9999 ]]; then
EGIT_REPO_URI="https://github.com/TimothyGu/${PN}"
else
SRC_URI="https://github.com/TimothyGu/${PN}/releases/download/v${PV}/${P}.tar.gz"
- KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~sparc x86"
+ KEYWORDS="amd64 arm arm64 ~ia64 ppc ppc64 ~riscv ~sparc x86"
fi
DESCRIPTION="Packaged version of iLBC codec from the WebRTC project"
@@ -22,4 +22,5 @@ SLOT="0/3"
PATCHES=(
"${FILESDIR}/${PN}-3.0.4-respect-CFLAGS.patch"
+ "${FILESDIR}/${P}-support-ia64.patch"
)
diff --git a/media-libs/libilbc/libilbc-9999.ebuild b/media-libs/libilbc/libilbc-9999.ebuild
index 9f2f31bf171f..afb3f5bc0e3c 100644
--- a/media-libs/libilbc/libilbc-9999.ebuild
+++ b/media-libs/libilbc/libilbc-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -11,7 +11,7 @@ if [[ ${PV} == *9999 ]]; then
EGIT_REPO_URI="https://github.com/TimothyGu/${PN}"
else
SRC_URI="https://github.com/TimothyGu/${PN}/releases/download/v${PV}/${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
fi
DESCRIPTION="Packaged version of iLBC codec from the WebRTC project"
@@ -22,4 +22,5 @@ SLOT="0/3"
PATCHES=(
"${FILESDIR}/${PN}-3.0.4-respect-CFLAGS.patch"
+ "${FILESDIR}/${P}-support-ia64.patch"
)