diff options
author | Sam James <sam@gentoo.org> | 2021-01-01 02:45:29 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-01-01 02:47:08 +0000 |
commit | e38952c4a7752e777ba6346de12be1583f2aac78 (patch) | |
tree | 4675aef76f322551efe223c0c2271874a7641700 /media-libs | |
parent | www-apps/radicale: Remove old (py3.6) (diff) | |
download | gentoo-e38952c4a7752e777ba6346de12be1583f2aac78.tar.gz gentoo-e38952c4a7752e777ba6346de12be1583f2aac78.tar.bz2 gentoo-e38952c4a7752e777ba6346de12be1583f2aac78.zip |
media-libs/libilbc: bump to 3.0.4
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/libilbc/Manifest | 1 | ||||
-rw-r--r-- | media-libs/libilbc/files/libilbc-3.0.4-respect-CFLAGS.patch | 25 | ||||
-rw-r--r-- | media-libs/libilbc/libilbc-3.0.4.ebuild | 25 |
3 files changed, 51 insertions, 0 deletions
diff --git a/media-libs/libilbc/Manifest b/media-libs/libilbc/Manifest index 6b5e497ca508..727bbd013370 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 000000000000..feb3a2255e10 --- /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 000000000000..9f2f31bf171f --- /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" +) |