diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
commit | d934827bf44b7cfcf6711964418148fa60877668 (patch) | |
tree | 0625f358789b5e015e49db139cc1dbc9be00428f /media-libs/a52dec | |
parent | 2e34d110f164bf74d55fced27fe0000201b3eec5 (diff) |
gentoo resync : 25.11.2020
Diffstat (limited to 'media-libs/a52dec')
-rw-r--r-- | media-libs/a52dec/Manifest | 3 | ||||
-rw-r--r-- | media-libs/a52dec/a52dec-0.7.4-r8.ebuild | 63 | ||||
-rw-r--r-- | media-libs/a52dec/files/a52dec-0.7.4-freebsd.patch | 4 |
3 files changed, 67 insertions, 3 deletions
diff --git a/media-libs/a52dec/Manifest b/media-libs/a52dec/Manifest index 43d87063967d..e9325e5ac6ff 100644 --- a/media-libs/a52dec/Manifest +++ b/media-libs/a52dec/Manifest @@ -1,8 +1,9 @@ AUX a52dec-0.7.4-build.patch 1113 BLAKE2B 21d323abd6c7cb14d9ea5b1d6e8b2ab3926c5cc1a3e2eac14cc08bd51f72046dd4af8d054070fba714b079835d936f342ed308fd445721290fdd1a01198cae31 SHA512 eee40a2871c00fc704fa49d3192a41ceadc4cf7e80d7d7cf368aa2a3e7ebb786f39ef835bdffca5685bf054316a9bacf87556b9a0c90868dbf29e7269873806e -AUX a52dec-0.7.4-freebsd.patch 343 BLAKE2B faa25733684a22eb18f27c34fec4d776e00d19999094fb2c32ec0b335d8504ea810956da727df960370cdbcfeeb912275f47f24340f65bc85a0a4935a6647dfd SHA512 3e448e36b4c0720df634efcfd1f5be50d404131e250a05d58396e9a74d92f2ea7f2d0de7b0394bf138ce033aa31d8e7fb3512e778c5b5f97f04d7dfb2ce6b964 +AUX a52dec-0.7.4-freebsd.patch 295 BLAKE2B a927fb15b6e7afbd52ebb75d1d99430d8d91048c1c6841eb9ffff7f3db95abfe967dc3c6a622753749e5fef38f4e61845f3a3295bb3153fb4eda874613f14fac SHA512 046d1dd0342836a8562d7aa997c61b6efad1240d07fbc769c19985780a07fc9990ad9429e952d9769636065fb916c69f8240d1e5ca1aae84717694e0afe4e8a2 AUX a52dec-0.7.4-test-hidden-symbols.patch 637 BLAKE2B 542d1bfbf8722d900b25fa6bce240924e82ca1b903a308634b23c23acf59e606adbad54951da39b3c1c60cf95fe9c8bad87da09cb10894ac82de3e670b199cca SHA512 097f4f9cb82f01cb42e5536bfb4fa5ed6cbe85da5f4a31c19e83e1d1e73f8724a3828f0585834142f861bad3417fb9c55b21581def85733278870c3c48c2e8fd AUX a52dec-0.7.4-tests-optional.patch 299 BLAKE2B af245be87277559c2fbc1695180d4e451ccc6a76157111d57fa86992c4cd4dd59e166b7a68a7d799bdda56d0ac5ae3ddfe5c433cbccf6eef4a999e2b336eda0e SHA512 9f5c0afbfd656287eafeba04eed34070f53a77cb53981d64ff71edb96bef6cc2c0638e0be6647086cbad87ead97aa0215cd6cb413258d0122bc3f45bcf4480b1 DIST a52dec-0.7.4.tar.gz 241507 BLAKE2B e8475b391a3afe77883f5683f58a64d2babfcf93c08a3bcbd0208476323e9c86c5d268d2738efddd2093a1c47886deb22185cb8f00c4ec8b4153f64e1af1f49e SHA512 4b26fe9492f218b775fb190b76ecf06edaeb656adfe6dcbd24d0a0f86871c3ba917edb88a398eb12dccedaa1605b6f0a0be06b09f9fddd9a46e457b7dd244848 EBUILD a52dec-0.7.4-r6.ebuild 1413 BLAKE2B 45ebb82ffca81f3f3c1bb3344ecce998e1cd5a7299af97e1451cd50f43b74c45380a717e991aa0a66f20da86f918602eed72746227111d8ae915f51a8b3f9744 SHA512 50170b8a1fd4218ea832fb305fd6366ef28bcfbbd41dc4cde438e9d94ace3d476a35d845ae6204e49efb4f1b87db1baa646f202f2deead042d2cfc75bb62fe5e EBUILD a52dec-0.7.4-r7.ebuild 1543 BLAKE2B cbb898b79f8c8bdd8daaaff8fc186b8ca9c3f24d2f8c28cf2206298384eb84ba449903106673b02e746c5fe7f757a4639df1f218b63cc4f15746dec7adfe442c SHA512 2a93b8d533c84ad430c16fe0242317da4b09fd32fdefa550c99a2c682dacadb4ac03e96ece2cc4641a0021adcdf7a6011cfcd2226245b023ed42a02e7926706a +EBUILD a52dec-0.7.4-r8.ebuild 1452 BLAKE2B 77c734fd419292c20f4e2676ba7390d53bf989c82238f47ecf5f52cd33fd2f208e0bdc2a941736a2287e64f246f5c750b10caef8e650ab072ae4d7464efddd30 SHA512 58e2c6eeb982ad13eb362d7a2d6f9704528120ea3bc435b33340f2ae022f829d3767eb201c4612daa4a1a3b255c4b38d05fe6e468449c63c40dea8e5f07acf59 MISC metadata.xml 442 BLAKE2B 6e92f797dedf977ed4dd7321249af91b56488c98f9bb64cc8df4fd1ed1012a501d0f49ef5cb063d52e0636583dca77c4376df2e1071da889f598415aa91d801a SHA512 acc8d37733d5efebd4e65401dfff5926a64e13f641dd383343a26b666fe13963191782990ec4571c18803584808b249cb60646a06d91437f0a6793237eb99ca0 diff --git a/media-libs/a52dec/a52dec-0.7.4-r8.ebuild b/media-libs/a52dec/a52dec-0.7.4-r8.ebuild new file mode 100644 index 000000000000..e32e97439eda --- /dev/null +++ b/media-libs/a52dec/a52dec-0.7.4-r8.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools flag-o-matic multilib-minimal + +DESCRIPTION="library for decoding ATSC A/52 streams used in DVD" +HOMEPAGE="http://liba52.sourceforge.net/" +SRC_URI="http://liba52.sourceforge.net/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="djbfft oss" + +RDEPEND="djbfft? ( >=sci-libs/djbfft-0.76-r2[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-build.patch + "${FILESDIR}"/${P}-freebsd.patch + "${FILESDIR}"/${P}-tests-optional.patch + "${FILESDIR}"/${P}-test-hidden-symbols.patch +) + +src_prepare() { + default + + sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.in || die #466978 + mv configure.{in,ac} || die + + eautoreconf + + filter-flags -fprefetch-loop-arrays +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + --disable-static \ + --enable-shared \ + $(use_enable djbfft) \ + $(usex oss '' --disable-oss) + + # remove useless subdirs + if ! multilib_is_native_abi; then + sed -i \ + -e 's/ src//' \ + -e 's/ libao//' \ + Makefile || die + fi +} + +multilib_src_compile() { + emake CFLAGS="${CFLAGS}" +} + +multilib_src_install_all() { + einstalldocs + dodoc HISTORY doc/liba52.txt + + find "${ED}" -name '*.la' -type f -delete || die +} diff --git a/media-libs/a52dec/files/a52dec-0.7.4-freebsd.patch b/media-libs/a52dec/files/a52dec-0.7.4-freebsd.patch index 6e33f18911b3..13d83bd3b67d 100644 --- a/media-libs/a52dec/files/a52dec-0.7.4-freebsd.patch +++ b/media-libs/a52dec/files/a52dec-0.7.4-freebsd.patch @@ -1,5 +1,5 @@ ---- libao/audio_out_oss.c 2002-04-28 12:23:02 +0200 -+++ libao/audio_out_oss.c 2005-07-23 15:42:50 +0200 +--- a/libao/audio_out_oss.c ++++ b/libao/audio_out_oss.c @@ -35,7 +35,7 @@ #if defined(__OpenBSD__) #include <soundcard.h> |