summaryrefslogtreecommitdiff
path: root/media-libs/tremor
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-10-17 01:41:11 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-10-17 01:41:11 +0000
commit3d498ef72631d4b3dcf8154bc081f603baf932fe (patch)
tree9993f6456488c26f74ecfb0fd52c2471cf9df14c /media-libs/tremor
parentb81bb148afa7638325497a38e2eb6d57d1559dfb (diff)
downloadbaldeagleos-repo-3d498ef72631d4b3dcf8154bc081f603baf932fe.tar.gz
baldeagleos-repo-3d498ef72631d4b3dcf8154bc081f603baf932fe.tar.xz
baldeagleos-repo-3d498ef72631d4b3dcf8154bc081f603baf932fe.zip
Adding metadata
Diffstat (limited to 'media-libs/tremor')
-rw-r--r--media-libs/tremor/files/tremor-0_pre20130223-autoconf.patch26
-rw-r--r--media-libs/tremor/tremor-0_pre20130223-r2.ebuild32
2 files changed, 37 insertions, 21 deletions
diff --git a/media-libs/tremor/files/tremor-0_pre20130223-autoconf.patch b/media-libs/tremor/files/tremor-0_pre20130223-autoconf.patch
new file mode 100644
index 000000000000..97dda9ffac9e
--- /dev/null
+++ b/media-libs/tremor/files/tremor-0_pre20130223-autoconf.patch
@@ -0,0 +1,26 @@
+--- a/configure.in
++++ b/configure.in
+@@ -9,7 +9,7 @@
+ AC_CANONICAL_HOST
+ AC_CANONICAL_TARGET
+
+-AM_CONFIG_HEADER([config.h])
++AC_CONFIG_HEADERS([config.h])
+
+ AM_INIT_AUTOMAKE(libvorbisidec,1.2.1)
+
+@@ -62,12 +62,12 @@
+ case $host in
+ arm-*-*)
+ DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char -D_ARM_ASSEM_"
+- CFLAGS="-O2 -D_ARM_ASSEM_ -fsigned-char"
++ CFLAGS=" -D_ARM_ASSEM_ -fsigned-char"
+ PROFILE="-W -pg -g -O2 -D_ARM_ASSEM_ -fsigned-char -fno-inline-functions";;
+
+ *)
+ DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char"
+- CFLAGS="-O2 -Wall -fsigned-char"
++ CFLAGS=" -Wall -fsigned-char"
+ PROFILE="-Wall -pg -g -O2 -fsigned-char -fno-inline-functions";;
+ esac
+ fi
diff --git a/media-libs/tremor/tremor-0_pre20130223-r2.ebuild b/media-libs/tremor/tremor-0_pre20130223-r2.ebuild
index dd8a83316d28..1fa4c476ded3 100644
--- a/media-libs/tremor/tremor-0_pre20130223-r2.ebuild
+++ b/media-libs/tremor/tremor-0_pre20130223-r2.ebuild
@@ -1,11 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=8
-# svn export http://svn.xiph.org/trunk/Tremor tremor-${PV}
-
-inherit autotools eutils multilib-minimal
+inherit autotools multilib-minimal
DESCRIPTION="A fixed-point version of the Ogg Vorbis decoder (also known as libvorbisidec)"
HOMEPAGE="https://wiki.xiph.org/Tremor"
@@ -14,37 +12,29 @@ 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 static-libs"
+IUSE="low-accuracy"
RDEPEND=">=media-libs/libogg-1.3.0:=[${MULTILIB_USEDEP}]"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-DOCS=( "CHANGELOG" "README" )
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}"/${P}-out-of-bounds-write.patch
+ "${FILESDIR}"/${P}-autoconf.patch
)
src_prepare() {
- epatch "${PATCHES[@]}"
-
- sed -i \
- -e '/CFLAGS/s:-O2::' \
- -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' \
- configure.in || die
-
+ default
eautoreconf
}
multilib_src_configure() {
- ECONF_SOURCE="${S}" econf \
- $(use_enable static-libs static) \
- $(use_enable low-accuracy)
+ ECONF_SOURCE="${S}" econf $(use_enable low-accuracy)
}
multilib_src_install_all() {
+ HTML_DOCS=( doc/. )
einstalldocs
- dohtml -r doc/*
- find "${D}" -name '*.la' -type f -delete || die
+
+ find "${ED}" -name '*.la' -type f -delete || die
}