diff options
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/Manifest.gz | bin | 66142 -> 66137 bytes | |||
-rw-r--r-- | media-libs/openal/Manifest | 2 | ||||
-rw-r--r-- | media-libs/openal/openal-1.22.2-r1.ebuild | 2 | ||||
-rw-r--r-- | media-libs/openh264/Manifest | 2 | ||||
-rw-r--r-- | media-libs/openh264/openh264-2.3.1.ebuild | 121 | ||||
-rw-r--r-- | media-libs/suil/Manifest | 2 | ||||
-rw-r--r-- | media-libs/suil/suil-0.10.16-r1.ebuild | 2 |
7 files changed, 127 insertions, 4 deletions
diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz Binary files differindex c0c7e182f2c7..f0cc2720ebdb 100644 --- a/media-libs/Manifest.gz +++ b/media-libs/Manifest.gz diff --git a/media-libs/openal/Manifest b/media-libs/openal/Manifest index e0d3b2197274..aae544b09366 100644 --- a/media-libs/openal/Manifest +++ b/media-libs/openal/Manifest @@ -1,4 +1,4 @@ DIST openal-soft-1.22.2.tar.bz2 606151 BLAKE2B 78cb5ad38635908a59850aeb511223fd6a28f7699294836cbbfdd09cbfd9016250d68b26115131a7cb4af5d5d0a4d2cbd52813d813f78a045b797c5fb601bc7a SHA512 2271968955d55746caf514b6d4304d09d5e552d5640552e2503186ef36bc872a836804ebf79ffbda663931bd13d4e2ce53e0c46cc4faf4134bdb3c08983a5e47 -EBUILD openal-1.22.2-r1.ebuild 2886 BLAKE2B 99c3676c9813778a3585e487ae38977c9e6893f84d596a3f1941ac7a5d54696fb0b0a0f60ebae91cab7de05ed5bcc0069c8d2fc6b55dd88ac960c0bb1a20df0b SHA512 72d6a484c189180ab76e8702f620048e68ae6ca90daa386be3f92021ba2d6d91903f2387210b5f2b8da029bbdbcebf48bc1b73d71a298fcf6ac0e4954c001cb0 +EBUILD openal-1.22.2-r1.ebuild 2884 BLAKE2B d0a23844ea09afa92c58e055b2d53a515d505545583c117dc02512bfb171167c652636d71ca9c69f2eb4559adb69ecbaccb2e10dcecbc241d71cbee28894a63b SHA512 3c6d80bbc93e518f50e47470af6e6a537031a14f07534d343b5ac35c96241e1dc75103caf4d016f001564d1e14e918fe5ad107604b6ba58a4fa272704dc7adc8 EBUILD openal-1.22.2.ebuild 2473 BLAKE2B 317e5e42519896c839d2430a9a233627b6d7f124b197314c797c9df3df7b54ee8f85abcfaba97a15a4407f4c3ec69a9fead8874ebd9add0b0915e68eed9de358 SHA512 868514e77c80fe8917ee56298915443bc5a6869d02409f8d17a080b94078e704791016d4d9e564b1191a30d17c031695fe6e712a64a7b6526ad3419f6c04220f MISC metadata.xml 538 BLAKE2B 4b9dc398e2edd4930ade6cffbe1e39776bc3a0a1aa5ea2fa4753d8756517f7d2efc3e22ce31eef1f79dee9dc1d1f5c4ca945f1d5b54a7ffac081173f8bb6ffc1 SHA512 9e817af11955ef748ea11979a1da99c046ca4f45f812f1555f9dcd0606ca16e8d027de9588d792170faf81a42a091cc8d5edffff1d12d99128f08f688f685462 diff --git a/media-libs/openal/openal-1.22.2-r1.ebuild b/media-libs/openal/openal-1.22.2-r1.ebuild index 68c7bc35d077..2db87f581f6b 100644 --- a/media-libs/openal/openal-1.22.2-r1.ebuild +++ b/media-libs/openal/openal-1.22.2-r1.ebuild @@ -19,7 +19,7 @@ S="${WORKDIR}"/${MY_P} # Some components are under BSD LICENSE="LGPL-2+ BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE=" alsa coreaudio debug jack oss pipewire portaudio pulseaudio sdl sndio qt5 cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse4_1 diff --git a/media-libs/openh264/Manifest b/media-libs/openh264/Manifest index 9ee0308619a9..852fa47759dc 100644 --- a/media-libs/openh264/Manifest +++ b/media-libs/openh264/Manifest @@ -1,5 +1,7 @@ AUX openh264-2.3.0-pkgconfig-pathfix.patch 2023 BLAKE2B 9d380302efe14b45959123f69591aed9f552a954dd9f2f079ba1dc95edfc59869db9ece0ea65d52e58201829e0e4bb791f0380b36b35d288b40769c1c144005e SHA512 24fb7e1bf54d5c1512dab9f5b6cbd61863022d99a1a5d07d5a69037ad3b3857f2ac01fdfae4a1477f1b200c8a4b107247fb9f46af1219e71220e55167f1620ec DIST gmp-api-Firefox39-3a01c086d1b0394238ff1b5ad22e76022830625a.tar.gz 10464 BLAKE2B db6990a55b4128c267ee5ffa4e38edd2551c862e549776b4092d5683818001366665830c6304642cdd9c2c0afe06035edebafde769693082ae7a5236cdc463e8 SHA512 a6383834391d98754177b54df31d006144b5cad952df60115fd12fb6f0c87e571a10f9ce7276b817e4137efd97ffa7bca5092e289b0eb7cde2a3ad923319e874 DIST openh264-2.3.0.tar.gz 60290792 BLAKE2B 08aa571471188c72bb0f098fa1cfaf9ba46ee4311f50518de868a2d7bbd61d9d4547cf5d33b3140d56c09a1ea7ea411bfaa96ed960e159876e6cc803f081b5d3 SHA512 5f0ccbb3c0026a010d9830e973312486f9d5ea8152afa3653ab6b3c43906a1169cebea70532134c1624846cc03b586e85b12cfd0621af505bd532a7dd833defd +DIST openh264-2.3.1.tar.gz 60290897 BLAKE2B b4480150cfe7c44b89c7b294698db06f93d96f5f9f3ef4345108c4e360e99bc6133407cead54e720e6e74aa17ab9f2e4342287a42f19463a54eb44c9d3141c80 SHA512 fd59c767794cdfb934d692d5929e4500d78606cbf1e403bc7c7dce048cc07e40daa0794357adb856d29479427a53460c76338e156b6bbeaa36139afcd603c8e1 EBUILD openh264-2.3.0.ebuild 3618 BLAKE2B 9ea4acd09a5c2281a99a576974bf3d0348fd54377349a68fb94ff983051a6f27a4a59c8b756124e48cdab8e92dfa336558e804ab80da4fd15cb271428de45977 SHA512 6cc32135588b0da11776558c210e7bc8ddca89f4028d4ad1fe283c046b08b058eac6404320937f7d1c6e3ac17fbaa14f7f04f505a1915d68fa2b393c72691efa +EBUILD openh264-2.3.1.ebuild 3625 BLAKE2B 013276c1c0d079587e57cb1b2cfaa9734508edf4bd332d70d70d652a66dfa008af7669c1c9034e53dc1eeba6a72e0acacb8c47a19ba33ceef76494f15f037182 SHA512 c36ebf8476265e62fec0460cbf418379c4d12167295b7ad3d408712aecff2584c82931d6b4938c6128c2f00491b441b3bcdb29e654809e7e1ae5e167a37040db MISC metadata.xml 569 BLAKE2B 14a021fba978f0156bab46178d05a6b9f8f67fdeba784d587759207fe60ea1d74a383eec3fc40662c39d33fcecb71d8cafe7eb6354383c253e0a3f7f1e94feae SHA512 ceb77117c6a50f16640b329368c86db26127b8e501475dbaca4c53ba41315b0fc7161f6d9268cb86d1f6dbf2cf867e2bb0e6b5f45240ab3227b99b734c344efd diff --git a/media-libs/openh264/openh264-2.3.1.ebuild b/media-libs/openh264/openh264-2.3.1.ebuild new file mode 100644 index 000000000000..518d3060fe18 --- /dev/null +++ b/media-libs/openh264/openh264-2.3.1.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs multilib-minimal + +MOZVER=39 +MY_GMP_COMMIT="3a01c086d1b0394238ff1b5ad22e76022830625a" + +DESCRIPTION="Cisco OpenH264 library and Gecko Media Plugin for Mozilla packages" +HOMEPAGE="https://www.openh264.org/ https://github.com/cisco/openh264" +SRC_URI="https://github.com/cisco/openh264/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/mozilla/gmp-api/archive/${MY_GMP_COMMIT}.tar.gz -> gmp-api-Firefox${MOZVER}-${MY_GMP_COMMIT}.tar.gz" +LICENSE="BSD" + +# openh264 soname version. +# (2.2.0 needed a minor bump due to undocumented but breaking ABI changes, just to be sure. +# https://github.com/cisco/openh264/issues/3459 ) +SLOT="0/6.1" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="cpu_flags_arm_neon cpu_flags_x86_avx2 +plugin utils" + +RESTRICT="bindist test" + +BDEPEND=" + abi_x86_32? ( dev-lang/nasm ) + abi_x86_64? ( dev-lang/nasm )" + +DOCS=( LICENSE CONTRIBUTORS README.md ) + +PATCHES=( "${FILESDIR}"/openh264-2.3.0-pkgconfig-pathfix.patch ) + +src_prepare() { + default + + sed -i -e 's/ | generate-version//g' Makefile || die + sed -e 's|$FULL_VERSION|""|g' codec/common/inc/version_gen.h.template > \ + codec/common/inc/version_gen.h + + multilib_copy_sources +} + +multilib_src_configure() { + ln -s "${WORKDIR}"/gmp-api-${MY_GMP_COMMIT} gmp-api || die +} + +emakecmd() { + CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" AR="$(tc-getAR)" \ + emake V=Yes CFLAGS_M32="" CFLAGS_M64="" CFLAGS_OPT="" \ + PREFIX="${EPREFIX}/usr" \ + LIBDIR_NAME="$(get_libdir)" \ + SHAREDLIB_DIR="${EPREFIX}/usr/$(get_libdir)" \ + INCLUDES_DIR="${EPREFIX}/usr/include/${PN}" \ + HAVE_AVX2=$(usex cpu_flags_x86_avx2 Yes No) \ + ARCH="$(tc-arch)" \ + $@ +} + +multilib_src_compile() { + local myopts="ENABLE64BIT=No" + case "${ABI}" in + s390x|alpha|*64) myopts="ENABLE64BIT=Yes";; + esac + + if use arm; then + myopts+=" USE_ASM=$(usex cpu_flags_arm_neon Yes No)" + fi + + emakecmd ${myopts} + use plugin && emakecmd ${myopts} plugin +} + +multilib_src_install() { + emakecmd DESTDIR="${D}" install-shared + + if use utils; then + newbin h264enc openh264enc + newbin h264dec openh264dec + fi + + if use plugin; then + local plugpath="${ROOT}/usr/$(get_libdir)/nsbrowser/plugins/gmp-gmp${PN}/system-installed" + insinto "${plugpath}" + doins libgmpopenh264.so* gmpopenh264.info + echo "MOZ_GMP_PATH=\"${plugpath}\"" >"${T}"/98-moz-gmp-${PN} + doenvd "${T}"/98-moz-gmp-${PN} + + cat <<PREFEOF >"${T}"/${P}.js +pref("media.gmp-gmp${PN}.autoupdate", false); +pref("media.gmp-gmp${PN}.version", "system-installed"); +PREFEOF + + insinto /usr/$(get_libdir)/firefox/defaults/pref + newins "${T}"/${P}.js ${PN}-${PV/_p*/}.js + + insinto /usr/$(get_libdir)/seamonkey/defaults/pref + newins "${T}"/${P}.js ${PN}-${PV/_p*/}.js + fi +} + +pkg_postinst() { + if use plugin; then + if [[ -z ${REPLACING_VERSIONS} ]]; then + elog "Please restart your login session, in order for the session's environment" + elog "to include the new MOZ_GMP_PATH variable." + elog "" + fi + elog "This package attempts to override the Mozilla GMPInstaller auto-update process," + elog "however even if it is not successful in doing so the profile-installed plugin" + elog "will not be used unless this package is removed. This package will take precedence" + elog "over any gmp-gmpopenh264 that may be installed in a user's profile." + elog "" + fi + + if use utils; then + elog "Utilities h264enc and h264dec are installed as openh264enc and openh264dec" + elog "to avoid file collisions with media-video/h264enc" + elog "" + fi +} diff --git a/media-libs/suil/Manifest b/media-libs/suil/Manifest index 64e22be1f0d7..2410eb47c9b4 100644 --- a/media-libs/suil/Manifest +++ b/media-libs/suil/Manifest @@ -3,5 +3,5 @@ DIST suil-0.10.14.tar.xz 33620 BLAKE2B 8ad873ade71ee6f5ba9c8560e116d8de86d8a919c DIST suil-0.10.16.tar.xz 33744 BLAKE2B 614217013b39215f4b6d9414451a55fbca42dd038c6bc961d3769660707bf2da45432c97628edef8dacb8630437bcb304d10616ced2fd9cf9a6a4d094f196f6c SHA512 9b1dac07b017934a93f70d514ec477785683e7ed5949b62a2c4ad139c1e84265399f54d3140dcf0e542d20a0919286aacb52103c91e2f6fc7ebd707db2d98ac4 EBUILD suil-0.10.12.ebuild 1067 BLAKE2B f4d2fe9dc9af625225b401572446c6a53292e7f80a1d863a5daaf1718fdf758a3c5e6445f2aa4914bae865d6b56f1489b19ef086a4a4df56e5e89db407ede7d3 SHA512 e720c79edcc253b081577347ec7d82fbe03182403e608bfe9b8d5badf1ee08ab4992e3f9a00e4a1d43e9aed04710f6d0dc8698a5a7795f2f0efadb9c7a2df585 EBUILD suil-0.10.14.ebuild 1079 BLAKE2B f7b12cb31c17b65f94c739929736dabe62118cc63cd9d497caf122467b0ec5be9b67d688a518db370fba44388db710266c868de62a127201c97a774df8259f7e SHA512 06426c6fbb3ae2e6c4e79fa3e3d5df53aee7b0c51e053d081035f840bafbcf6e0a92913567c2be1ae948573496222d0dee1dcb0a03955af8c175e70a370b16de -EBUILD suil-0.10.16-r1.ebuild 1224 BLAKE2B 32121d681c742680cda4bba03f9ac18f06ae395815f28cc8cc734d43e9c6a0058c5392fbea4dd4912f006734a52ddaef60a812b64614f9a89f180d61e829ae6d SHA512 049c33406e399a58d486cbe31ebad8025d8e9044a321ad524b7cd053261497ab1fe737673891d972b97d92fc44eebbf88a040f7a07273527384ca55503f2d54a +EBUILD suil-0.10.16-r1.ebuild 1222 BLAKE2B 167d8505044bc65cd19cbe7b8f66885e204988184ce41d74ca8f6e8aa16e28f870dc24c5b18507951921aa708c88065afe14beb57b35004de4bb005e5e59b178 SHA512 a1e94422f2e9ee98882dd6126d88beaf6d6589819814c70d80ebe83484fd85271a388ce79d40e469b8011e1571b4dccd3a9e333a673caf430b34d2769c190e0e MISC metadata.xml 561 BLAKE2B c2a96aa27533596af606b3b63c853b37d35503748f042d4b69cbb2a17568fc62acad26562fca3564d5f80a0d39227984191b28a78082e6ecfd47a3cef7bb5e32 SHA512 dc4919cfa4180f4ee402a833e69aae86d5d04d28f085e5f26228f8001cb2d04a7547bb17048960e74e4c8925291c043974bcdeb318b20089604ff189c4001261 diff --git a/media-libs/suil/suil-0.10.16-r1.ebuild b/media-libs/suil/suil-0.10.16-r1.ebuild index 710d7c1ed85d..be39318fbe65 100644 --- a/media-libs/suil/suil-0.10.16-r1.ebuild +++ b/media-libs/suil/suil-0.10.16-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://download.drobilla.net/${P}.tar.xz" LICENSE="ISC" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="~amd64 ~arm64 ppc ppc64 ~riscv ~x86" IUSE="doc gtk gtk2 qt5 X" BDEPEND=" |