diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-31 11:48:59 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-31 11:48:59 +0000 |
commit | 0c7c7c833ab740636f5a76d53ebe5bb6e0e793a8 (patch) | |
tree | c54041f822e7291ee0e13d0fa320d348bacdf4d9 /media-libs/openh264 | |
parent | 14cf0565bbb816bd0cf9ecd14bec28dacfac2d57 (diff) |
gentoo auto-resync : 31:01:2024 - 11:48:58
Diffstat (limited to 'media-libs/openh264')
-rw-r--r-- | media-libs/openh264/Manifest | 1 | ||||
-rw-r--r-- | media-libs/openh264/openh264-2.4.0.ebuild | 134 |
2 files changed, 0 insertions, 135 deletions
diff --git a/media-libs/openh264/Manifest b/media-libs/openh264/Manifest index 5847ac22f266..4e6d1b13f051 100644 --- a/media-libs/openh264/Manifest +++ b/media-libs/openh264/Manifest @@ -7,5 +7,4 @@ DIST openh264-2.3.1.tar.gz 60290897 BLAKE2B b4480150cfe7c44b89c7b294698db06f93d9 DIST openh264-2.4.0.tar.gz 60297968 BLAKE2B d725896979e8178277e304ac0d94e59f0971a7f0f443f6dee0abffbadc53cce8ba7fe6612a966c697296bf46c3035bd03ac9a65e63d6d87853317b178b06a236 SHA512 dc66986e84ad328e1615384e7bff93d6eaac42a68e87d9c9b59f55d9f90efd13dc87637a7e3b8c9694634dfa82351c5944828f3f478286608e362e014dd70ca1 EBUILD openh264-2.3.1-r3.ebuild 3949 BLAKE2B 68b79ae51de85dc5c4c19fe2f1d5460ce8d0a076e3201d68cafbe0155d9c2d49f127919e30b1d16ce6dc8b0b2359bcdbf8d586c42c95cef2b77afc072fb4f91b SHA512 50aec0bab131871d007a1915c5305b76ea3e1c1f91741ab3596d05a6ac8b0269e57243e4b0ed2a56464c5ddce8a95916a4f8035a1bf5440c4dab75ea09e404fb EBUILD openh264-2.4.0-r1.ebuild 4080 BLAKE2B b140349a73c9e1ced397a36b2ffdc5c2461ae2b17c8d2666c40877574b024e65d8a7a8ea8528ebe45a3f749b71f5a95e9a82db6e662ffcdf8888abcc8208c615 SHA512 bd6bdf419ab3c7a700bdb4d4fdda7a0568baa09ba7c3adcb17197501f92e1fdf60e8257412d124c35f9ae2902eda70fedb411639f7cdb37e6d6bde92ae4e137d -EBUILD openh264-2.4.0.ebuild 3955 BLAKE2B 6c1bf0aeb775ea849951b3357debc87ecc80887db474b954ed2eb9cdc17e24f2145eded1aa45aa70844726f529b5680b57310a28c6f774c79ea197b89f703921 SHA512 7c91350363615cc9327d6deba0433d4326a8686303763ff2aef19d83e36913f2b68d19c6e9709257e2f770e26cd05ff442c7d7d4c019f4c0b0e346d48c96e09f MISC metadata.xml 627 BLAKE2B aa6bcd394a1b792f8d0fc89030f34df7f0366f049f52ee11a90af301ca901a07acfc1d34a0d6d237a7d713db53b707b3b9f08d3c86574d6067f6ff7e8cf99c3a SHA512 55a7a5ee5f716e9eb1e5711d45a93fe27f057b54240511de72ade7f88c53eeac72f1bf1b524d22278c0fafbea70e1b5892262ee1b97370d70a0258bad7220e30 diff --git a/media-libs/openh264/openh264-2.4.0.ebuild b/media-libs/openh264/openh264-2.4.0.ebuild deleted file mode 100644 index f97e1deaaf35..000000000000 --- a/media-libs/openh264/openh264-2.4.0.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs multilib-minimal - -MOZVER=114_2 -MY_GMP_COMMIT="e7d30b921df736a1121a0c8e0cf3ab1ce5b8a4b7" - -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/7" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="cpu_flags_arm_neon cpu_flags_x86_avx2 +plugin test utils" - -RESTRICT="bindist !test? ( test )" - -BDEPEND=" - abi_x86_32? ( dev-lang/nasm ) - abi_x86_64? ( dev-lang/nasm ) - test? ( dev-cpp/gtest[${MULTILIB_USEDEP}] )" - -DOCS=( LICENSE CONTRIBUTORS README.md ) - -PATCHES=( - "${FILESDIR}"/openh264-2.3.0-pkgconfig-pathfix.patch - "${FILESDIR}"/${PN}-2.3.1-pr3630.patch -) - -src_prepare() { - default - - ln -svf "/dev/null" "build/gtest-targets.mk" || die - sed -i -e 's/$(LIBPREFIX)gtest.$(LIBSUFFIX)//g' Makefile || die - - 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) \ - HAVE_GTEST=$(usex test Yes No) \ - ARCH="$(tc-arch)" \ - ENABLEPIC="Yes" \ - $@ -} - -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_test() { - emakecmd test -} - -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 -} |