* [gentoo-commits] repo/gentoo:master commit in: media-libs/libilbc/files/, media-libs/libilbc/
@ 2017-02-22 11:38 Michael Weber
0 siblings, 0 replies; 4+ messages in thread
From: Michael Weber @ 2017-02-22 11:38 UTC (permalink / raw
To: gentoo-commits
commit: 06114d7ae8e62de8b4ecd4ff14d4c6756372eb4f
Author: Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 22 11:38:27 2017 +0000
Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Wed Feb 22 11:38:42 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06114d7a
media-libs/libilbc: Add architecture definition for ppc/ppc64 (bug 610546).
Package-Manager: Portage-2.3.3, Repoman-2.3.1
media-libs/libilbc/files/libilbc-2.0.2-ppc_ppc64.patch | 16 ++++++++++++++++
media-libs/libilbc/libilbc-2.0.2.ebuild | 1 +
media-libs/libilbc/libilbc-9999.ebuild | 3 ++-
3 files changed, 19 insertions(+), 1 deletion(-)
diff --git a/media-libs/libilbc/files/libilbc-2.0.2-ppc_ppc64.patch b/media-libs/libilbc/files/libilbc-2.0.2-ppc_ppc64.patch
new file mode 100644
index 0000000000..ae24dde38c
--- /dev/null
+++ b/media-libs/libilbc/files/libilbc-2.0.2-ppc_ppc64.patch
@@ -0,0 +1,16 @@
+--- libilbc-2.0.2/typedefs.h
++++ libilbc-2.0.2/typedefs.h
+@@ -47,6 +47,13 @@
+ #elif defined(__pnacl__)
+ #define WEBRTC_ARCH_32_BITS
+ #define WEBRTC_ARCH_LITTLE_ENDIAN
++#elif defined(__PPC__)
++#define WEBRTC_ARCH_BIG_ENDIAN
++#if defined(__PPC64__)
++#define WEBRTC_ARCH_64_BITS
++#else
++#define WEBRTC_ARCH_32_BITS
++#endif
+ #else
+ #error Please add support for your architecture in typedefs.h
+ #endif
diff --git a/media-libs/libilbc/libilbc-2.0.2.ebuild b/media-libs/libilbc/libilbc-2.0.2.ebuild
index 9246ed5a65..878787feea 100644
--- a/media-libs/libilbc/libilbc-2.0.2.ebuild
+++ b/media-libs/libilbc/libilbc-2.0.2.ebuild
@@ -24,6 +24,7 @@ SLOT="0"
IUSE="static-libs"
src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.0.2-ppc_ppc64.patch
[[ ${PV} == *9999 ]] && eautoreconf
autotools-multilib_src_prepare
}
diff --git a/media-libs/libilbc/libilbc-9999.ebuild b/media-libs/libilbc/libilbc-9999.ebuild
index b056c4a0a7..aa8f295a9f 100644
--- a/media-libs/libilbc/libilbc-9999.ebuild
+++ b/media-libs/libilbc/libilbc-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -24,6 +24,7 @@ SLOT="0"
IUSE="static-libs"
src_prepare() {
+ epatch "${FILESDIR}"/${PN}-2.0.2-ppc_ppc64.patch
[[ ${PV} == *9999 ]] && eautoreconf
autotools-multilib_src_prepare
}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/libilbc/files/, media-libs/libilbc/
@ 2018-03-31 10:27 Sergei Trofimovich
0 siblings, 0 replies; 4+ messages in thread
From: Sergei Trofimovich @ 2018-03-31 10:27 UTC (permalink / raw
To: gentoo-commits
commit: 4dae40527089e38bc44c0f33056c24bf126cace9
Author: Rolf Eike Beer <eike <AT> sf-mail <DOT> de>
AuthorDate: Fri Mar 23 06:14:30 2018 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Mar 31 10:27:49 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dae4052
media-libs/libilbc: use patch for ppc/ppc64/sparc now upstream
Bug: https://bugs.gentoo.org/610546
Closes: https://github.com/gentoo/gentoo/pull/7560
.../libilbc/files/libilbc-2.0.2-ppc_ppc64.patch | 16 ----------
.../files/libilbc-2.0.2-ppc_ppc64_sparc.patch | 35 ++++++++++++++++++++++
media-libs/libilbc/libilbc-2.0.2.ebuild | 2 +-
media-libs/libilbc/libilbc-9999.ebuild | 1 -
4 files changed, 36 insertions(+), 18 deletions(-)
diff --git a/media-libs/libilbc/files/libilbc-2.0.2-ppc_ppc64.patch b/media-libs/libilbc/files/libilbc-2.0.2-ppc_ppc64.patch
deleted file mode 100644
index ae24dde38cf..00000000000
--- a/media-libs/libilbc/files/libilbc-2.0.2-ppc_ppc64.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- libilbc-2.0.2/typedefs.h
-+++ libilbc-2.0.2/typedefs.h
-@@ -47,6 +47,13 @@
- #elif defined(__pnacl__)
- #define WEBRTC_ARCH_32_BITS
- #define WEBRTC_ARCH_LITTLE_ENDIAN
-+#elif defined(__PPC__)
-+#define WEBRTC_ARCH_BIG_ENDIAN
-+#if defined(__PPC64__)
-+#define WEBRTC_ARCH_64_BITS
-+#else
-+#define WEBRTC_ARCH_32_BITS
-+#endif
- #else
- #error Please add support for your architecture in typedefs.h
- #endif
diff --git a/media-libs/libilbc/files/libilbc-2.0.2-ppc_ppc64_sparc.patch b/media-libs/libilbc/files/libilbc-2.0.2-ppc_ppc64_sparc.patch
new file mode 100644
index 00000000000..dcca9c2ac32
--- /dev/null
+++ b/media-libs/libilbc/files/libilbc-2.0.2-ppc_ppc64_sparc.patch
@@ -0,0 +1,35 @@
+From 4d0c2edf1f9477f80e361e17de638806b1399a51 Mon Sep 17 00:00:00 2001
+From: Rolf Eike Beer <eike@sf-mail.de>
+Date: Fri, 23 Mar 2018 01:08:17 +0100
+Subject: [PATCH] add platform definitions for PPC and Sparc (#23)
+
+The PPC flags are taken from a Gentoo patch.
+---
+ typedefs.h | 14 ++++++++++++++
+ 1 file changed, 14 insertions(+)
+
+diff --git a/typedefs.h b/typedefs.h
+index 669451626..2f9fe77ea 100644
+--- a/typedefs.h
++++ b/typedefs.h
+@@ -47,6 +47,20 @@
+ #elif defined(__pnacl__)
+ #define WEBRTC_ARCH_32_BITS
+ #define WEBRTC_ARCH_LITTLE_ENDIAN
++#elif defined(__PPC__)
++#define WEBRTC_ARCH_BIG_ENDIAN
++#if defined(__PPC64__)
++#define WEBRTC_ARCH_64_BITS
++#else
++#define WEBRTC_ARCH_32_BITS
++#endif
++#elif defined(__sparc__)
++#define WEBRTC_ARCH_BIG_ENDIAN
++#if __SIZEOF_LONG__ == 8
++#define WEBRTC_ARCH_64_BITS
++#else
++#define WEBRTC_ARCH_32_BITS
++#endif
+ #else
+ #error Please add support for your architecture in typedefs.h
+ #endif
diff --git a/media-libs/libilbc/libilbc-2.0.2.ebuild b/media-libs/libilbc/libilbc-2.0.2.ebuild
index 65a7182ed61..f132e82b28c 100644
--- a/media-libs/libilbc/libilbc-2.0.2.ebuild
+++ b/media-libs/libilbc/libilbc-2.0.2.ebuild
@@ -22,7 +22,7 @@ SLOT="0"
IUSE="static-libs"
src_prepare() {
- epatch "${FILESDIR}"/${PN}-2.0.2-ppc_ppc64.patch
+ epatch "${FILESDIR}"/${PN}-2.0.2-ppc_ppc64_sparc.patch
[[ ${PV} == *9999 ]] && eautoreconf
autotools-multilib_src_prepare
}
diff --git a/media-libs/libilbc/libilbc-9999.ebuild b/media-libs/libilbc/libilbc-9999.ebuild
index c3aa37fdd75..a7ac81e5c6d 100644
--- a/media-libs/libilbc/libilbc-9999.ebuild
+++ b/media-libs/libilbc/libilbc-9999.ebuild
@@ -22,7 +22,6 @@ SLOT="0"
IUSE="static-libs"
src_prepare() {
- epatch "${FILESDIR}"/${PN}-2.0.2-ppc_ppc64.patch
[[ ${PV} == *9999 ]] && eautoreconf
autotools-multilib_src_prepare
}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/libilbc/files/, media-libs/libilbc/
@ 2021-01-01 2:47 Sam James
0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2021-01-01 2:47 UTC (permalink / raw
To: gentoo-commits
commit: e38952c4a7752e777ba6346de12be1583f2aac78
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 1 02:45:29 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 1 02:47:08 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e38952c4
media-libs/libilbc: bump to 3.0.4
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/libilbc/Manifest | 1 +
.../files/libilbc-3.0.4-respect-CFLAGS.patch | 25 ++++++++++++++++++++++
media-libs/libilbc/libilbc-3.0.4.ebuild | 25 ++++++++++++++++++++++
3 files changed, 51 insertions(+)
diff --git a/media-libs/libilbc/Manifest b/media-libs/libilbc/Manifest
index 6b5e497ca50..727bbd01337 100644
--- a/media-libs/libilbc/Manifest
+++ b/media-libs/libilbc/Manifest
@@ -1 +1,2 @@
DIST libilbc-2.0.2.tar.bz2 392643 BLAKE2B 1b1772c415a823a63c2fdb64913eeee8becdda0438c3942e74dc0be5dc6e000538c8f0feb796d23eb815e792d9b9e695f598869a31dd69a90c1fb12823a09e28 SHA512 ad0ef3326144fa1e9b6983be9aeefcec0064930a0124980f0fa2b38967f145e4cef7be75d8eae72f4a9650f297f15968944e73ef256e642116125dea326d8ba8
+DIST libilbc-3.0.4.tar.gz 1307591 BLAKE2B a914b79c1134536f45910d367216b1ac27d4acb08f4c9b9dd3f01eaf181ecf0f6dc351b944039b05445217360a7e4b868b3aba9f8d6265eeee62a90ce0641a42 SHA512 2239a915263c2a73d83836354d42c670e4fe1173a38b3d1a9cef169778038ae5f4901d8202d6c5367d00db76e034e72bcdf6ac81bf0188f6a3f928e7d36d5a31
diff --git a/media-libs/libilbc/files/libilbc-3.0.4-respect-CFLAGS.patch b/media-libs/libilbc/files/libilbc-3.0.4-respect-CFLAGS.patch
new file mode 100644
index 00000000000..feb3a2255e1
--- /dev/null
+++ b/media-libs/libilbc/files/libilbc-3.0.4-respect-CFLAGS.patch
@@ -0,0 +1,25 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index cda8105..b766ec2 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -52,15 +52,15 @@ set(CMAKE_CXX_STANDARD 14)
+
+ if((CMAKE_C_COMPILER_ID STREQUAL "GNU") OR
+ (CMAKE_C_COMPILER_ID MATCHES "Clang" AND CMAKE_C_COMPILER_FRONTEND_VARIANT STREQUAL "GNU"))
+- set(CMAKE_C_FLAGS "-Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wno-unused-parameter -fno-strict-aliasing")
+- set(CMAKE_C_FLAGS_DEBUG "-g")
+- set(CMAKE_C_FLAGS_RELEASE "-O2")
++ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wno-unused-parameter -fno-strict-aliasing")
++ set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS}")
++ set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS}")
+ endif()
+ if((CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OR
+ (CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND CMAKE_CXX_COMPILER_FRONTEND_VARIANT STREQUAL "GNU"))
+ set(CMAKE_CXX_FLAGS "-Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing")
+- set(CMAKE_CXX_FLAGS_DEBUG "-g")
+- set(CMAKE_CXX_FLAGS_RELEASE "-O2")
++ set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_C_FLAGS}")
++ set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_C_FLAGS}")
+ endif()
+
+ if(CMAKE_C_COMPILER_ID STREQUAL "MSVC")
diff --git a/media-libs/libilbc/libilbc-3.0.4.ebuild b/media-libs/libilbc/libilbc-3.0.4.ebuild
new file mode 100644
index 00000000000..9f2f31bf171
--- /dev/null
+++ b/media-libs/libilbc/libilbc-3.0.4.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS=cmake
+inherit cmake-multilib
+
+if [[ ${PV} == *9999 ]]; then
+ inherit git-r3
+ 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"
+fi
+
+DESCRIPTION="Packaged version of iLBC codec from the WebRTC project"
+HOMEPAGE="https://github.com/TimothyGu/libilbc"
+
+LICENSE="BSD"
+SLOT="0/3"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-3.0.4-respect-CFLAGS.patch"
+)
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/libilbc/files/, media-libs/libilbc/
@ 2022-05-14 3:00 Sam James
0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2022-05-14 3:00 UTC (permalink / raw
To: gentoo-commits
commit: 07e1c81337936a0341e9fa30e23931943fd994f2
Author: matoro <matoro <AT> users <DOT> noreply <DOT> github <DOT> com>
AuthorDate: Tue May 3 04:07:55 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 14 02:57:23 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07e1c813
media-libs/libilbc: Keyword 3.0.4 ia64, #610546
Closes: https://bugs.gentoo.org/610546
Signed-off-by: matoro <matoro <AT> users.noreply.github.com>
Closes: https://github.com/gentoo/gentoo/pull/25297
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../libilbc/files/libilbc-3.0.4-support-ia64.patch | 32 ++++++++++++++++++++++
media-libs/libilbc/libilbc-3.0.4.ebuild | 5 ++--
media-libs/libilbc/libilbc-9999.ebuild | 5 ++--
3 files changed, 38 insertions(+), 4 deletions(-)
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"
)
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-05-14 3:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-22 11:38 [gentoo-commits] repo/gentoo:master commit in: media-libs/libilbc/files/, media-libs/libilbc/ Michael Weber
-- strict thread matches above, loose matches on Subject: below --
2018-03-31 10:27 Sergei Trofimovich
2021-01-01 2:47 Sam James
2022-05-14 3:00 Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox