summaryrefslogtreecommitdiff
path: root/media-libs/tremor
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-14 07:43:49 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-14 07:43:49 +0100
commitfe8b106bd60ab72e98ab836f5c702070805e197e (patch)
tree44016d57867c58de87efd4b028c171d352bbf3be /media-libs/tremor
parent30737dc88991519b90363c2c7bae8fd049098d13 (diff)
gentoo auto-resync : 14:10:2022 - 07:43:49
Diffstat (limited to 'media-libs/tremor')
-rw-r--r--media-libs/tremor/Manifest2
-rw-r--r--media-libs/tremor/files/tremor-0_pre20130223-pkgconfig.patch30
-rw-r--r--media-libs/tremor/tremor-0_pre20130223-r3.ebuild41
3 files changed, 73 insertions, 0 deletions
diff --git a/media-libs/tremor/Manifest b/media-libs/tremor/Manifest
index cd4503cedcaf..9fa092dd2489 100644
--- a/media-libs/tremor/Manifest
+++ b/media-libs/tremor/Manifest
@@ -1,5 +1,7 @@
AUX tremor-0_pre20130223-autoconf.patch 829 BLAKE2B 8a1577f8a9350dab208ed9ea051b52fa9f30f0080504b6a3477ad3e6d3506fe7b2ded25d34d164a0b04385e5e010144f1c4136c5fffeec19247feb795c2fd309 SHA512 5e0d4efa7193bf7f3cd4a381616032f8e42d6b26ec85399eb406a0a753b0f6a321e968fe16d96645e3a52832279663362587b0bb93e28dd911b535a2dd496f30
AUX tremor-0_pre20130223-out-of-bounds-write.patch 2721 BLAKE2B a9d254873d08d261c72197fbe44875aefe9f48f97464ccc5653e88e50fe3546d2426d80e62a67c0a595695737fb2b7c95df1a850b612688c02b2574a3b986fcc SHA512 022a8e813f42e3e9a0983cd2e948898dc36689433cc76d292b8b24bb3c7318bbe71a2618022a16025ee25dea0dab063266212499e5d84669603414b6c769f74e
+AUX tremor-0_pre20130223-pkgconfig.patch 950 BLAKE2B f4ee913b722ce7af3e11f5a40d2a5dbec1ffcd11a0427f8f683fc80f4bd37ddd369521fce1850b105e83a826ab40de226e53b0c4f61f7fe1b53e70dac098b582 SHA512 f7a10d6d47086b6ffd7889891bfd6d9be7adcab37324809493f7001ee893fec2e6c0a7e10d08c9c3787a54d75e9e163a2848ac1ca391579af1ba07cb7373f17d
DIST tremor-0_pre20130223.tar.xz 110096 BLAKE2B aec25548c971d2021a3b5f81469d3bf74434f2bcf215601e79a2663fd044085519fde449736f0513c949de5a79e297cac65a7abd50f5fcd8b940f655b966b164 SHA512 3fc109dfc6f9f33da9d2da7d5c1708d6fe4b22179048c4acd5b4b037eafbdda392d5ba74ffec5d8a225d56ebd860f67d28e4460f0b54cb170152a0b9fd89c514
EBUILD tremor-0_pre20130223-r2.ebuild 891 BLAKE2B 5408a682a3e3923f353eac39a77a3fb0d55c15792cb8ba6440f27a005b2af7d819e783da3665c9fc776816f3b92d266f56999718d9b5561c8209cf002c14c081 SHA512 4b1756cc81271618cf113f22b46ba8576153c1cbdb532e4f6c5f9e2cd70782d3e402bbd81da88730469265ddc0f9f4316445dc39cd98f943714887d6d5780c35
+EBUILD tremor-0_pre20130223-r3.ebuild 934 BLAKE2B 43baf09d25e2e0a2f5047eea34d4217d2c00f05eedfce1ae72522caec0d93c752d101fe3defd86942ca2ec62761fd1904d8dfcda4ea0b887de1b416ec03f0254 SHA512 9370f65a3df311aa86305f92a8f80b5862dcf7f126cf839e4c6686f06d11f891f6c78e8c9d968d0f225560b7330cf453c3391ee205a665d734773455b92f35d1
MISC metadata.xml 342 BLAKE2B 5f8cb1f46d849f476969a68aa612cb89eac3b7d3b3de918cc6b472c7847b19cc703f16d4784f1931a57f5c64d0edfc80abf3b7c37d20562e03c5798b869d9c9e SHA512 39920a8902f374459188e7981b0930ee2d108ac944c24cfc6cb577e8a0e310753620996a51d3882d9550dbbdec768b2927f4a7aca4f858dae26e9ceef11c6ba9
diff --git a/media-libs/tremor/files/tremor-0_pre20130223-pkgconfig.patch b/media-libs/tremor/files/tremor-0_pre20130223-pkgconfig.patch
new file mode 100644
index 000000000000..e28e818de830
--- /dev/null
+++ b/media-libs/tremor/files/tremor-0_pre20130223-pkgconfig.patch
@@ -0,0 +1,30 @@
+Upstream-Commit: https://gitlab.xiph.org/xiph/tremor/-/commit/a733870e048fc139f696f1c57b50e0145d1ab6c2
+
+From a733870e048fc139f696f1c57b50e0145d1ab6c2 Mon Sep 17 00:00:00 2001
+From: Tim Terriberry <tterribe@xiph.org>
+Date: Fri, 5 Apr 2013 13:20:31 +0000
+Subject: [PATCH] Update pkgconfig files to reduce overlinking.
+
+Patch from Brad Smith.
+Reviewed by Ron Lee.
+Fixes #1943.
+
+git-svn-id: https://svn.xiph.org/trunk/Tremor@18906 0101bb08-14d6-0310-b084-bc0e0c8e3800
+---
+ vorbisidec.pc.in | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/vorbisidec.pc.in b/vorbisidec.pc.in
+index 9c09524..56fa656 100644
+--- a/vorbisidec.pc.in
++++ b/vorbisidec.pc.in
+@@ -8,7 +8,7 @@ includedir=@includedir@
+ Name: vorbisidec
+ Description: vorbisidec is the integer Ogg Vorbis library
+ Version: @VERSION@
+-Requires: ogg
++Requires.private: ogg
+ Conflicts:
+-Libs: -L${libdir} -lvorbisidec -lm
++Libs: -L${libdir} -lvorbisidec
+ Cflags: -I${includedir}
diff --git a/media-libs/tremor/tremor-0_pre20130223-r3.ebuild b/media-libs/tremor/tremor-0_pre20130223-r3.ebuild
new file mode 100644
index 000000000000..2b454838d599
--- /dev/null
+++ b/media-libs/tremor/tremor-0_pre20130223-r3.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools multilib-minimal
+
+DESCRIPTION="A fixed-point version of the Ogg Vorbis decoder (also known as libvorbisidec)"
+HOMEPAGE="https://wiki.xiph.org/Tremor"
+SRC_URI="https://dev.gentoo.org/~ssuominen/${P}.tar.xz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="low-accuracy"
+
+RDEPEND=">=media-libs/libogg-1.3.0:=[${MULTILIB_USEDEP}]"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-out-of-bounds-write.patch
+ "${FILESDIR}"/${P}-autoconf.patch
+ "${FILESDIR}"/${P}-pkgconfig.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+multilib_src_configure() {
+ ECONF_SOURCE="${S}" econf $(use_enable low-accuracy)
+}
+
+multilib_src_install_all() {
+ HTML_DOCS=( doc/. )
+ einstalldocs
+
+ find "${ED}" -name '*.la' -type f -delete || die
+}