* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2015-10-16 10:20 Alexis Ballier
0 siblings, 0 replies; 114+ messages in thread
From: Alexis Ballier @ 2015-10-16 10:20 UTC (permalink / raw
To: gentoo-commits
commit: 38e5a3b51a4190a5dd8beb306202bec4f9801dbd
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 16 10:19:55 2015 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Fri Oct 16 10:19:55 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38e5a3b5
media-libs/openh264: Add video herd, bug #561332.
Package-Manager: portage-2.2.23
media-libs/openh264/metadata.xml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/media-libs/openh264/metadata.xml b/media-libs/openh264/metadata.xml
index cc2cd19..59898d1 100644
--- a/media-libs/openh264/metadata.xml
+++ b/media-libs/openh264/metadata.xml
@@ -1,10 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+ <herd>video</herd>
<maintainer>
<email>axs@gentoo.org</email>
<name>Ian Stakenvicius</name>
</maintainer>
+ <maintainer>
+ <email>media-video@gentoo.org</email>
+ </maintainer>
<use>
<flag name="plugin">Install the Gecko Media Plugin (GMP) for use with Mozilla packages</flag>
<flag name="utils">Install the CLI encoder and decoder utilities</flag>
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2016-02-17 17:44 Ian Stakenvicius
0 siblings, 0 replies; 114+ messages in thread
From: Ian Stakenvicius @ 2016-02-17 17:44 UTC (permalink / raw
To: gentoo-commits
commit: 1aca0635f50587bbfcfa13cef5451688032f8a6d
Author: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 17 17:07:32 2016 +0000
Commit: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Wed Feb 17 17:43:43 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1aca0635
media-libs/openh264: drop old
Package-Manager: portage-2.2.26
media-libs/openh264/Manifest | 3 -
media-libs/openh264/openh264-1.2_p20141104.ebuild | 74 ------------------
media-libs/openh264/openh264-1.3.1.ebuild | 78 -------------------
media-libs/openh264/openh264-1.4.0.ebuild | 92 -----------------------
4 files changed, 247 deletions(-)
diff --git a/media-libs/openh264/Manifest b/media-libs/openh264/Manifest
index 8e367fe..5096e9f 100644
--- a/media-libs/openh264/Manifest
+++ b/media-libs/openh264/Manifest
@@ -1,5 +1,2 @@
-DIST gmp-api-Firefox36.tar.gz 15182 SHA256 2cdc1284a939cda0a6fe45a8c798637cc7d959c9d757d5b0c6d2dc650a037624 SHA512 69f367a83cca01c046abf1e6d4fdb2e1587d321ffd5c7795d33ce6b271e9e9ea588e1c363ac84c3e690410e79aa73cdf64b8f12e4726392b1adbe1a1900e4bd8 WHIRLPOOL c218e9e8ae80a84495f495dcaf545eae2e3fa611a43e6dd5b1e21adeda1dd000ac8160d8a1439d523395c36d939a762aadba18db724bd3c02169c47ffc1a1bc9
DIST gmp-api-Firefox38.tar.gz 16209 SHA256 6b156afe850c0d6faf0492ca5feeff4358e50ddc5ce3022ddcc6905a5bd21c80 SHA512 9aecbc84b1ba2fcfcb10c56680d92a72dd55f7ef7b8a68a3950dbce65fb7eb2c5e6a211149889f618bef2468ba1f3f8c01dc63e86e0a30d9295b019b75657eb8 WHIRLPOOL c12eb175ddf11f0ece400cc34bf9d5e690494fd4630c12667eed3765b66a625a1f9a3b41e20fc5a0c0f614eafbd75b6ddd5bd2a827077cfaac507a3f41990c42
-DIST gmp-openh264-1.2_p20141104.tar.xz 11874976 SHA256 d8359d004116eba6d2444486abd81f82f9cfedf2ab209b9586fc195d199096f8 SHA512 7acd982b54cd32ee2270967131792d869a9c72dca5ba8da796c61517e99b3a40f7c53ab6228c03f72c57f4eb9d3bef536645ee33ccf08a098f0662f97f811856 WHIRLPOOL 5d997bc9349d06f5d485ce654408d5f3cd1314ccdf10c21c25c59933ffe2c4b325ec32444bb74aa754b73fcc381b5b723df9f48989cba3e7137e8a594a47e24c
-DIST openh264-1.3.1.tar.gz 37642592 SHA256 b0a9a61840b4a58fbadd2a0640a81917c0ee84e922d2476c1dbcb9f29b85d7a0 SHA512 e85e300a85cefc89a66fdebebe2f059c2c3262518f614c660535312b3ea441064a1288824bc488b741bcffa076b165eabf998d1b535fb377516695326be625c9 WHIRLPOOL 5acc9645b65c2b75d117bcbff24554e0b9567514427bc8d9dc8e8eda0d45080600bec12cd8d435ab605f8226cfc321d1c371c292cf26d30a29a77fd187db6dc4
DIST openh264-1.4.0.tar.gz 37681189 SHA256 a1b9a7a7f1ee204793c613789a505f0971bc2b03b3dbd8f05d9c4a3f3b900a22 SHA512 8192494698cb5557331be56ecbe2b7b143e0ed95739a69a88bdb34a58f66710ef1cd9234f1e98c9b16432a41a3243634e6ca63c58119315f2f9360cb2959e42b WHIRLPOOL 0d9f1f728fbceef35a5e22a6fe4c9dd42fbf84d41fe14e938194438542af182d3994694ffcd68f58798f14c8096b49b0aecad23f58ec6bdbc02de43b8d783532
diff --git a/media-libs/openh264/openh264-1.2_p20141104.ebuild b/media-libs/openh264/openh264-1.2_p20141104.ebuild
deleted file mode 100644
index c350980..0000000
--- a/media-libs/openh264/openh264-1.2_p20141104.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit nsplugins
-
-DESCRIPTION="Cisco OpenH264 library and Gecko Media Plugin for mozilla packages"
-HOMEPAGE="http://www.openh264.org/"
-SRC_URI="https://dev.gentoo.org/~axs/distfiles/gmp-${P}.tar.xz"
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+plugin"
-
-RESTRICT="bindist"
-
-RDEPEND=""
-DEPEND="dev-lang/nasm"
-
-DOCS=( LICENSE CONTRIBUTORS README.md )
-
-S=${WORKDIR}/gmp-${P}
-
-src_compile() {
- local mybits="ENABLE64BIT=No"
- case "${ABI}" in
- s390x|alpha|*64) mybits="ENABLE64BIT=Yes";;
- esac
- emake V=Yes ${mybits}
- use plugin && emake V=Yes ${mybits} plugin
-}
-
-src_install() {
- emake PREFIX="${ED}usr" LIBPREFIX="${ED}usr/$(get_libdir)/" \
- install-headers
-
- dolib libopenh264.so
-
- if use plugin; then
- local plugpath="usr/$(get_libdir)/${PLUGINS_DIR}/gmp-gmp${PN}/system-installed"
- insinto "/${plugpath}"
- doins libgmpopenh264.so gmpopenh264.info
- echo "MOZ_GMP_PATH=\"${EROOT}${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
- doins "${T}"/${P}.js
-
- insinto /usr/$(get_libdir)/seamonkey/defaults/pref
- doins "${T}"/${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
-}
diff --git a/media-libs/openh264/openh264-1.3.1.ebuild b/media-libs/openh264/openh264-1.3.1.ebuild
deleted file mode 100644
index cd3c1cb..0000000
--- a/media-libs/openh264/openh264-1.3.1.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit nsplugins
-
-MOZVER=36
-DESCRIPTION="Cisco OpenH264 library and Gecko Media Plugin for mozilla packages"
-HOMEPAGE="http://www.openh264.org/"
-SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
- https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+plugin"
-
-RESTRICT="bindist"
-
-RDEPEND="!<www-client/firefox-${MOZVER}"
-DEPEND="dev-lang/nasm"
-
-DOCS=( LICENSE CONTRIBUTORS README.md )
-
-src_prepare() {
- ln -s ../gmp-api-Firefox${MOZVER} gmp-api
-}
-
-src_compile() {
- local mybits="ENABLE64BIT=No"
- case "${ABI}" in
- s390x|alpha|*64) mybits="ENABLE64BIT=Yes";;
- esac
- emake V=Yes ${mybits}
- use plugin && emake V=Yes ${mybits} plugin
-}
-
-src_install() {
- emake PREFIX="${ED}usr" LIBPREFIX="${ED}usr/$(get_libdir)/" \
- install-headers
-
- dolib libopenh264.so
-
- if use plugin; then
- local plugpath="usr/$(get_libdir)/${PLUGINS_DIR}/gmp-gmp${PN}/system-installed"
- insinto "/${plugpath}"
- doins libgmpopenh264.so gmpopenh264.info
- echo "MOZ_GMP_PATH=\"${EROOT}${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
- doins "${T}"/${P}.js
-
- insinto /usr/$(get_libdir)/seamonkey/defaults/pref
- doins "${T}"/${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
-}
diff --git a/media-libs/openh264/openh264-1.4.0.ebuild b/media-libs/openh264/openh264-1.4.0.ebuild
deleted file mode 100644
index 61108ff..0000000
--- a/media-libs/openh264/openh264-1.4.0.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit nsplugins multilib-minimal
-
-MOZVER=38
-DESCRIPTION="Cisco OpenH264 library and Gecko Media Plugin for Mozilla packages"
-HOMEPAGE="http://www.openh264.org/"
-SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
- https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+plugin utils"
-
-RESTRICT="bindist"
-
-RDEPEND="!<www-client/firefox-${MOZVER}"
-DEPEND="dev-lang/nasm"
-
-DOCS=( LICENSE CONTRIBUTORS README.md )
-
-src_prepare() {
- epatch "${FILESDIR}"/pkgconfig-pathfix.patch
- multilib_copy_sources
-}
-
-multilib_src_configure() {
- ln -s "${WORKDIR}"/gmp-api-Firefox${MOZVER} gmp-api || die
-}
-
-emakecmd() {
- CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
- emake V=Yes CFLAGS_M32="" CFLAGS_M64="" CFLAGS_OPT="" \
- PREFIX="${EPREFIX}/usr" \
- SHAREDLIB_DIR="${EPREFIX}/usr/$(get_libdir)" \
- INCLUDES_DIR="${EPREFIX}/usr/include/${PN}" \
- $@
-}
-
-multilib_src_compile() {
- local mybits="ENABLE64BIT=No"
- case "${ABI}" in
- s390x|alpha|*64) mybits="ENABLE64BIT=Yes";;
- esac
-
- emakecmd ${mybits} ${tgt}
- use plugin && emakecmd ${mybits} plugin
-}
-
-multilib_src_install() {
- emakecmd DESTDIR="${D}" install-shared
-
- use utils && dobin h264{enc,dec}
-
- if use plugin; then
- local plugpath="usr/$(get_libdir)/${PLUGINS_DIR}/gmp-gmp${PN}/system-installed"
- insinto "/${plugpath}"
- doins libgmpopenh264.so* gmpopenh264.info
- echo "MOZ_GMP_PATH=\"${EROOT}${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
- doins "${T}"/${P}.js
-
- insinto /usr/$(get_libdir)/seamonkey/defaults/pref
- doins "${T}"/${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
-}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2017-01-31 14:11 Alexis Ballier
0 siblings, 0 replies; 114+ messages in thread
From: Alexis Ballier @ 2017-01-31 14:11 UTC (permalink / raw
To: gentoo-commits
commit: 63fb2f3aa641a97173d26e2dc31006c5079565ff
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 31 14:11:25 2017 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Tue Jan 31 14:11:25 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63fb2f3a
media-libs/openh264: Restrict nasm dep to x86 ABIs which are the only one needing it.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
media-libs/openh264/openh264-1.5.0.ebuild | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/media-libs/openh264/openh264-1.5.0.ebuild b/media-libs/openh264/openh264-1.5.0.ebuild
index 3355074..b762907 100644
--- a/media-libs/openh264/openh264-1.5.0.ebuild
+++ b/media-libs/openh264/openh264-1.5.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -19,7 +19,9 @@ IUSE="+plugin utils"
RESTRICT="bindist"
RDEPEND="!<www-client/firefox-${MOZVER}"
-DEPEND="dev-lang/nasm"
+DEPEND="
+ abi_x86_32? ( dev-lang/nasm )
+ abi_x86_64? ( dev-lang/nasm )"
DOCS=( LICENSE CONTRIBUTORS README.md )
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2017-02-05 11:59 Jeroen Roovers
0 siblings, 0 replies; 114+ messages in thread
From: Jeroen Roovers @ 2017-02-05 11:59 UTC (permalink / raw
To: gentoo-commits
commit: d8ca7f2e6f1714e7a688c08b1505a505d6aee63b
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 5 11:54:37 2017 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sun Feb 5 11:54:37 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8ca7f2e
media-libs/openh264: Mark ~hppa (bug #574786).
Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --ignore-arches
media-libs/openh264/openh264-1.5.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-1.5.0.ebuild b/media-libs/openh264/openh264-1.5.0.ebuild
index b762907..8fa159a 100644
--- a/media-libs/openh264/openh264-1.5.0.ebuild
+++ b/media-libs/openh264/openh264-1.5.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~hppa ~x86"
IUSE="+plugin utils"
RESTRICT="bindist"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2017-02-05 12:46 Jeroen Roovers
0 siblings, 0 replies; 114+ messages in thread
From: Jeroen Roovers @ 2017-02-05 12:46 UTC (permalink / raw
To: gentoo-commits
commit: 3644af7836116faea9eaebf719574eef43501370
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 5 12:43:25 2017 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sun Feb 5 12:43:25 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3644af78
media-libs/openh264: Mark ~ppc64 (bug #574786).
Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --ignore-arches
media-libs/openh264/openh264-1.5.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-1.5.0.ebuild b/media-libs/openh264/openh264-1.5.0.ebuild
index 8fa159a..5439318 100644
--- a/media-libs/openh264/openh264-1.5.0.ebuild
+++ b/media-libs/openh264/openh264-1.5.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
+KEYWORDS="~amd64 ~hppa ~ppc64 ~x86"
IUSE="+plugin utils"
RESTRICT="bindist"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2017-02-15 15:05 Agostino Sarubbo
0 siblings, 0 replies; 114+ messages in thread
From: Agostino Sarubbo @ 2017-02-15 15:05 UTC (permalink / raw
To: gentoo-commits
commit: fd86c617145c38158647a9e9765a8974f9d59de4
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 15 15:05:27 2017 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Feb 15 15:05:27 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd86c617
media-libs/openh264: amd64 stable wrt bug #608868
Package-Manager: portage-2.3.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
media-libs/openh264/openh264-1.5.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-1.5.0.ebuild b/media-libs/openh264/openh264-1.5.0.ebuild
index 5439318119..83e933de65 100644
--- a/media-libs/openh264/openh264-1.5.0.ebuild
+++ b/media-libs/openh264/openh264-1.5.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc64 ~x86"
+KEYWORDS="amd64 ~hppa ~ppc64 ~x86"
IUSE="+plugin utils"
RESTRICT="bindist"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2017-02-15 15:56 Agostino Sarubbo
0 siblings, 0 replies; 114+ messages in thread
From: Agostino Sarubbo @ 2017-02-15 15:56 UTC (permalink / raw
To: gentoo-commits
commit: 659b9166927c86f510910eeacf89cd35e30b32dd
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 15 15:55:36 2017 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Feb 15 15:55:36 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=659b9166
media-libs/openh264: x86 stable wrt bug #608868
Package-Manager: portage-2.3.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
media-libs/openh264/openh264-1.5.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-1.5.0.ebuild b/media-libs/openh264/openh264-1.5.0.ebuild
index 83e933de65..8840be3ef0 100644
--- a/media-libs/openh264/openh264-1.5.0.ebuild
+++ b/media-libs/openh264/openh264-1.5.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="amd64 ~hppa ~ppc64 ~x86"
+KEYWORDS="amd64 ~hppa ~ppc64 x86"
IUSE="+plugin utils"
RESTRICT="bindist"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2017-02-17 17:28 Markus Meier
0 siblings, 0 replies; 114+ messages in thread
From: Markus Meier @ 2017-02-17 17:28 UTC (permalink / raw
To: gentoo-commits
commit: 1c4f4e57dd7029130c2c3aef8449b2695eee4e78
Author: Markus Meier <maekke <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 17 17:13:17 2017 +0000
Commit: Markus Meier <maekke <AT> gentoo <DOT> org>
CommitDate: Fri Feb 17 17:27:00 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c4f4e57
media-libs/openh264: add ~arm, bug #574786
Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="arm"
media-libs/openh264/openh264-1.5.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-1.5.0.ebuild b/media-libs/openh264/openh264-1.5.0.ebuild
index 8840be3ef0..e5930dc2db 100644
--- a/media-libs/openh264/openh264-1.5.0.ebuild
+++ b/media-libs/openh264/openh264-1.5.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="amd64 ~hppa ~ppc64 x86"
+KEYWORDS="amd64 ~arm ~hppa ~ppc64 x86"
IUSE="+plugin utils"
RESTRICT="bindist"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2017-02-18 8:51 Jeroen Roovers
0 siblings, 0 replies; 114+ messages in thread
From: Jeroen Roovers @ 2017-02-18 8:51 UTC (permalink / raw
To: gentoo-commits
commit: 320482ea91abd7a3226a3effd15e5d5678eaf92f
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 18 08:50:01 2017 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Feb 18 08:51:38 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=320482ea
media-libs/openh264: Stable for HPPA (bug #608868).
Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --ignore-arches
media-libs/openh264/openh264-1.5.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-1.5.0.ebuild b/media-libs/openh264/openh264-1.5.0.ebuild
index e5930dc2db..ca2198a8c6 100644
--- a/media-libs/openh264/openh264-1.5.0.ebuild
+++ b/media-libs/openh264/openh264-1.5.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="amd64 ~arm ~hppa ~ppc64 x86"
+KEYWORDS="amd64 ~arm hppa ~ppc64 x86"
IUSE="+plugin utils"
RESTRICT="bindist"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2017-02-20 19:38 Michael Weber
0 siblings, 0 replies; 114+ messages in thread
From: Michael Weber @ 2017-02-20 19:38 UTC (permalink / raw
To: gentoo-commits
commit: 05d14c5271ce2eb2d565183d3228066142ef910c
Author: Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 20 17:31:23 2017 +0000
Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Mon Feb 20 19:38:08 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05d14c52
media-libs/openh264: Add ~ppc keyword (bug 574786).
Package-Manager: Portage-2.3.3, Repoman-2.3.1
media-libs/openh264/openh264-1.5.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-1.5.0.ebuild b/media-libs/openh264/openh264-1.5.0.ebuild
index ca2198a8c6..bdf1c5f8a5 100644
--- a/media-libs/openh264/openh264-1.5.0.ebuild
+++ b/media-libs/openh264/openh264-1.5.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="amd64 ~arm hppa ~ppc64 x86"
+KEYWORDS="amd64 ~arm hppa ~ppc ~ppc64 x86"
IUSE="+plugin utils"
RESTRICT="bindist"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2017-02-22 13:19 Jeroen Roovers
0 siblings, 0 replies; 114+ messages in thread
From: Jeroen Roovers @ 2017-02-22 13:19 UTC (permalink / raw
To: gentoo-commits
commit: b3b0d871eee8eecfd2f020cf812b662b5d7f2cf8
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 22 13:15:58 2017 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Feb 22 13:18:54 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3b0d871
media-libs/openh264: Stable for PPC64 (bug #608868).
Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --ignore-arches
media-libs/openh264/openh264-1.5.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-1.5.0.ebuild b/media-libs/openh264/openh264-1.5.0.ebuild
index bdf1c5f8a5..75ea904e5a 100644
--- a/media-libs/openh264/openh264-1.5.0.ebuild
+++ b/media-libs/openh264/openh264-1.5.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="amd64 ~arm hppa ~ppc ~ppc64 x86"
+KEYWORDS="amd64 ~arm hppa ~ppc ppc64 x86"
IUSE="+plugin utils"
RESTRICT="bindist"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2017-02-22 13:22 Michael Weber
0 siblings, 0 replies; 114+ messages in thread
From: Michael Weber @ 2017-02-22 13:22 UTC (permalink / raw
To: gentoo-commits
commit: 919d8716871861208e87fd613a8eeecda9b32370
Author: Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 22 13:22:29 2017 +0000
Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Wed Feb 22 13:22:29 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=919d8716
media-libs/openh264: ppc stable (bug 608868).
Package-Manager: Portage-2.3.3, Repoman-2.3.1
media-libs/openh264/openh264-1.5.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-1.5.0.ebuild b/media-libs/openh264/openh264-1.5.0.ebuild
index 75ea904e5a..e35c59dec3 100644
--- a/media-libs/openh264/openh264-1.5.0.ebuild
+++ b/media-libs/openh264/openh264-1.5.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="amd64 ~arm hppa ~ppc ppc64 x86"
+KEYWORDS="amd64 ~arm hppa ppc ppc64 x86"
IUSE="+plugin utils"
RESTRICT="bindist"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2017-02-23 12:35 Michael Weber
0 siblings, 0 replies; 114+ messages in thread
From: Michael Weber @ 2017-02-23 12:35 UTC (permalink / raw
To: gentoo-commits
commit: 9f478143250ba1aba2a18d2bdad2ecaf065bbf07
Author: Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 23 12:34:09 2017 +0000
Commit: Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Thu Feb 23 12:34:09 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f478143
media-libs/openh264: arm stable (bug 608868)
Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="ppc64"
media-libs/openh264/openh264-1.5.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-1.5.0.ebuild b/media-libs/openh264/openh264-1.5.0.ebuild
index e35c59dec3..afd35110f5 100644
--- a/media-libs/openh264/openh264-1.5.0.ebuild
+++ b/media-libs/openh264/openh264-1.5.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="amd64 ~arm hppa ppc ppc64 x86"
+KEYWORDS="amd64 arm hppa ppc ppc64 x86"
IUSE="+plugin utils"
RESTRICT="bindist"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2017-03-02 15:52 Tobias Klausmann
0 siblings, 0 replies; 114+ messages in thread
From: Tobias Klausmann @ 2017-03-02 15:52 UTC (permalink / raw
To: gentoo-commits
commit: 9939780156722a62110457fb7e3a8ea88f52f1f4
Author: Tobias Klausmann <klausman <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 2 15:26:08 2017 +0000
Commit: Tobias Klausmann <klausman <AT> gentoo <DOT> org>
CommitDate: Thu Mar 2 15:26:08 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99397801
media-libs/openh264-1.5.0-r0: add ~alpha keyword
Gentoo-Bug: 574786
media-libs/openh264/openh264-1.5.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-1.5.0.ebuild b/media-libs/openh264/openh264-1.5.0.ebuild
index bbbdb28c277..ec78311cb84 100644
--- a/media-libs/openh264/openh264-1.5.0.ebuild
+++ b/media-libs/openh264/openh264-1.5.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="amd64 arm hppa ppc ppc64 x86"
+KEYWORDS="~alpha amd64 arm hppa ppc ppc64 x86"
IUSE="+plugin utils"
RESTRICT="bindist"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2017-04-05 14:07 Tobias Klausmann
0 siblings, 0 replies; 114+ messages in thread
From: Tobias Klausmann @ 2017-04-05 14:07 UTC (permalink / raw
To: gentoo-commits
commit: fbff93bf515feace30fbebebba063eaf2b0b3eeb
Author: Tobias Klausmann <klausman <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 5 14:05:34 2017 +0000
Commit: Tobias Klausmann <klausman <AT> gentoo <DOT> org>
CommitDate: Wed Apr 5 14:05:34 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbff93bf
media-libs/openh264-1.5.0-r0: add alpha keyword
Gentoo-Bug: 608868
media-libs/openh264/openh264-1.5.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-1.5.0.ebuild b/media-libs/openh264/openh264-1.5.0.ebuild
index ec78311cb84..6c7b5f01edf 100644
--- a/media-libs/openh264/openh264-1.5.0.ebuild
+++ b/media-libs/openh264/openh264-1.5.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~alpha amd64 arm hppa ppc ppc64 x86"
+KEYWORDS="alpha amd64 arm hppa ppc ppc64 x86"
IUSE="+plugin utils"
RESTRICT="bindist"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2017-05-11 18:18 Ian Stakenvicius
0 siblings, 0 replies; 114+ messages in thread
From: Ian Stakenvicius @ 2017-05-11 18:18 UTC (permalink / raw
To: gentoo-commits
commit: 36b60f6249d5c7d6c2684cc04264eb9cc84a1a01
Author: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Thu May 11 18:17:31 2017 +0000
Commit: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Thu May 11 18:18:08 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36b60f62
media-libs/openh264: version bump to 1.6.0
Bug: http://bugs.gentoo.org/596450
Package-Manager: Portage-2.3.3, Repoman-2.3.1
media-libs/openh264/Manifest | 1 +
media-libs/openh264/openh264-1.6.0.ebuild | 94 +++++++++++++++++++++++++++++++
2 files changed, 95 insertions(+)
diff --git a/media-libs/openh264/Manifest b/media-libs/openh264/Manifest
index 86032b87451..cc8689717a3 100644
--- a/media-libs/openh264/Manifest
+++ b/media-libs/openh264/Manifest
@@ -2,3 +2,4 @@ DIST gmp-api-Firefox38.tar.gz 16209 SHA256 6b156afe850c0d6faf0492ca5feeff4358e50
DIST gmp-api-Firefox39.tar.gz 16363 SHA256 ecb461af06f4d8f1c16330e78e73775f5656767ced77ac2b5e4bb9413ca86ec4 SHA512 da6f05c5f0540be8d4f48d25b947b21214d34a6eed365ee5fa4a38c69f77325add4be902e0dcd9d06be43914a3518ded7e4f2289dab034a24325f0bff201692a WHIRLPOOL fd661b7798970570053789577744bb12ab6354e3bcb70f64e2ac5aa73367f4a958feb3fcef343ef025aa15d6201af40d6f80a0f565e23340e1001f2259e073ce
DIST openh264-1.4.0.tar.gz 37681189 SHA256 a1b9a7a7f1ee204793c613789a505f0971bc2b03b3dbd8f05d9c4a3f3b900a22 SHA512 8192494698cb5557331be56ecbe2b7b143e0ed95739a69a88bdb34a58f66710ef1cd9234f1e98c9b16432a41a3243634e6ca63c58119315f2f9360cb2959e42b WHIRLPOOL 0d9f1f728fbceef35a5e22a6fe4c9dd42fbf84d41fe14e938194438542af182d3994694ffcd68f58798f14c8096b49b0aecad23f58ec6bdbc02de43b8d783532
DIST openh264-1.5.0.tar.gz 37851166 SHA256 98077bd5d113c183ce02b678733b0cada2cf36750370579534c4d70f0b6c27b5 SHA512 30599fed5e928af7dfec079d101a22885e52874c1d7db91ff289b989a9a20548b6bbd5d25e4e546efedd4e5aba97cbc42b1e847970b93116d86efc7af394aeaf WHIRLPOOL 038ad081e0702f198ddc519bdaef7d91254179f8f4febdb2b453ab20c40e47cd759a7b5c881065ac0523d78fc95564aa132e9a4f4b565951613aeb2a46ce74ef
+DIST openh264-1.6.0.tar.gz 37865472 SHA256 65d307bf312543ad6e98ec02abb7c27d8fd2c9740fd069d7249844612674a2c7 SHA512 a2c98bf20c64bcacdc8aef7dd17962109d6d35af0d2b8e79b3d6c0073ed214fbae03d2aac4de2cf30816519217e07811fcf320073f4ce2d9c902a8473db54f51 WHIRLPOOL 57d9989d1729df2a283eab97a9cd2b478266478eb38d9d564bcb464ca26bba8bc325813f26ab0e9906b8f8a58b6fc5cdadcbc7b15a39d692d3fa00e098860ae6
diff --git a/media-libs/openh264/openh264-1.6.0.ebuild b/media-libs/openh264/openh264-1.6.0.ebuild
new file mode 100644
index 00000000000..36d48fb3b26
--- /dev/null
+++ b/media-libs/openh264/openh264-1.6.0.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit nsplugins multilib-minimal
+
+MOZVER=39
+DESCRIPTION="Cisco OpenH264 library and Gecko Media Plugin for Mozilla packages"
+HOMEPAGE="http://www.openh264.org/"
+SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
+IUSE="+plugin utils"
+
+RESTRICT="bindist"
+
+RDEPEND="!<www-client/firefox-${MOZVER}"
+DEPEND="
+ abi_x86_32? ( dev-lang/nasm )
+ abi_x86_64? ( dev-lang/nasm )"
+
+DOCS=( LICENSE CONTRIBUTORS README.md )
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.5.0-pkgconfig-pathfix.patch
+ multilib_copy_sources
+}
+
+multilib_src_configure() {
+ ln -s "${WORKDIR}"/gmp-api-Firefox${MOZVER} gmp-api || die
+}
+
+emakecmd() {
+ CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
+ 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}" \
+ $@
+}
+
+multilib_src_compile() {
+ local mybits="ENABLE64BIT=No"
+ case "${ABI}" in
+ s390x|alpha|*64) mybits="ENABLE64BIT=Yes";;
+ esac
+
+ emakecmd ${mybits} ${tgt}
+ use plugin && emakecmd ${mybits} plugin
+}
+
+multilib_src_install() {
+ emakecmd DESTDIR="${D}" install-shared
+
+ use utils && dobin h264{enc,dec}
+
+ if use plugin; then
+ local plugpath="usr/$(get_libdir)/${PLUGINS_DIR}/gmp-gmp${PN}/system-installed"
+ insinto "/${plugpath}"
+ doins libgmpopenh264.so* gmpopenh264.info
+ echo "MOZ_GMP_PATH=\"${EROOT}${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
+ doins "${T}"/${P}.js
+
+ insinto /usr/$(get_libdir)/seamonkey/defaults/pref
+ doins "${T}"/${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
+}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2017-06-10 20:14 Sergei Trofimovich
0 siblings, 0 replies; 114+ messages in thread
From: Sergei Trofimovich @ 2017-06-10 20:14 UTC (permalink / raw
To: gentoo-commits
commit: 072d58456ae325309f6d89d8134bc8555b198968
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 10 19:51:18 2017 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Jun 10 20:12:29 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=072d5845
media-libs/openh264: ia64 stable, bug #574786
Package-Manager: Portage-2.3.6, Repoman-2.3.2
media-libs/openh264/openh264-1.5.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-1.5.0.ebuild b/media-libs/openh264/openh264-1.5.0.ebuild
index 6c7b5f01edf..543a42b17b9 100644
--- a/media-libs/openh264/openh264-1.5.0.ebuild
+++ b/media-libs/openh264/openh264-1.5.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ppc ppc64 x86"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 x86"
IUSE="+plugin utils"
RESTRICT="bindist"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2017-06-10 20:14 Sergei Trofimovich
0 siblings, 0 replies; 114+ messages in thread
From: Sergei Trofimovich @ 2017-06-10 20:14 UTC (permalink / raw
To: gentoo-commits
commit: 9fe53ed503a30d152ea24fe705a56e6aad920dfa
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 10 20:10:09 2017 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Jun 10 20:12:51 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fe53ed5
media-libs/openh264: ~ia64 keyworded
Package-Manager: Portage-2.3.6, Repoman-2.3.2
media-libs/openh264/openh264-1.6.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-1.6.0.ebuild b/media-libs/openh264/openh264-1.6.0.ebuild
index 36d48fb3b26..b5020feb46b 100644
--- a/media-libs/openh264/openh264-1.6.0.ebuild
+++ b/media-libs/openh264/openh264-1.6.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86"
IUSE="+plugin utils"
RESTRICT="bindist"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2017-06-16 9:36 Alexis Ballier
0 siblings, 0 replies; 114+ messages in thread
From: Alexis Ballier @ 2017-06-16 9:36 UTC (permalink / raw
To: gentoo-commits
commit: cec71e439694045d70bdffb447db3371769cadf7
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 16 09:15:02 2017 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Fri Jun 16 09:36:29 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cec71e43
media-libs/openh264: keyword ~arm64
Package-Manager: Portage-2.3.6, Repoman-2.3.2
media-libs/openh264/openh264-1.6.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-1.6.0.ebuild b/media-libs/openh264/openh264-1.6.0.ebuild
index b5020feb46b..afef0139aed 100644
--- a/media-libs/openh264/openh264-1.6.0.ebuild
+++ b/media-libs/openh264/openh264-1.6.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86"
IUSE="+plugin utils"
RESTRICT="bindist"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2017-07-28 7:41 Sergei Trofimovich
0 siblings, 0 replies; 114+ messages in thread
From: Sergei Trofimovich @ 2017-07-28 7:41 UTC (permalink / raw
To: gentoo-commits
commit: c8efcf1cbec6644f53d1db847f6f6ead789d54c6
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 28 07:33:18 2017 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Jul 28 07:41:48 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8efcf1c
media-libs/openh264: ia64 stable, bug #604420
Package-Manager: Portage-2.3.6, Repoman-2.3.3
RepoMan-Options: --include-arches="ia64"
media-libs/openh264/openh264-1.7.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-1.7.0.ebuild b/media-libs/openh264/openh264-1.7.0.ebuild
index 0296f9e0e9e..eba083986ef 100644
--- a/media-libs/openh264/openh264-1.7.0.ebuild
+++ b/media-libs/openh264/openh264-1.7.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~ppc ~ppc64 ~x86"
IUSE="+plugin utils"
RESTRICT="bindist"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2017-07-28 14:54 Agostino Sarubbo
0 siblings, 0 replies; 114+ messages in thread
From: Agostino Sarubbo @ 2017-07-28 14:54 UTC (permalink / raw
To: gentoo-commits
commit: 3692ef16601bebdf1d5575e91b88d63ac1a7723f
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 28 14:54:13 2017 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri Jul 28 14:54:13 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3692ef16
media-libs/openh264: amd64 stable wrt bug #604420
Package-Manager: Portage-2.3.6, Repoman-2.3.1
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
media-libs/openh264/openh264-1.7.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-1.7.0.ebuild b/media-libs/openh264/openh264-1.7.0.ebuild
index eba083986ef..df9f74f2f81 100644
--- a/media-libs/openh264/openh264-1.7.0.ebuild
+++ b/media-libs/openh264/openh264-1.7.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~ppc ~ppc64 ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~ppc ~ppc64 ~x86"
IUSE="+plugin utils"
RESTRICT="bindist"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2017-08-08 4:33 Markus Meier
0 siblings, 0 replies; 114+ messages in thread
From: Markus Meier @ 2017-08-08 4:33 UTC (permalink / raw
To: gentoo-commits
commit: 36bc8e28df85f91ba976d4e4d3737f5e7b790bb9
Author: Markus Meier <maekke <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 8 04:30:56 2017 +0000
Commit: Markus Meier <maekke <AT> gentoo <DOT> org>
CommitDate: Tue Aug 8 04:30:56 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36bc8e28
media-libs/openh264: arm stable, bug #604420
Package-Manager: Portage-2.3.6, Repoman-2.3.1
RepoMan-Options: --include-arches="arm"
media-libs/openh264/openh264-1.7.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-1.7.0.ebuild b/media-libs/openh264/openh264-1.7.0.ebuild
index df9f74f2f81..5e6a20d6b0e 100644
--- a/media-libs/openh264/openh264-1.7.0.ebuild
+++ b/media-libs/openh264/openh264-1.7.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~ppc ~ppc64 ~x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~ppc ~ppc64 ~x86"
IUSE="+plugin utils"
RESTRICT="bindist"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2017-08-18 20:10 Thomas Deutschmann
0 siblings, 0 replies; 114+ messages in thread
From: Thomas Deutschmann @ 2017-08-18 20:10 UTC (permalink / raw
To: gentoo-commits
commit: db77f7469835c5bc50a2d1b130b8df1bf5474a69
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 18 20:00:05 2017 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Fri Aug 18 20:08:11 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db77f746
media-libs/openh264: x86 stable (bug #604420)
Package-Manager: Portage-2.3.5, Repoman-2.3.2
media-libs/openh264/openh264-1.7.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-1.7.0.ebuild b/media-libs/openh264/openh264-1.7.0.ebuild
index 5e6a20d6b0e..f5496420c03 100644
--- a/media-libs/openh264/openh264-1.7.0.ebuild
+++ b/media-libs/openh264/openh264-1.7.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~ppc ~ppc64 ~x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~ppc ~ppc64 x86"
IUSE="+plugin utils"
RESTRICT="bindist"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2017-08-29 11:48 Alexis Ballier
0 siblings, 0 replies; 114+ messages in thread
From: Alexis Ballier @ 2017-08-29 11:48 UTC (permalink / raw
To: gentoo-commits
commit: b7ae7ce88c63ee9aaa4276a3ebc37a7f3b92bb01
Author: Palmer Dabbelt <palmer <AT> dabbelt <DOT> com>
AuthorDate: Sat Aug 12 00:01:28 2017 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Tue Aug 29 11:47:33 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7ae7ce8
media-libs/openh264: Add epatch_user to all versions
I want to apply a local patch to openh264 but can't because it doesn't
call epatch_user.
media-libs/openh264/openh264-1.4.0-r1.ebuild | 1 +
media-libs/openh264/openh264-1.5.0.ebuild | 1 +
media-libs/openh264/openh264-1.7.0.ebuild | 1 +
3 files changed, 3 insertions(+)
diff --git a/media-libs/openh264/openh264-1.4.0-r1.ebuild b/media-libs/openh264/openh264-1.4.0-r1.ebuild
index da7b7266b18..9a705d5dd6f 100644
--- a/media-libs/openh264/openh264-1.4.0-r1.ebuild
+++ b/media-libs/openh264/openh264-1.4.0-r1.ebuild
@@ -25,6 +25,7 @@ DOCS=( LICENSE CONTRIBUTORS README.md )
src_prepare() {
epatch "${FILESDIR}"/pkgconfig-pathfix.patch
epatch "${FILESDIR}"/pkgconfig_install.patch
+ epatch_user
multilib_copy_sources
}
diff --git a/media-libs/openh264/openh264-1.5.0.ebuild b/media-libs/openh264/openh264-1.5.0.ebuild
index 543a42b17b9..aab9349bbcf 100644
--- a/media-libs/openh264/openh264-1.5.0.ebuild
+++ b/media-libs/openh264/openh264-1.5.0.ebuild
@@ -26,6 +26,7 @@ DOCS=( LICENSE CONTRIBUTORS README.md )
src_prepare() {
epatch "${FILESDIR}"/${P}-pkgconfig-pathfix.patch
+ epatch_user
multilib_copy_sources
}
diff --git a/media-libs/openh264/openh264-1.7.0.ebuild b/media-libs/openh264/openh264-1.7.0.ebuild
index f5496420c03..f546d8e3f1a 100644
--- a/media-libs/openh264/openh264-1.7.0.ebuild
+++ b/media-libs/openh264/openh264-1.7.0.ebuild
@@ -26,6 +26,7 @@ DOCS=( LICENSE CONTRIBUTORS README.md )
src_prepare() {
epatch "${FILESDIR}"/${PN}-1.7.0-pkgconfig-pathfix.patch
+ epatch_user
multilib_copy_sources
}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2017-08-31 1:26 Matt Turner
0 siblings, 0 replies; 114+ messages in thread
From: Matt Turner @ 2017-08-31 1:26 UTC (permalink / raw
To: gentoo-commits
commit: 2bd0ab7c4acfdf337005ca4c0853feeb526db2e7
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 31 01:25:47 2017 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu Aug 31 01:25:47 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bd0ab7c
media-libs/openh264-1.7.0: alpha stable, bug 604420
media-libs/openh264/openh264-1.7.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-1.7.0.ebuild b/media-libs/openh264/openh264-1.7.0.ebuild
index f546d8e3f1a..b89ee01528c 100644
--- a/media-libs/openh264/openh264-1.7.0.ebuild
+++ b/media-libs/openh264/openh264-1.7.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~ppc ~ppc64 x86"
+KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~ppc ~ppc64 x86"
IUSE="+plugin utils"
RESTRICT="bindist"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2017-09-26 8:55 Sergei Trofimovich
0 siblings, 0 replies; 114+ messages in thread
From: Sergei Trofimovich @ 2017-09-26 8:55 UTC (permalink / raw
To: gentoo-commits
commit: 4813d0588830acc2698fd2f1aa9dd1671b2fa371
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 26 08:36:37 2017 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Tue Sep 26 08:36:37 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4813d058
media-libs/openh264: stable 1.7.0 for ppc64, bug #604420
Package-Manager: Portage-2.3.10, Repoman-2.3.3
RepoMan-Options: --include-arches="ppc64"
media-libs/openh264/openh264-1.7.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-1.7.0.ebuild b/media-libs/openh264/openh264-1.7.0.ebuild
index b89ee01528c..dccf479cf13 100644
--- a/media-libs/openh264/openh264-1.7.0.ebuild
+++ b/media-libs/openh264/openh264-1.7.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~ppc ~ppc64 x86"
+KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~ppc ppc64 x86"
IUSE="+plugin utils"
RESTRICT="bindist"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2017-09-26 8:55 Sergei Trofimovich
0 siblings, 0 replies; 114+ messages in thread
From: Sergei Trofimovich @ 2017-09-26 8:55 UTC (permalink / raw
To: gentoo-commits
commit: 4983fe6d021c23c3182c329675b72e28562d9f79
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 26 08:41:36 2017 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Tue Sep 26 08:41:36 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4983fe6d
media-libs/openh264: stable 1.7.0 for ppc, bug #604420
Package-Manager: Portage-2.3.10, Repoman-2.3.3
RepoMan-Options: --include-arches="ppc"
media-libs/openh264/openh264-1.7.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-1.7.0.ebuild b/media-libs/openh264/openh264-1.7.0.ebuild
index dccf479cf13..352fa16cde4 100644
--- a/media-libs/openh264/openh264-1.7.0.ebuild
+++ b/media-libs/openh264/openh264-1.7.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~ppc ppc64 x86"
+KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ppc ppc64 x86"
IUSE="+plugin utils"
RESTRICT="bindist"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2017-09-26 22:21 Sergei Trofimovich
0 siblings, 0 replies; 114+ messages in thread
From: Sergei Trofimovich @ 2017-09-26 22:21 UTC (permalink / raw
To: gentoo-commits
commit: b28396b37448613de8c194124397ed5c32f28815
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 26 22:17:24 2017 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Tue Sep 26 22:21:19 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b28396b3
media-libs/openh264: stable 1.7.0 for hppa, bug #604420
Package-Manager: Portage-2.3.10, Repoman-2.3.3
RepoMan-Options: --include-arches="hppa"
media-libs/openh264/openh264-1.7.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-1.7.0.ebuild b/media-libs/openh264/openh264-1.7.0.ebuild
index 352fa16cde4..1c42837a972 100644
--- a/media-libs/openh264/openh264-1.7.0.ebuild
+++ b/media-libs/openh264/openh264-1.7.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ppc ppc64 x86"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 x86"
IUSE="+plugin utils"
RESTRICT="bindist"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2018-01-15 14:44 Ian Stakenvicius
0 siblings, 0 replies; 114+ messages in thread
From: Ian Stakenvicius @ 2018-01-15 14:44 UTC (permalink / raw
To: gentoo-commits
commit: 16c2853397bbd0cc422aece6a75d329222a605d0
Author: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 15 14:43:39 2018 +0000
Commit: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Mon Jan 15 14:44:41 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16c28533
media-libs/openh264: rename utils to avoid file collisions
The binaries h264enc and h264dec are now installed with names openh264enc
and openh264dec, respectively, to avoid file collisions with media-video/h264enc
Bug: http://bugs.gentoo.org/634914
Package-Manager: Portage-2.3.13, Repoman-2.3.3
.../{openh264-1.7.0.ebuild => openh264-1.7.0-r1.ebuild} | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/media-libs/openh264/openh264-1.7.0.ebuild b/media-libs/openh264/openh264-1.7.0-r1.ebuild
similarity index 89%
rename from media-libs/openh264/openh264-1.7.0.ebuild
rename to media-libs/openh264/openh264-1.7.0-r1.ebuild
index 1c42837a972..ef0c663fca5 100644
--- a/media-libs/openh264/openh264-1.7.0.ebuild
+++ b/media-libs/openh264/openh264-1.7.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -57,7 +57,10 @@ multilib_src_compile() {
multilib_src_install() {
emakecmd DESTDIR="${D}" install-shared
- use utils && dobin h264{enc,dec}
+ if use utils ; then
+ newbin h264enc openh264enc
+ newbin h264dec openh264dec
+ fi
if use plugin; then
local plugpath="usr/$(get_libdir)/${PLUGINS_DIR}/gmp-gmp${PN}/system-installed"
@@ -92,4 +95,9 @@ pkg_postinst() {
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
}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2018-01-15 14:44 Ian Stakenvicius
0 siblings, 0 replies; 114+ messages in thread
From: Ian Stakenvicius @ 2018-01-15 14:44 UTC (permalink / raw
To: gentoo-commits
commit: fbebe631847a05c1ab401ff4ead70a3cec6d29ba
Author: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 15 14:10:51 2018 +0000
Commit: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Mon Jan 15 14:44:39 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbebe631
media-libs/openh264: drop old
Package-Manager: Portage-2.3.13, Repoman-2.3.3
media-libs/openh264/Manifest | 3 -
media-libs/openh264/openh264-1.4.0-r1.ebuild | 93 ---------------------------
media-libs/openh264/openh264-1.5.0.ebuild | 95 ----------------------------
3 files changed, 191 deletions(-)
diff --git a/media-libs/openh264/Manifest b/media-libs/openh264/Manifest
index f84910218eb..fb17dc5269e 100644
--- a/media-libs/openh264/Manifest
+++ b/media-libs/openh264/Manifest
@@ -1,5 +1,2 @@
-DIST gmp-api-Firefox38.tar.gz 16209 BLAKE2B 688aceb707ca0c5bacbce6dca6d039b31634d4ea21973103fb147e6a9f7abf019166ecf8326a707ff87fe48774111b2b77cc02d33bc31b33eb16537348ddb368 SHA512 9aecbc84b1ba2fcfcb10c56680d92a72dd55f7ef7b8a68a3950dbce65fb7eb2c5e6a211149889f618bef2468ba1f3f8c01dc63e86e0a30d9295b019b75657eb8
DIST gmp-api-Firefox39.tar.gz 16363 BLAKE2B dd92d851c4f09476f1e394fd42c5e40ea707ac6dcabc3ceee62400eb998f1c98c781fbde581253ddd8f45b7447a0c7fdc61e74ef60b6fc3397cd4bf8995154ab SHA512 da6f05c5f0540be8d4f48d25b947b21214d34a6eed365ee5fa4a38c69f77325add4be902e0dcd9d06be43914a3518ded7e4f2289dab034a24325f0bff201692a
-DIST openh264-1.4.0.tar.gz 37681189 BLAKE2B 273389f39bec341d9509521b5910b9e0fce6b092623c531a6117060ab5bdd21e0de17c4f3e6770b987a267ba136f101b8e0b9a4bec911fcf48bb3b9b13aa6e3b SHA512 8192494698cb5557331be56ecbe2b7b143e0ed95739a69a88bdb34a58f66710ef1cd9234f1e98c9b16432a41a3243634e6ca63c58119315f2f9360cb2959e42b
-DIST openh264-1.5.0.tar.gz 37851166 BLAKE2B 90e25d87248bdcf5d2a0b2eaa87e104d6045b4b69859c96301c519ddded9c383d7fb32bcbc4ad39e38374b51754bb1d28fb7f9e4293b37a75f83ef7de1fd23bc SHA512 30599fed5e928af7dfec079d101a22885e52874c1d7db91ff289b989a9a20548b6bbd5d25e4e546efedd4e5aba97cbc42b1e847970b93116d86efc7af394aeaf
DIST openh264-1.7.0.tar.gz 38681895 BLAKE2B 2e0e88bd446fdbea29ea4e863eb391dce1cc271c289165233aa1375e10ce6e60f7be7307eeb7acedd459c3170b57fbc5c7a0e9b6bd0c355be6447fb036192f35 SHA512 3e30584d6adb69c162f5b044f49155c22d44ab8e399f6bf09194593df84475b49979406f3e461d25ef1e4422c2721b975c58bc64d40a143d8493d45380ad96aa
diff --git a/media-libs/openh264/openh264-1.4.0-r1.ebuild b/media-libs/openh264/openh264-1.4.0-r1.ebuild
deleted file mode 100644
index 9a705d5dd6f..00000000000
--- a/media-libs/openh264/openh264-1.4.0-r1.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit nsplugins multilib-minimal
-
-MOZVER=38
-DESCRIPTION="Cisco OpenH264 library and Gecko Media Plugin for Mozilla packages"
-HOMEPAGE="http://www.openh264.org/"
-SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
- https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="+plugin utils"
-
-RESTRICT="bindist"
-
-RDEPEND="!<www-client/firefox-${MOZVER}"
-DEPEND="dev-lang/nasm"
-
-DOCS=( LICENSE CONTRIBUTORS README.md )
-
-src_prepare() {
- epatch "${FILESDIR}"/pkgconfig-pathfix.patch
- epatch "${FILESDIR}"/pkgconfig_install.patch
- epatch_user
- multilib_copy_sources
-}
-
-multilib_src_configure() {
- ln -s "${WORKDIR}"/gmp-api-Firefox${MOZVER} gmp-api || die
-}
-
-emakecmd() {
- CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
- emake V=Yes CFLAGS_M32="" CFLAGS_M64="" CFLAGS_OPT="" \
- PREFIX="${EPREFIX}/usr" \
- SHAREDLIB_DIR="${EPREFIX}/usr/$(get_libdir)" \
- INCLUDES_DIR="${EPREFIX}/usr/include/${PN}" \
- $@
-}
-
-multilib_src_compile() {
- local mybits="ENABLE64BIT=No"
- case "${ABI}" in
- s390x|alpha|*64) mybits="ENABLE64BIT=Yes";;
- esac
-
- emakecmd ${mybits} ${tgt}
- use plugin && emakecmd ${mybits} plugin
-}
-
-multilib_src_install() {
- emakecmd DESTDIR="${D}" install-shared
-
- use utils && dobin h264{enc,dec}
-
- if use plugin; then
- local plugpath="usr/$(get_libdir)/${PLUGINS_DIR}/gmp-gmp${PN}/system-installed"
- insinto "/${plugpath}"
- doins libgmpopenh264.so* gmpopenh264.info
- echo "MOZ_GMP_PATH=\"${EROOT}${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
- doins "${T}"/${P}.js
-
- insinto /usr/$(get_libdir)/seamonkey/defaults/pref
- doins "${T}"/${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
-}
diff --git a/media-libs/openh264/openh264-1.5.0.ebuild b/media-libs/openh264/openh264-1.5.0.ebuild
deleted file mode 100644
index aab9349bbcf..00000000000
--- a/media-libs/openh264/openh264-1.5.0.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit nsplugins multilib-minimal
-
-MOZVER=39
-DESCRIPTION="Cisco OpenH264 library and Gecko Media Plugin for Mozilla packages"
-HOMEPAGE="http://www.openh264.org/"
-SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
- https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 x86"
-IUSE="+plugin utils"
-
-RESTRICT="bindist"
-
-RDEPEND="!<www-client/firefox-${MOZVER}"
-DEPEND="
- abi_x86_32? ( dev-lang/nasm )
- abi_x86_64? ( dev-lang/nasm )"
-
-DOCS=( LICENSE CONTRIBUTORS README.md )
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-pkgconfig-pathfix.patch
- epatch_user
- multilib_copy_sources
-}
-
-multilib_src_configure() {
- ln -s "${WORKDIR}"/gmp-api-Firefox${MOZVER} gmp-api || die
-}
-
-emakecmd() {
- CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
- 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}" \
- $@
-}
-
-multilib_src_compile() {
- local mybits="ENABLE64BIT=No"
- case "${ABI}" in
- s390x|alpha|*64) mybits="ENABLE64BIT=Yes";;
- esac
-
- emakecmd ${mybits} ${tgt}
- use plugin && emakecmd ${mybits} plugin
-}
-
-multilib_src_install() {
- emakecmd DESTDIR="${D}" install-shared
-
- use utils && dobin h264{enc,dec}
-
- if use plugin; then
- local plugpath="usr/$(get_libdir)/${PLUGINS_DIR}/gmp-gmp${PN}/system-installed"
- insinto "/${plugpath}"
- doins libgmpopenh264.so* gmpopenh264.info
- echo "MOZ_GMP_PATH=\"${EROOT}${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
- doins "${T}"/${P}.js
-
- insinto /usr/$(get_libdir)/seamonkey/defaults/pref
- doins "${T}"/${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
-}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2018-03-06 22:35 Sergei Trofimovich
0 siblings, 0 replies; 114+ messages in thread
From: Sergei Trofimovich @ 2018-03-06 22:35 UTC (permalink / raw
To: gentoo-commits
commit: 1b29031cc039573cb57149dfb0d8871d6398d721
Author: Rolf Eike Beer <eike <AT> sf-mail <DOT> de>
AuthorDate: Tue Mar 6 21:57:13 2018 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Tue Mar 6 22:28:52 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b29031c
media-libs/openh264: keyworded 1.7.0-r1 for sparc, bug #574786
Package-Manager: Portage-2.3.19, Repoman-2.3.6
RepoMan-Options: --include-arches="sparc"
media-libs/openh264/openh264-1.7.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-1.7.0-r1.ebuild b/media-libs/openh264/openh264-1.7.0-r1.ebuild
index ef0c663fca5..45714df04ee 100644
--- a/media-libs/openh264/openh264-1.7.0-r1.ebuild
+++ b/media-libs/openh264/openh264-1.7.0-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 x86"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 ~sparc x86"
IUSE="+plugin utils"
RESTRICT="bindist"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2018-04-16 20:43 Sergei Trofimovich
0 siblings, 0 replies; 114+ messages in thread
From: Sergei Trofimovich @ 2018-04-16 20:43 UTC (permalink / raw
To: gentoo-commits
commit: f40f3445169c77e50fc912a4d64d4cc6ca1b6c38
Author: Rolf Eike Beer <eike <AT> sf-mail <DOT> de>
AuthorDate: Mon Apr 16 20:05:34 2018 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Apr 16 20:43:36 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f40f3445
media-libs/openh264: stable 1.7.0-r1 for sparc
Bug: https://bugs.gentoo.org/604420
Package-Manager: Portage-2.3.24, Repoman-2.3.6
RepoMan-Options: --include-arches="sparc"
media-libs/openh264/openh264-1.7.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-1.7.0-r1.ebuild b/media-libs/openh264/openh264-1.7.0-r1.ebuild
index 45714df04ee..99ef3ac5206 100644
--- a/media-libs/openh264/openh264-1.7.0-r1.ebuild
+++ b/media-libs/openh264/openh264-1.7.0-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 ~sparc x86"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 sparc x86"
IUSE="+plugin utils"
RESTRICT="bindist"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2020-06-10 1:18 Thomas Deutschmann
0 siblings, 0 replies; 114+ messages in thread
From: Thomas Deutschmann @ 2020-06-10 1:18 UTC (permalink / raw
To: gentoo-commits
commit: 5910918df4e80b07d00cd89000363f0c6b5f519c
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 10 01:15:42 2020 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Wed Jun 10 01:18:22 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5910918d
media-libs/openh264: bump to v2.1.1
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
media-libs/openh264/Manifest | 1 +
media-libs/openh264/openh264-2.1.1.ebuild | 106 ++++++++++++++++++++++++++++++
2 files changed, 107 insertions(+)
diff --git a/media-libs/openh264/Manifest b/media-libs/openh264/Manifest
index c726618ca16..0fd1e58d4e2 100644
--- a/media-libs/openh264/Manifest
+++ b/media-libs/openh264/Manifest
@@ -1,3 +1,4 @@
DIST gmp-api-Firefox39.tar.gz 16363 BLAKE2B dd92d851c4f09476f1e394fd42c5e40ea707ac6dcabc3ceee62400eb998f1c98c781fbde581253ddd8f45b7447a0c7fdc61e74ef60b6fc3397cd4bf8995154ab SHA512 da6f05c5f0540be8d4f48d25b947b21214d34a6eed365ee5fa4a38c69f77325add4be902e0dcd9d06be43914a3518ded7e4f2289dab034a24325f0bff201692a
DIST openh264-1.7.0.tar.gz 38681895 BLAKE2B 2e0e88bd446fdbea29ea4e863eb391dce1cc271c289165233aa1375e10ce6e60f7be7307eeb7acedd459c3170b57fbc5c7a0e9b6bd0c355be6447fb036192f35 SHA512 3e30584d6adb69c162f5b044f49155c22d44ab8e399f6bf09194593df84475b49979406f3e461d25ef1e4422c2721b975c58bc64d40a143d8493d45380ad96aa
DIST openh264-2.1.0.tar.gz 60239088 BLAKE2B 4941399476fb6184fc09b09d9bd496d9f3fa77a424199f6cb0d61d654d6cf88b49eecc32d748b656cec663c31844165b81b7962de163441f04e5a606a48879d5 SHA512 7a65f494e6a1b5a9d96115dcd15853ebb804f0ba259b20ddab01770afde31f370536d9e365b18a6f4168eae7f57351d9fc2d3d3a0c51bb21db7b4d5c48240848
+DIST openh264-2.1.1.tar.gz 60239654 BLAKE2B d541fa686b1eb8352dbb4088fc4ef508f947660815c86b2bb7db841c927b7b9f763d7fe793f0fa1511620dbdc506c20cd5ad52740140337aa12b8c31b857a8e6 SHA512 f9c2925fa902c6278da40f68b967d25e62db7ce3541e8f5e7a0ee174204b6ecc7026b5853885c361f48ca01d71bacd585fb5b91f01f0c054ece80943f1afcf79
diff --git a/media-libs/openh264/openh264-2.1.1.ebuild b/media-libs/openh264/openh264-2.1.1.ebuild
new file mode 100644
index 00000000000..49c486ea6f5
--- /dev/null
+++ b/media-libs/openh264/openh264-2.1.1.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs multilib-minimal
+
+MOZVER=39
+DESCRIPTION="Cisco OpenH264 library and Gecko Media Plugin for Mozilla packages"
+HOMEPAGE="https://www.openh264.org/"
+SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
+LICENSE="BSD"
+SLOT="0/6" # subslot = openh264 soname version
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="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}/${PN}-2.1.0-pkgconfig-pathfix.patch" )
+
+src_prepare() {
+ default
+
+ multilib_copy_sources
+}
+
+multilib_src_configure() {
+ ln -s "${WORKDIR}"/gmp-api-Firefox${MOZVER} gmp-api || die
+}
+
+emakecmd() {
+ CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
+ 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) \
+ $@
+}
+
+multilib_src_compile() {
+ local mybits="ENABLE64BIT=No"
+ case "${ABI}" in
+ s390x|alpha|*64) mybits="ENABLE64BIT=Yes";;
+ esac
+
+ emakecmd ${mybits}
+ use plugin && emakecmd ${mybits} 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="${EROOT}/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
+ doins "${T}"/${P}.js
+
+ insinto /usr/$(get_libdir)/seamonkey/defaults/pref
+ doins "${T}"/${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
+}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2020-06-30 13:53 Thomas Deutschmann
0 siblings, 0 replies; 114+ messages in thread
From: Thomas Deutschmann @ 2020-06-30 13:53 UTC (permalink / raw
To: gentoo-commits
commit: 888a73cb74f4b728c8c5cdaafcfea1a858603529
Author: Jeffrey Lin <jeffrey <AT> icurse <DOT> nl>
AuthorDate: Mon Jun 22 00:32:59 2020 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Tue Jun 30 13:53:29 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=888a73cb
media-libs/openh264: fix double prefix
Signed-off-by: Jeffrey Lin <jeffrey <AT> icurse.nl>
Closes: https://github.com/gentoo/gentoo/pull/16368
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
media-libs/openh264/openh264-2.1.0.ebuild | 2 +-
media-libs/openh264/openh264-2.1.1.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/media-libs/openh264/openh264-2.1.0.ebuild b/media-libs/openh264/openh264-2.1.0.ebuild
index adcec1df1fb..486e6828d1b 100644
--- a/media-libs/openh264/openh264-2.1.0.ebuild
+++ b/media-libs/openh264/openh264-2.1.0.ebuild
@@ -65,7 +65,7 @@ multilib_src_install() {
fi
if use plugin; then
- local plugpath="${EROOT}/usr/$(get_libdir)/nsbrowser/plugins/gmp-gmp${PN}/system-installed"
+ 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}
diff --git a/media-libs/openh264/openh264-2.1.1.ebuild b/media-libs/openh264/openh264-2.1.1.ebuild
index 49c486ea6f5..1247581b4db 100644
--- a/media-libs/openh264/openh264-2.1.1.ebuild
+++ b/media-libs/openh264/openh264-2.1.1.ebuild
@@ -65,7 +65,7 @@ multilib_src_install() {
fi
if use plugin; then
- local plugpath="${EROOT}/usr/$(get_libdir)/nsbrowser/plugins/gmp-gmp${PN}/system-installed"
+ 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}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2020-07-03 16:15 Thomas Deutschmann
0 siblings, 0 replies; 114+ messages in thread
From: Thomas Deutschmann @ 2020-07-03 16:15 UTC (permalink / raw
To: gentoo-commits
commit: 2c614ff3eadeaac60d0f62d34b1f21db3869fceb
Author: Stephan Hartmann <stha09 <AT> googlemail <DOT> com>
AuthorDate: Fri Jul 3 14:07:22 2020 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Fri Jul 3 16:15:21 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c614ff3
media-libs/openh264: fix cross compiling
Closes: https://bugs.gentoo.org/730520
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Stephan Hartmann <stha09 <AT> googlemail.com>
Closes: https://github.com/gentoo/gentoo/pull/16571
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
media-libs/openh264/openh264-2.1.1.ebuild | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/media-libs/openh264/openh264-2.1.1.ebuild b/media-libs/openh264/openh264-2.1.1.ebuild
index 1247581b4db..b18de1c269b 100644
--- a/media-libs/openh264/openh264-2.1.1.ebuild
+++ b/media-libs/openh264/openh264-2.1.1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
LICENSE="BSD"
SLOT="0/6" # subslot = openh264 soname version
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="cpu_flags_x86_avx2 +plugin utils"
+IUSE="cpu_flags_arm_neon cpu_flags_x86_avx2 +plugin utils"
RESTRICT="bindist test"
@@ -36,24 +36,29 @@ multilib_src_configure() {
}
emakecmd() {
- CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
+ 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 mybits="ENABLE64BIT=No"
+ local myopts="ENABLE64BIT=No"
case "${ABI}" in
- s390x|alpha|*64) mybits="ENABLE64BIT=Yes";;
+ s390x|alpha|*64) myopts="ENABLE64BIT=Yes";;
esac
- emakecmd ${mybits}
- use plugin && emakecmd ${mybits} plugin
+ 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() {
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2020-07-06 19:39 Thomas Deutschmann
0 siblings, 0 replies; 114+ messages in thread
From: Thomas Deutschmann @ 2020-07-06 19:39 UTC (permalink / raw
To: gentoo-commits
commit: a24435b2d1285dc33bb99b90228540dee3551d8b
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 6 19:39:12 2020 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Mon Jul 6 19:39:22 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a24435b2
media-libs/openh264: set mozilla project as primary maintainer
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
media-libs/openh264/metadata.xml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/media-libs/openh264/metadata.xml b/media-libs/openh264/metadata.xml
index 4971276ef94..b3191d7ceff 100644
--- a/media-libs/openh264/metadata.xml
+++ b/media-libs/openh264/metadata.xml
@@ -8,6 +8,10 @@
<maintainer type="project">
<email>media-video@gentoo.org</email>
</maintainer>
+ <maintainer type="project">
+ <email>mozilla@gentoo.org</email>
+ <description>Primary maintainer</description>
+ </maintainer>
<use>
<flag name="plugin">Install the Gecko Media Plugin (GMP) for use with Mozilla packages</flag>
<flag name="utils">Install the CLI encoder and decoder utilities</flag>
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2020-07-06 19:39 Thomas Deutschmann
0 siblings, 0 replies; 114+ messages in thread
From: Thomas Deutschmann @ 2020-07-06 19:39 UTC (permalink / raw
To: gentoo-commits
commit: c509dee3ad179f36de00deec15b50f38cec3b520
Author: Stephan Hartmann <stha09 <AT> googlemail <DOT> com>
AuthorDate: Mon Jul 6 19:30:23 2020 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Mon Jul 6 19:39:22 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c509dee3
media-libs/openh264: dont call git during build
Closes: https://bugs.gentoo.org/724804
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Stephan Hartmann <stha09 <AT> googlemail.com>
Closes: https://github.com/gentoo/gentoo/pull/16618
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
media-libs/openh264/openh264-2.1.1.ebuild | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/media-libs/openh264/openh264-2.1.1.ebuild b/media-libs/openh264/openh264-2.1.1.ebuild
index b18de1c269b..20ce00076ec 100644
--- a/media-libs/openh264/openh264-2.1.1.ebuild
+++ b/media-libs/openh264/openh264-2.1.1.ebuild
@@ -28,6 +28,10 @@ PATCHES=( "${FILESDIR}/${PN}-2.1.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
}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2020-07-15 20:18 Sergei Trofimovich
0 siblings, 0 replies; 114+ messages in thread
From: Sergei Trofimovich @ 2020-07-15 20:18 UTC (permalink / raw
To: gentoo-commits
commit: 053d4e537885a0657bcce7b6dfe33f6d4c31960d
Author: Rolf Eike Beer <eike <AT> sf-mail <DOT> de>
AuthorDate: Wed Jul 15 17:56:20 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Jul 15 20:18:23 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=053d4e53
media-libs/openh264: stable 2.1.1 for sparc, bug #732590
Package-Manager: Portage-2.3.99, Repoman-2.3.23
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer <eike <AT> sf-mail.de>
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
media-libs/openh264/openh264-2.1.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.1.1.ebuild b/media-libs/openh264/openh264-2.1.1.ebuild
index 20ce00076ec..fbc9b1d0aad 100644
--- a/media-libs/openh264/openh264-2.1.1.ebuild
+++ b/media-libs/openh264/openh264-2.1.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
LICENSE="BSD"
SLOT="0/6" # subslot = openh264 soname version
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc ~x86"
IUSE="cpu_flags_arm_neon cpu_flags_x86_avx2 +plugin utils"
RESTRICT="bindist test"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2020-07-17 7:02 Agostino Sarubbo
0 siblings, 0 replies; 114+ messages in thread
From: Agostino Sarubbo @ 2020-07-17 7:02 UTC (permalink / raw
To: gentoo-commits
commit: 5738a6282a278b4370fded18bbf2bc8205626c53
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 17 07:01:48 2020 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri Jul 17 07:01:48 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5738a628
media-libs/openh264: arm stable wrt bug #732590
Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="arm"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
media-libs/openh264/openh264-2.1.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.1.1.ebuild b/media-libs/openh264/openh264-2.1.1.ebuild
index fbc9b1d0aad..3c2ad217527 100644
--- a/media-libs/openh264/openh264-2.1.1.ebuild
+++ b/media-libs/openh264/openh264-2.1.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
LICENSE="BSD"
SLOT="0/6" # subslot = openh264 soname version
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc ~x86"
IUSE="cpu_flags_arm_neon cpu_flags_x86_avx2 +plugin utils"
RESTRICT="bindist test"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2020-07-17 7:21 Agostino Sarubbo
0 siblings, 0 replies; 114+ messages in thread
From: Agostino Sarubbo @ 2020-07-17 7:21 UTC (permalink / raw
To: gentoo-commits
commit: 51e8bdc7808347ddd5d463c5ac6fcf31585a237a
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 17 07:20:54 2020 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri Jul 17 07:20:54 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51e8bdc7
media-libs/openh264: amd64 stable wrt bug #732590
Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
media-libs/openh264/openh264-2.1.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.1.1.ebuild b/media-libs/openh264/openh264-2.1.1.ebuild
index 3c2ad217527..8d0db38492a 100644
--- a/media-libs/openh264/openh264-2.1.1.ebuild
+++ b/media-libs/openh264/openh264-2.1.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
LICENSE="BSD"
SLOT="0/6" # subslot = openh264 soname version
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc ~x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc ~x86"
IUSE="cpu_flags_arm_neon cpu_flags_x86_avx2 +plugin utils"
RESTRICT="bindist test"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2020-07-17 12:49 Sam James
0 siblings, 0 replies; 114+ messages in thread
From: Sam James @ 2020-07-17 12:49 UTC (permalink / raw
To: gentoo-commits
commit: e7294b025e1ac1edf719f0375f7f05393a18d074
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 17 12:48:51 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 17 12:48:51 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7294b02
media-libs/openh264: arm64 stable (bug #732590)
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/openh264/openh264-2.1.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.1.1.ebuild b/media-libs/openh264/openh264-2.1.1.ebuild
index 8d0db38492a..e582b94e2cb 100644
--- a/media-libs/openh264/openh264-2.1.1.ebuild
+++ b/media-libs/openh264/openh264-2.1.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
LICENSE="BSD"
SLOT="0/6" # subslot = openh264 soname version
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc ~x86"
IUSE="cpu_flags_arm_neon cpu_flags_x86_avx2 +plugin utils"
RESTRICT="bindist test"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2020-07-17 15:09 Agostino Sarubbo
0 siblings, 0 replies; 114+ messages in thread
From: Agostino Sarubbo @ 2020-07-17 15:09 UTC (permalink / raw
To: gentoo-commits
commit: a4198c7d39072fd09d4daac9ea0e90a669e10a34
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 17 15:09:21 2020 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri Jul 17 15:09:21 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4198c7d
media-libs/openh264: ppc stable wrt bug #732590
Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
media-libs/openh264/openh264-2.1.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.1.1.ebuild b/media-libs/openh264/openh264-2.1.1.ebuild
index e582b94e2cb..7694ca11d63 100644
--- a/media-libs/openh264/openh264-2.1.1.ebuild
+++ b/media-libs/openh264/openh264-2.1.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
LICENSE="BSD"
SLOT="0/6" # subslot = openh264 soname version
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ~ppc64 sparc ~x86"
IUSE="cpu_flags_arm_neon cpu_flags_x86_avx2 +plugin utils"
RESTRICT="bindist test"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2020-07-17 15:12 Agostino Sarubbo
0 siblings, 0 replies; 114+ messages in thread
From: Agostino Sarubbo @ 2020-07-17 15:12 UTC (permalink / raw
To: gentoo-commits
commit: 357fc0e39858fd41eb7d0e8eb5ec424024e34b3e
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 17 15:11:55 2020 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri Jul 17 15:11:55 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=357fc0e3
media-libs/openh264: ppc64 stable wrt bug #732590
Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
media-libs/openh264/openh264-2.1.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.1.1.ebuild b/media-libs/openh264/openh264-2.1.1.ebuild
index 7694ca11d63..f9070952b73 100644
--- a/media-libs/openh264/openh264-2.1.1.ebuild
+++ b/media-libs/openh264/openh264-2.1.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
LICENSE="BSD"
SLOT="0/6" # subslot = openh264 soname version
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ~ppc64 sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc ~x86"
IUSE="cpu_flags_arm_neon cpu_flags_x86_avx2 +plugin utils"
RESTRICT="bindist test"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2020-07-17 15:17 Agostino Sarubbo
0 siblings, 0 replies; 114+ messages in thread
From: Agostino Sarubbo @ 2020-07-17 15:17 UTC (permalink / raw
To: gentoo-commits
commit: ec909eb669d7c1455c639229e67113cc275d7839
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 17 15:17:32 2020 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri Jul 17 15:17:32 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec909eb6
media-libs/openh264: x86 stable wrt bug #732590
Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
media-libs/openh264/openh264-2.1.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.1.1.ebuild b/media-libs/openh264/openh264-2.1.1.ebuild
index f9070952b73..43bc28dbfd9 100644
--- a/media-libs/openh264/openh264-2.1.1.ebuild
+++ b/media-libs/openh264/openh264-2.1.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
LICENSE="BSD"
SLOT="0/6" # subslot = openh264 soname version
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86"
IUSE="cpu_flags_arm_neon cpu_flags_x86_avx2 +plugin utils"
RESTRICT="bindist test"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2020-07-22 20:03 Sergei Trofimovich
0 siblings, 0 replies; 114+ messages in thread
From: Sergei Trofimovich @ 2020-07-22 20:03 UTC (permalink / raw
To: gentoo-commits
commit: 7c5169f9e39dc20cc5636208cf79ca1575925717
Author: Rolf Eike Beer <eike <AT> sf-mail <DOT> de>
AuthorDate: Wed Jul 22 15:13:01 2020 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Jul 22 20:02:44 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c5169f9
media-libs/openh264: stable 2.1.1 for hppa, bug #732590
Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer <eike <AT> sf-mail.de>
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
media-libs/openh264/openh264-2.1.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.1.1.ebuild b/media-libs/openh264/openh264-2.1.1.ebuild
index 43bc28dbfd9..604607fa52b 100644
--- a/media-libs/openh264/openh264-2.1.1.ebuild
+++ b/media-libs/openh264/openh264-2.1.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
LICENSE="BSD"
SLOT="0/6" # subslot = openh264 soname version
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 sparc x86"
IUSE="cpu_flags_arm_neon cpu_flags_x86_avx2 +plugin utils"
RESTRICT="bindist test"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2021-06-21 21:38 Jonas Stein
0 siblings, 0 replies; 114+ messages in thread
From: Jonas Stein @ 2021-06-21 21:38 UTC (permalink / raw
To: gentoo-commits
commit: d57bb7588ff553856789d7bcd38f4090c821d013
Author: Jonas Stein <jstein <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 21 21:38:02 2021 +0000
Commit: Jonas Stein <jstein <AT> gentoo <DOT> org>
CommitDate: Mon Jun 21 21:38:38 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d57bb758
media-libs/openh264: metadata shortened
It is sufficient to put mozilla <AT> g.o in first position.
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Jonas Stein <jstein <AT> gentoo.org>
media-libs/openh264/metadata.xml | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/media-libs/openh264/metadata.xml b/media-libs/openh264/metadata.xml
index bfd902a8b2f..dcd6a343e02 100644
--- a/media-libs/openh264/metadata.xml
+++ b/media-libs/openh264/metadata.xml
@@ -2,11 +2,10 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
- <email>media-video@gentoo.org</email>
+ <email>mozilla@gentoo.org</email>
</maintainer>
<maintainer type="project">
- <email>mozilla@gentoo.org</email>
- <description>Primary maintainer</description>
+ <email>media-video@gentoo.org</email>
</maintainer>
<use>
<flag name="plugin">Install the Gecko Media Plugin (GMP) for use with Mozilla packages</flag>
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2021-09-07 18:47 Joonas Niilola
0 siblings, 0 replies; 114+ messages in thread
From: Joonas Niilola @ 2021-09-07 18:47 UTC (permalink / raw
To: gentoo-commits
commit: 3aab165846f169f8132d37c0b04c2ccdaa6443cb
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 5 09:37:07 2021 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Sep 7 18:47:11 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3aab1658
media-libs/openh264: add 2.1.1_p20190331
- package snapshot of gmp-api on top of openh264-2.1.1, since the
latest gmp-api release is from 2015.
Closes: https://bugs.gentoo.org/797388
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/22219
media-libs/openh264/Manifest | 1 +
.../openh264/openh264-2.1.1_p20190331.ebuild | 118 +++++++++++++++++++++
2 files changed, 119 insertions(+)
diff --git a/media-libs/openh264/Manifest b/media-libs/openh264/Manifest
index cd3052a8968..58b333d9f9e 100644
--- a/media-libs/openh264/Manifest
+++ b/media-libs/openh264/Manifest
@@ -1,2 +1,3 @@
+DIST gmp-api-Firefox39-e3935759360861812d33cbd3b713e25f1de1ecb5.tar.gz 10440 BLAKE2B 92379258f2664778baee50b99573dbeae50e723a3f7605c62a4ca3aedd9129fbd1991d7b3ead1b8a3689e71f783ded0b15dca5e6d910345c95a6f28898bbdda3 SHA512 85e4b58cc66072fad2b6dbaa65a955a8931f73eb3664f05ddca65157ac5c2547225910c36b4507d88179a95cfb35a5aff6edadd3c0fa5418529c80ae6d736f44
DIST gmp-api-Firefox39.tar.gz 16363 BLAKE2B dd92d851c4f09476f1e394fd42c5e40ea707ac6dcabc3ceee62400eb998f1c98c781fbde581253ddd8f45b7447a0c7fdc61e74ef60b6fc3397cd4bf8995154ab SHA512 da6f05c5f0540be8d4f48d25b947b21214d34a6eed365ee5fa4a38c69f77325add4be902e0dcd9d06be43914a3518ded7e4f2289dab034a24325f0bff201692a
DIST openh264-2.1.1.tar.gz 60239654 BLAKE2B d541fa686b1eb8352dbb4088fc4ef508f947660815c86b2bb7db841c927b7b9f763d7fe793f0fa1511620dbdc506c20cd5ad52740140337aa12b8c31b857a8e6 SHA512 f9c2925fa902c6278da40f68b967d25e62db7ce3541e8f5e7a0ee174204b6ecc7026b5853885c361f48ca01d71bacd585fb5b91f01f0c054ece80943f1afcf79
diff --git a/media-libs/openh264/openh264-2.1.1_p20190331.ebuild b/media-libs/openh264/openh264-2.1.1_p20190331.ebuild
new file mode 100644
index 00000000000..23354673eca
--- /dev/null
+++ b/media-libs/openh264/openh264-2.1.1_p20190331.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs multilib-minimal
+
+MOZVER=39
+MY_COMMIT="e3935759360861812d33cbd3b713e25f1de1ecb5"
+DESCRIPTION="Cisco OpenH264 library and Gecko Media Plugin for Mozilla packages"
+HOMEPAGE="https://www.openh264.org/"
+SRC_URI="https://github.com/cisco/${PN}/archive/v${PV/_p*/}.tar.gz -> ${P/_p*/}.tar.gz
+ https://github.com/mozilla/gmp-api/archive/${MY_COMMIT}.tar.gz -> gmp-api-Firefox${MOZVER}-${MY_COMMIT}.tar.gz"
+LICENSE="BSD"
+SLOT="0/6" # subslot = openh264 soname version
+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}/${PN}-2.1.0-pkgconfig-pathfix.patch" )
+
+S="${WORKDIR}/${PN}-${PV/_p*/}"
+
+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_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
+}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2021-11-10 18:49 Arthur Zamarin
0 siblings, 0 replies; 114+ messages in thread
From: Arthur Zamarin @ 2021-11-10 18:49 UTC (permalink / raw
To: gentoo-commits
commit: 6d3258ba0d35fe77480ec4413042176030e65eed
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 10 18:49:00 2021 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Nov 10 18:49:13 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d3258ba
media-libs/openh264: Stabilize 2.1.1_p20190331 sparc, #822960
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
media-libs/openh264/openh264-2.1.1_p20190331.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.1.1_p20190331.ebuild b/media-libs/openh264/openh264-2.1.1_p20190331.ebuild
index 23354673eca..011bd5aaea7 100644
--- a/media-libs/openh264/openh264-2.1.1_p20190331.ebuild
+++ b/media-libs/openh264/openh264-2.1.1_p20190331.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV/_p*/}.tar.gz -> ${P/_p*/}.
https://github.com/mozilla/gmp-api/archive/${MY_COMMIT}.tar.gz -> gmp-api-Firefox${MOZVER}-${MY_COMMIT}.tar.gz"
LICENSE="BSD"
SLOT="0/6" # subslot = openh264 soname version
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+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"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2021-11-10 22:26 Jakov Smolić
0 siblings, 0 replies; 114+ messages in thread
From: Jakov Smolić @ 2021-11-10 22:26 UTC (permalink / raw
To: gentoo-commits
commit: cfb0b7cb0d08ddf451d2b17f6aa7610c902e2980
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 10 22:25:58 2021 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Wed Nov 10 22:26:32 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfb0b7cb
media-libs/openh264: Stabilize 2.1.1_p20190331 amd64, #822960
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
media-libs/openh264/openh264-2.1.1_p20190331.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.1.1_p20190331.ebuild b/media-libs/openh264/openh264-2.1.1_p20190331.ebuild
index 011bd5aaea7..cd6579349fb 100644
--- a/media-libs/openh264/openh264-2.1.1_p20190331.ebuild
+++ b/media-libs/openh264/openh264-2.1.1_p20190331.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV/_p*/}.tar.gz -> ${P/_p*/}.
https://github.com/mozilla/gmp-api/archive/${MY_COMMIT}.tar.gz -> gmp-api-Firefox${MOZVER}-${MY_COMMIT}.tar.gz"
LICENSE="BSD"
SLOT="0/6" # subslot = openh264 soname version
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv sparc ~x86"
+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"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2021-11-11 2:22 Sam James
0 siblings, 0 replies; 114+ messages in thread
From: Sam James @ 2021-11-11 2:22 UTC (permalink / raw
To: gentoo-commits
commit: 0bb0f97c734da633a877cb4c8e3bb2b777e26d50
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 11 02:21:37 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Nov 11 02:22:33 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bb0f97c
media-libs/openh264: Stabilize 2.1.1_p20190331 x86, #822960
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/openh264/openh264-2.1.1_p20190331.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.1.1_p20190331.ebuild b/media-libs/openh264/openh264-2.1.1_p20190331.ebuild
index cd6579349fb..fe5d9ae3531 100644
--- a/media-libs/openh264/openh264-2.1.1_p20190331.ebuild
+++ b/media-libs/openh264/openh264-2.1.1_p20190331.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV/_p*/}.tar.gz -> ${P/_p*/}.
https://github.com/mozilla/gmp-api/archive/${MY_COMMIT}.tar.gz -> gmp-api-Firefox${MOZVER}-${MY_COMMIT}.tar.gz"
LICENSE="BSD"
SLOT="0/6" # subslot = openh264 soname version
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv sparc ~x86"
+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"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2021-11-11 2:22 Sam James
0 siblings, 0 replies; 114+ messages in thread
From: Sam James @ 2021-11-11 2:22 UTC (permalink / raw
To: gentoo-commits
commit: 874a816a201306a351fc5b0d606538293898131d
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 11 02:22:01 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Nov 11 02:22:36 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=874a816a
media-libs/openh264: Stabilize 2.1.1_p20190331 arm64, #822960
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/openh264/openh264-2.1.1_p20190331.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.1.1_p20190331.ebuild b/media-libs/openh264/openh264-2.1.1_p20190331.ebuild
index fe5d9ae3531..f2f94c1ccaa 100644
--- a/media-libs/openh264/openh264-2.1.1_p20190331.ebuild
+++ b/media-libs/openh264/openh264-2.1.1_p20190331.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV/_p*/}.tar.gz -> ${P/_p*/}.
https://github.com/mozilla/gmp-api/archive/${MY_COMMIT}.tar.gz -> gmp-api-Firefox${MOZVER}-${MY_COMMIT}.tar.gz"
LICENSE="BSD"
SLOT="0/6" # subslot = openh264 soname version
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv sparc x86"
+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"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2021-11-11 2:22 Sam James
0 siblings, 0 replies; 114+ messages in thread
From: Sam James @ 2021-11-11 2:22 UTC (permalink / raw
To: gentoo-commits
commit: 845a3ae2555cc736812b5fc1bb8b4ed6d22088eb
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 11 02:22:18 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Nov 11 02:22:38 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=845a3ae2
media-libs/openh264: Stabilize 2.1.1_p20190331 arm, #822960
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/openh264/openh264-2.1.1_p20190331.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.1.1_p20190331.ebuild b/media-libs/openh264/openh264-2.1.1_p20190331.ebuild
index f2f94c1ccaa..ca4ff296b0a 100644
--- a/media-libs/openh264/openh264-2.1.1_p20190331.ebuild
+++ b/media-libs/openh264/openh264-2.1.1_p20190331.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV/_p*/}.tar.gz -> ${P/_p*/}.
https://github.com/mozilla/gmp-api/archive/${MY_COMMIT}.tar.gz -> gmp-api-Firefox${MOZVER}-${MY_COMMIT}.tar.gz"
LICENSE="BSD"
SLOT="0/6" # subslot = openh264 soname version
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv sparc x86"
+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"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2021-11-11 2:23 Sam James
0 siblings, 0 replies; 114+ messages in thread
From: Sam James @ 2021-11-11 2:23 UTC (permalink / raw
To: gentoo-commits
commit: eecc12f576fad43ce62c5b487b708e206d0c9081
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 11 02:23:24 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Nov 11 02:23:24 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eecc12f5
media-libs/openh264: Stabilize 2.1.1_p20190331 ppc64, #822960
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/openh264/openh264-2.1.1_p20190331.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.1.1_p20190331.ebuild b/media-libs/openh264/openh264-2.1.1_p20190331.ebuild
index 08445209713..0121478cca8 100644
--- a/media-libs/openh264/openh264-2.1.1_p20190331.ebuild
+++ b/media-libs/openh264/openh264-2.1.1_p20190331.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV/_p*/}.tar.gz -> ${P/_p*/}.
https://github.com/mozilla/gmp-api/archive/${MY_COMMIT}.tar.gz -> gmp-api-Firefox${MOZVER}-${MY_COMMIT}.tar.gz"
LICENSE="BSD"
SLOT="0/6" # subslot = openh264 soname version
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv sparc x86"
+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"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2021-11-11 2:23 Sam James
0 siblings, 0 replies; 114+ messages in thread
From: Sam James @ 2021-11-11 2:23 UTC (permalink / raw
To: gentoo-commits
commit: 233f9df5c4c5e0eebd9449d66e23a99e605eada2
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 11 02:23:18 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Nov 11 02:23:18 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=233f9df5
media-libs/openh264: Stabilize 2.1.1_p20190331 ppc, #822960
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/openh264/openh264-2.1.1_p20190331.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.1.1_p20190331.ebuild b/media-libs/openh264/openh264-2.1.1_p20190331.ebuild
index ca4ff296b0a..08445209713 100644
--- a/media-libs/openh264/openh264-2.1.1_p20190331.ebuild
+++ b/media-libs/openh264/openh264-2.1.1_p20190331.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/cisco/${PN}/archive/v${PV/_p*/}.tar.gz -> ${P/_p*/}.
https://github.com/mozilla/gmp-api/archive/${MY_COMMIT}.tar.gz -> gmp-api-Firefox${MOZVER}-${MY_COMMIT}.tar.gz"
LICENSE="BSD"
SLOT="0/6" # subslot = openh264 soname version
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv sparc x86"
+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"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2022-01-07 17:46 Joonas Niilola
0 siblings, 0 replies; 114+ messages in thread
From: Joonas Niilola @ 2022-01-07 17:46 UTC (permalink / raw
To: gentoo-commits
commit: a8c788824e7b44ef0a406efe0a0e9471fd92c89e
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 7 17:44:56 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Jan 7 17:44:56 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8c78882
media-libs/openh264: snapshot openh264 & gmp-api
Closes: https://bugs.gentoo.org/829782
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/openh264/Manifest | 2 +
.../openh264/openh264-2.1.1_p20211226.ebuild | 119 +++++++++++++++++++++
2 files changed, 121 insertions(+)
diff --git a/media-libs/openh264/Manifest b/media-libs/openh264/Manifest
index 58b333d9f9ea..708d707d78bc 100644
--- a/media-libs/openh264/Manifest
+++ b/media-libs/openh264/Manifest
@@ -1,3 +1,5 @@
+DIST gmp-api-Firefox39-3a01c086d1b0394238ff1b5ad22e76022830625a.tar.gz 10464 BLAKE2B db6990a55b4128c267ee5ffa4e38edd2551c862e549776b4092d5683818001366665830c6304642cdd9c2c0afe06035edebafde769693082ae7a5236cdc463e8 SHA512 a6383834391d98754177b54df31d006144b5cad952df60115fd12fb6f0c87e571a10f9ce7276b817e4137efd97ffa7bca5092e289b0eb7cde2a3ad923319e874
DIST gmp-api-Firefox39-e3935759360861812d33cbd3b713e25f1de1ecb5.tar.gz 10440 BLAKE2B 92379258f2664778baee50b99573dbeae50e723a3f7605c62a4ca3aedd9129fbd1991d7b3ead1b8a3689e71f783ded0b15dca5e6d910345c95a6f28898bbdda3 SHA512 85e4b58cc66072fad2b6dbaa65a955a8931f73eb3664f05ddca65157ac5c2547225910c36b4507d88179a95cfb35a5aff6edadd3c0fa5418529c80ae6d736f44
DIST gmp-api-Firefox39.tar.gz 16363 BLAKE2B dd92d851c4f09476f1e394fd42c5e40ea707ac6dcabc3ceee62400eb998f1c98c781fbde581253ddd8f45b7447a0c7fdc61e74ef60b6fc3397cd4bf8995154ab SHA512 da6f05c5f0540be8d4f48d25b947b21214d34a6eed365ee5fa4a38c69f77325add4be902e0dcd9d06be43914a3518ded7e4f2289dab034a24325f0bff201692a
+DIST openh264-2.1.1-a8094d85f5dd5ef112fbcfec2974e18fd0387c0b.tar.gz 60276001 BLAKE2B 8774646eb7ab801cfac4b3409638d33110a7504264477d42790456d9f3d4bce55b98ce23c999b4e7d78e6730f705d4f216d4e8f48cb400613edafe729c27a835 SHA512 a29071d8dda61b346c9483a5585a640f93580896bfabae3c141c65209e4efeab0261e2cf46793aada91ac3af2386f190c96b7208ba8aff4d78957aa6c08d0154
DIST openh264-2.1.1.tar.gz 60239654 BLAKE2B d541fa686b1eb8352dbb4088fc4ef508f947660815c86b2bb7db841c927b7b9f763d7fe793f0fa1511620dbdc506c20cd5ad52740140337aa12b8c31b857a8e6 SHA512 f9c2925fa902c6278da40f68b967d25e62db7ce3541e8f5e7a0ee174204b6ecc7026b5853885c361f48ca01d71bacd585fb5b91f01f0c054ece80943f1afcf79
diff --git a/media-libs/openh264/openh264-2.1.1_p20211226.ebuild b/media-libs/openh264/openh264-2.1.1_p20211226.ebuild
new file mode 100644
index 000000000000..d90f788b8ef8
--- /dev/null
+++ b/media-libs/openh264/openh264-2.1.1_p20211226.ebuild
@@ -0,0 +1,119 @@
+# 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_OPENH264_COMMIT="a8094d85f5dd5ef112fbcfec2974e18fd0387c0b"
+MY_GMPAPI_COMMIT="3a01c086d1b0394238ff1b5ad22e76022830625a"
+DESCRIPTION="Cisco OpenH264 library and Gecko Media Plugin for Mozilla packages"
+HOMEPAGE="https://www.openh264.org/"
+SRC_URI="https://github.com/cisco/openh264/archive/${MY_OPENH264_COMMIT}.tar.gz -> ${P/_p*/}-${MY_OPENH264_COMMIT}.tar.gz
+ https://github.com/mozilla/gmp-api/archive/${MY_GMPAPI_COMMIT}.tar.gz -> gmp-api-Firefox${MOZVER}-${MY_GMPAPI_COMMIT}.tar.gz"
+LICENSE="BSD"
+SLOT="0/6" # subslot = openh264 soname version
+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}/${PN}-2.1.0-pkgconfig-pathfix.patch" )
+
+S="${WORKDIR}/${PN}-${MY_OPENH264_COMMIT}"
+
+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_GMPAPI_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
+}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2022-01-07 18:28 Joonas Niilola
0 siblings, 0 replies; 114+ messages in thread
From: Joonas Niilola @ 2022-01-07 18:28 UTC (permalink / raw
To: gentoo-commits
commit: b9f0712b401d348f666d0087498ff2fc4fb4759e
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 7 18:26:33 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Jan 7 18:27:57 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9f0712b
Revert "media-libs/openh264: snapshot openh264 & gmp-api"
This reverts commit a8c788824e7b44ef0a406efe0a0e9471fd92c89e.
- it seems to downgrade the libraries instead, another better
reviewed take later.
Bug: https://bugs.gentoo.org/829782
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/openh264/Manifest | 2 -
.../openh264/openh264-2.1.1_p20211226.ebuild | 119 ---------------------
2 files changed, 121 deletions(-)
diff --git a/media-libs/openh264/Manifest b/media-libs/openh264/Manifest
index 708d707d78bc..58b333d9f9ea 100644
--- a/media-libs/openh264/Manifest
+++ b/media-libs/openh264/Manifest
@@ -1,5 +1,3 @@
-DIST gmp-api-Firefox39-3a01c086d1b0394238ff1b5ad22e76022830625a.tar.gz 10464 BLAKE2B db6990a55b4128c267ee5ffa4e38edd2551c862e549776b4092d5683818001366665830c6304642cdd9c2c0afe06035edebafde769693082ae7a5236cdc463e8 SHA512 a6383834391d98754177b54df31d006144b5cad952df60115fd12fb6f0c87e571a10f9ce7276b817e4137efd97ffa7bca5092e289b0eb7cde2a3ad923319e874
DIST gmp-api-Firefox39-e3935759360861812d33cbd3b713e25f1de1ecb5.tar.gz 10440 BLAKE2B 92379258f2664778baee50b99573dbeae50e723a3f7605c62a4ca3aedd9129fbd1991d7b3ead1b8a3689e71f783ded0b15dca5e6d910345c95a6f28898bbdda3 SHA512 85e4b58cc66072fad2b6dbaa65a955a8931f73eb3664f05ddca65157ac5c2547225910c36b4507d88179a95cfb35a5aff6edadd3c0fa5418529c80ae6d736f44
DIST gmp-api-Firefox39.tar.gz 16363 BLAKE2B dd92d851c4f09476f1e394fd42c5e40ea707ac6dcabc3ceee62400eb998f1c98c781fbde581253ddd8f45b7447a0c7fdc61e74ef60b6fc3397cd4bf8995154ab SHA512 da6f05c5f0540be8d4f48d25b947b21214d34a6eed365ee5fa4a38c69f77325add4be902e0dcd9d06be43914a3518ded7e4f2289dab034a24325f0bff201692a
-DIST openh264-2.1.1-a8094d85f5dd5ef112fbcfec2974e18fd0387c0b.tar.gz 60276001 BLAKE2B 8774646eb7ab801cfac4b3409638d33110a7504264477d42790456d9f3d4bce55b98ce23c999b4e7d78e6730f705d4f216d4e8f48cb400613edafe729c27a835 SHA512 a29071d8dda61b346c9483a5585a640f93580896bfabae3c141c65209e4efeab0261e2cf46793aada91ac3af2386f190c96b7208ba8aff4d78957aa6c08d0154
DIST openh264-2.1.1.tar.gz 60239654 BLAKE2B d541fa686b1eb8352dbb4088fc4ef508f947660815c86b2bb7db841c927b7b9f763d7fe793f0fa1511620dbdc506c20cd5ad52740140337aa12b8c31b857a8e6 SHA512 f9c2925fa902c6278da40f68b967d25e62db7ce3541e8f5e7a0ee174204b6ecc7026b5853885c361f48ca01d71bacd585fb5b91f01f0c054ece80943f1afcf79
diff --git a/media-libs/openh264/openh264-2.1.1_p20211226.ebuild b/media-libs/openh264/openh264-2.1.1_p20211226.ebuild
deleted file mode 100644
index d90f788b8ef8..000000000000
--- a/media-libs/openh264/openh264-2.1.1_p20211226.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# 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_OPENH264_COMMIT="a8094d85f5dd5ef112fbcfec2974e18fd0387c0b"
-MY_GMPAPI_COMMIT="3a01c086d1b0394238ff1b5ad22e76022830625a"
-DESCRIPTION="Cisco OpenH264 library and Gecko Media Plugin for Mozilla packages"
-HOMEPAGE="https://www.openh264.org/"
-SRC_URI="https://github.com/cisco/openh264/archive/${MY_OPENH264_COMMIT}.tar.gz -> ${P/_p*/}-${MY_OPENH264_COMMIT}.tar.gz
- https://github.com/mozilla/gmp-api/archive/${MY_GMPAPI_COMMIT}.tar.gz -> gmp-api-Firefox${MOZVER}-${MY_GMPAPI_COMMIT}.tar.gz"
-LICENSE="BSD"
-SLOT="0/6" # subslot = openh264 soname version
-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}/${PN}-2.1.0-pkgconfig-pathfix.patch" )
-
-S="${WORKDIR}/${PN}-${MY_OPENH264_COMMIT}"
-
-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_GMPAPI_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
-}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2022-01-15 11:46 Joonas Niilola
0 siblings, 0 replies; 114+ messages in thread
From: Joonas Niilola @ 2022-01-15 11:46 UTC (permalink / raw
To: gentoo-commits
commit: 7b90857fc287b90aed823c8242e46fad53fd77da
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 15 11:44:55 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Jan 15 11:46:40 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b90857f
media-libs/openh264: drop 2.1.1
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/openh264/Manifest | 1 -
media-libs/openh264/openh264-2.1.1.ebuild | 115 ------------------------------
2 files changed, 116 deletions(-)
diff --git a/media-libs/openh264/Manifest b/media-libs/openh264/Manifest
index 58b333d9f9ea..8c4c43375071 100644
--- a/media-libs/openh264/Manifest
+++ b/media-libs/openh264/Manifest
@@ -1,3 +1,2 @@
DIST gmp-api-Firefox39-e3935759360861812d33cbd3b713e25f1de1ecb5.tar.gz 10440 BLAKE2B 92379258f2664778baee50b99573dbeae50e723a3f7605c62a4ca3aedd9129fbd1991d7b3ead1b8a3689e71f783ded0b15dca5e6d910345c95a6f28898bbdda3 SHA512 85e4b58cc66072fad2b6dbaa65a955a8931f73eb3664f05ddca65157ac5c2547225910c36b4507d88179a95cfb35a5aff6edadd3c0fa5418529c80ae6d736f44
-DIST gmp-api-Firefox39.tar.gz 16363 BLAKE2B dd92d851c4f09476f1e394fd42c5e40ea707ac6dcabc3ceee62400eb998f1c98c781fbde581253ddd8f45b7447a0c7fdc61e74ef60b6fc3397cd4bf8995154ab SHA512 da6f05c5f0540be8d4f48d25b947b21214d34a6eed365ee5fa4a38c69f77325add4be902e0dcd9d06be43914a3518ded7e4f2289dab034a24325f0bff201692a
DIST openh264-2.1.1.tar.gz 60239654 BLAKE2B d541fa686b1eb8352dbb4088fc4ef508f947660815c86b2bb7db841c927b7b9f763d7fe793f0fa1511620dbdc506c20cd5ad52740140337aa12b8c31b857a8e6 SHA512 f9c2925fa902c6278da40f68b967d25e62db7ce3541e8f5e7a0ee174204b6ecc7026b5853885c361f48ca01d71bacd585fb5b91f01f0c054ece80943f1afcf79
diff --git a/media-libs/openh264/openh264-2.1.1.ebuild b/media-libs/openh264/openh264-2.1.1.ebuild
deleted file mode 100644
index 0803e2743a9a..000000000000
--- a/media-libs/openh264/openh264-2.1.1.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs multilib-minimal
-
-MOZVER=39
-DESCRIPTION="Cisco OpenH264 library and Gecko Media Plugin for Mozilla packages"
-HOMEPAGE="https://www.openh264.org/"
-SRC_URI="https://github.com/cisco/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
- https://github.com/mozilla/gmp-api/archive/Firefox${MOZVER}.tar.gz -> gmp-api-Firefox${MOZVER}.tar.gz"
-LICENSE="BSD"
-SLOT="0/6" # subslot = openh264 soname version
-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}/${PN}-2.1.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-Firefox${MOZVER} 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
- doins "${T}"/${P}.js
-
- insinto /usr/$(get_libdir)/seamonkey/defaults/pref
- doins "${T}"/${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
-}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2022-01-27 13:40 Joonas Niilola
0 siblings, 0 replies; 114+ messages in thread
From: Joonas Niilola @ 2022-01-27 13:40 UTC (permalink / raw
To: gentoo-commits
commit: 562810f98f70b4f6eb40547e264ee6f4d1016af9
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 27 13:33:40 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Jan 27 13:40:19 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=562810f9
media-libs/openh264: add 2.2.0_pre20220125
Closes: https://bugs.gentoo.org/829782
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/openh264/Manifest | 1 +
.../openh264/openh264-2.2.0_pre20220125.ebuild | 119 +++++++++++++++++++++
2 files changed, 120 insertions(+)
diff --git a/media-libs/openh264/Manifest b/media-libs/openh264/Manifest
index 8c4c43375071..645f44fb87d6 100644
--- a/media-libs/openh264/Manifest
+++ b/media-libs/openh264/Manifest
@@ -1,2 +1,3 @@
DIST gmp-api-Firefox39-e3935759360861812d33cbd3b713e25f1de1ecb5.tar.gz 10440 BLAKE2B 92379258f2664778baee50b99573dbeae50e723a3f7605c62a4ca3aedd9129fbd1991d7b3ead1b8a3689e71f783ded0b15dca5e6d910345c95a6f28898bbdda3 SHA512 85e4b58cc66072fad2b6dbaa65a955a8931f73eb3664f05ddca65157ac5c2547225910c36b4507d88179a95cfb35a5aff6edadd3c0fa5418529c80ae6d736f44
DIST openh264-2.1.1.tar.gz 60239654 BLAKE2B d541fa686b1eb8352dbb4088fc4ef508f947660815c86b2bb7db841c927b7b9f763d7fe793f0fa1511620dbdc506c20cd5ad52740140337aa12b8c31b857a8e6 SHA512 f9c2925fa902c6278da40f68b967d25e62db7ce3541e8f5e7a0ee174204b6ecc7026b5853885c361f48ca01d71bacd585fb5b91f01f0c054ece80943f1afcf79
+DIST openh264-2.2.0_pre20220125.tar.gz 60276091 BLAKE2B 314adf64d92e9993aac2788b539d0173e4cdb6066dcc16c358ba28a887cf244f54025d916ea8a4add5617bd0a7e0f9fb9bb6ec5ac148faa0789c0975e75c736c SHA512 7bcb87d6ad54581f0552322f554f544fb7038b2a6bc632eee57d89885d432971bcb592590611ee754d0995e117327410e075ca2d6e3cff01585ea3c34f8376b9
diff --git a/media-libs/openh264/openh264-2.2.0_pre20220125.ebuild b/media-libs/openh264/openh264-2.2.0_pre20220125.ebuild
new file mode 100644
index 000000000000..d391886b736c
--- /dev/null
+++ b/media-libs/openh264/openh264-2.2.0_pre20220125.ebuild
@@ -0,0 +1,119 @@
+# 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_OPENH264_COMMIT="2c4379535ca62afafd39ca232f2e3592895b1fd7"
+MY_GMP_COMMIT="e3935759360861812d33cbd3b713e25f1de1ecb5"
+DESCRIPTION="Cisco OpenH264 library and Gecko Media Plugin for Mozilla packages"
+HOMEPAGE="https://www.openh264.org/"
+SRC_URI="https://github.com/cisco/openh264/archive/${MY_OPENH264_COMMIT}.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"
+SLOT="0/6.1" # subslot = openh264 soname version
+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}/${PN}-2.1.0-pkgconfig-pathfix.patch" )
+
+S="${WORKDIR}/openh264-${MY_OPENH264_COMMIT}"
+
+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
+}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2022-01-31 15:11 Joonas Niilola
0 siblings, 0 replies; 114+ messages in thread
From: Joonas Niilola @ 2022-01-31 15:11 UTC (permalink / raw
To: gentoo-commits
commit: 0a8d0c4a01778caf5f4556d4f40eb65dc1a609ea
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 31 15:10:36 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Jan 31 15:10:36 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a8d0c4a
media-libs/openh264: drop 2.2.0_pre20220125
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/openh264/Manifest | 1 -
.../openh264/openh264-2.2.0_pre20220125.ebuild | 119 ---------------------
2 files changed, 120 deletions(-)
diff --git a/media-libs/openh264/Manifest b/media-libs/openh264/Manifest
index 987dbeed8dd8..c713836658d0 100644
--- a/media-libs/openh264/Manifest
+++ b/media-libs/openh264/Manifest
@@ -1,4 +1,3 @@
DIST gmp-api-Firefox39-e3935759360861812d33cbd3b713e25f1de1ecb5.tar.gz 10440 BLAKE2B 92379258f2664778baee50b99573dbeae50e723a3f7605c62a4ca3aedd9129fbd1991d7b3ead1b8a3689e71f783ded0b15dca5e6d910345c95a6f28898bbdda3 SHA512 85e4b58cc66072fad2b6dbaa65a955a8931f73eb3664f05ddca65157ac5c2547225910c36b4507d88179a95cfb35a5aff6edadd3c0fa5418529c80ae6d736f44
DIST openh264-2.1.1.tar.gz 60239654 BLAKE2B d541fa686b1eb8352dbb4088fc4ef508f947660815c86b2bb7db841c927b7b9f763d7fe793f0fa1511620dbdc506c20cd5ad52740140337aa12b8c31b857a8e6 SHA512 f9c2925fa902c6278da40f68b967d25e62db7ce3541e8f5e7a0ee174204b6ecc7026b5853885c361f48ca01d71bacd585fb5b91f01f0c054ece80943f1afcf79
DIST openh264-2.2.0.tar.gz 60275282 BLAKE2B 69e44396de229c65cf7a87d6f9ce8e2ef67fbdad6740f6aa64825b71fc00af945dca3e4726b9f0b4f4b83e363f3f7aadadabbab291c612b0fb61b42478a8cacf SHA512 637e2bfa45ad586c10fc8990cad4d824ada07e277fd965c3a6cdd19bc7836b2d7082574037a3ff2ee631207dd8cb0ec4f68abafdc19646b433de561c47ce8d38
-DIST openh264-2.2.0_pre20220125.tar.gz 60276091 BLAKE2B 314adf64d92e9993aac2788b539d0173e4cdb6066dcc16c358ba28a887cf244f54025d916ea8a4add5617bd0a7e0f9fb9bb6ec5ac148faa0789c0975e75c736c SHA512 7bcb87d6ad54581f0552322f554f544fb7038b2a6bc632eee57d89885d432971bcb592590611ee754d0995e117327410e075ca2d6e3cff01585ea3c34f8376b9
diff --git a/media-libs/openh264/openh264-2.2.0_pre20220125.ebuild b/media-libs/openh264/openh264-2.2.0_pre20220125.ebuild
deleted file mode 100644
index d391886b736c..000000000000
--- a/media-libs/openh264/openh264-2.2.0_pre20220125.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# 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_OPENH264_COMMIT="2c4379535ca62afafd39ca232f2e3592895b1fd7"
-MY_GMP_COMMIT="e3935759360861812d33cbd3b713e25f1de1ecb5"
-DESCRIPTION="Cisco OpenH264 library and Gecko Media Plugin for Mozilla packages"
-HOMEPAGE="https://www.openh264.org/"
-SRC_URI="https://github.com/cisco/openh264/archive/${MY_OPENH264_COMMIT}.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"
-SLOT="0/6.1" # subslot = openh264 soname version
-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}/${PN}-2.1.0-pkgconfig-pathfix.patch" )
-
-S="${WORKDIR}/openh264-${MY_OPENH264_COMMIT}"
-
-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
-}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2022-01-31 15:11 Joonas Niilola
0 siblings, 0 replies; 114+ messages in thread
From: Joonas Niilola @ 2022-01-31 15:11 UTC (permalink / raw
To: gentoo-commits
commit: 9624afc5a3def084ef18b329bc0a95b2faef1959
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 31 15:10:29 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Jan 31 15:10:29 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9624afc5
media-libs/openh264: add 2.2.0
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/openh264/Manifest | 1 +
media-libs/openh264/openh264-2.2.0.ebuild | 116 ++++++++++++++++++++++++++++++
2 files changed, 117 insertions(+)
diff --git a/media-libs/openh264/Manifest b/media-libs/openh264/Manifest
index 645f44fb87d6..987dbeed8dd8 100644
--- a/media-libs/openh264/Manifest
+++ b/media-libs/openh264/Manifest
@@ -1,3 +1,4 @@
DIST gmp-api-Firefox39-e3935759360861812d33cbd3b713e25f1de1ecb5.tar.gz 10440 BLAKE2B 92379258f2664778baee50b99573dbeae50e723a3f7605c62a4ca3aedd9129fbd1991d7b3ead1b8a3689e71f783ded0b15dca5e6d910345c95a6f28898bbdda3 SHA512 85e4b58cc66072fad2b6dbaa65a955a8931f73eb3664f05ddca65157ac5c2547225910c36b4507d88179a95cfb35a5aff6edadd3c0fa5418529c80ae6d736f44
DIST openh264-2.1.1.tar.gz 60239654 BLAKE2B d541fa686b1eb8352dbb4088fc4ef508f947660815c86b2bb7db841c927b7b9f763d7fe793f0fa1511620dbdc506c20cd5ad52740140337aa12b8c31b857a8e6 SHA512 f9c2925fa902c6278da40f68b967d25e62db7ce3541e8f5e7a0ee174204b6ecc7026b5853885c361f48ca01d71bacd585fb5b91f01f0c054ece80943f1afcf79
+DIST openh264-2.2.0.tar.gz 60275282 BLAKE2B 69e44396de229c65cf7a87d6f9ce8e2ef67fbdad6740f6aa64825b71fc00af945dca3e4726b9f0b4f4b83e363f3f7aadadabbab291c612b0fb61b42478a8cacf SHA512 637e2bfa45ad586c10fc8990cad4d824ada07e277fd965c3a6cdd19bc7836b2d7082574037a3ff2ee631207dd8cb0ec4f68abafdc19646b433de561c47ce8d38
DIST openh264-2.2.0_pre20220125.tar.gz 60276091 BLAKE2B 314adf64d92e9993aac2788b539d0173e4cdb6066dcc16c358ba28a887cf244f54025d916ea8a4add5617bd0a7e0f9fb9bb6ec5ac148faa0789c0975e75c736c SHA512 7bcb87d6ad54581f0552322f554f544fb7038b2a6bc632eee57d89885d432971bcb592590611ee754d0995e117327410e075ca2d6e3cff01585ea3c34f8376b9
diff --git a/media-libs/openh264/openh264-2.2.0.ebuild b/media-libs/openh264/openh264-2.2.0.ebuild
new file mode 100644
index 000000000000..a99a1a7fb6aa
--- /dev/null
+++ b/media-libs/openh264/openh264-2.2.0.ebuild
@@ -0,0 +1,116 @@
+# 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="e3935759360861812d33cbd3b713e25f1de1ecb5"
+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"
+SLOT="0/6.1" # subslot = openh264 soname version
+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}/${PN}-2.1.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
+}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2022-03-06 8:46 Sam James
0 siblings, 0 replies; 114+ messages in thread
From: Sam James @ 2022-03-06 8:46 UTC (permalink / raw
To: gentoo-commits
commit: 9a602a31bc0bad62a75ee99537e7d88df7c957fb
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 6 08:46:28 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 6 08:46:28 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a602a31
media-libs/openh264: Stabilize 2.2.0 arm64, #834650
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/openh264/openh264-2.2.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.2.0.ebuild b/media-libs/openh264/openh264-2.2.0.ebuild
index a99a1a7fb6aa..7c139dfe7cac 100644
--- a/media-libs/openh264/openh264-2.2.0.ebuild
+++ b/media-libs/openh264/openh264-2.2.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/cisco/openh264/archive/refs/tags/v${PV}.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"
SLOT="0/6.1" # subslot = openh264 soname version
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+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"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2022-03-06 9:45 Sam James
0 siblings, 0 replies; 114+ messages in thread
From: Sam James @ 2022-03-06 9:45 UTC (permalink / raw
To: gentoo-commits
commit: ee63d289c9dfc7481fc25e74d7ad7fd054f266c8
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 6 09:44:18 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 6 09:44:18 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee63d289
media-libs/openh264: Stabilize 2.2.0 ppc, #834650
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/openh264/openh264-2.2.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.2.0.ebuild b/media-libs/openh264/openh264-2.2.0.ebuild
index 7c139dfe7cac..4a721aea792c 100644
--- a/media-libs/openh264/openh264-2.2.0.ebuild
+++ b/media-libs/openh264/openh264-2.2.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/cisco/openh264/archive/refs/tags/v${PV}.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"
SLOT="0/6.1" # subslot = openh264 soname version
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+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"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2022-03-06 9:45 Sam James
0 siblings, 0 replies; 114+ messages in thread
From: Sam James @ 2022-03-06 9:45 UTC (permalink / raw
To: gentoo-commits
commit: 97c0aa096478e1db838d7c15d83a6ef4a1c22836
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 6 09:44:36 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 6 09:44:36 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97c0aa09
media-libs/openh264: Stabilize 2.2.0 ppc64, #834650
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/openh264/openh264-2.2.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.2.0.ebuild b/media-libs/openh264/openh264-2.2.0.ebuild
index 4a721aea792c..aed3a29bd098 100644
--- a/media-libs/openh264/openh264-2.2.0.ebuild
+++ b/media-libs/openh264/openh264-2.2.0.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/cisco/openh264/archive/refs/tags/v${PV}.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"
SLOT="0/6.1" # subslot = openh264 soname version
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~sparc ~x86"
+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"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2022-03-06 17:30 Joonas Niilola
0 siblings, 0 replies; 114+ messages in thread
From: Joonas Niilola @ 2022-03-06 17:30 UTC (permalink / raw
To: gentoo-commits
commit: 8dd553a08663a2466cc2dd324726970675ee718d
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 6 11:20:03 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Mar 6 17:30:19 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dd553a0
media-libs/openh264: stabilize 2.2.0 for amd64
Bug: https://bugs.gentoo.org/834650
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/openh264/openh264-2.2.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.2.0.ebuild b/media-libs/openh264/openh264-2.2.0.ebuild
index 250432720e56..96031210a945 100644
--- a/media-libs/openh264/openh264-2.2.0.ebuild
+++ b/media-libs/openh264/openh264-2.2.0.ebuild
@@ -18,7 +18,7 @@ LICENSE="BSD"
# (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"
+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"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2022-03-06 17:30 Joonas Niilola
0 siblings, 0 replies; 114+ messages in thread
From: Joonas Niilola @ 2022-03-06 17:30 UTC (permalink / raw
To: gentoo-commits
commit: f2278a1c69dd17c09d4228af358fe319f75945b8
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 6 11:19:39 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Mar 6 17:30:19 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2278a1c
media-libs/openh264: stabilize 2.2.0 for x86
Bug: https://bugs.gentoo.org/834650
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/openh264/openh264-2.2.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.2.0.ebuild b/media-libs/openh264/openh264-2.2.0.ebuild
index 6e6ff79ca7a4..250432720e56 100644
--- a/media-libs/openh264/openh264-2.2.0.ebuild
+++ b/media-libs/openh264/openh264-2.2.0.ebuild
@@ -18,7 +18,7 @@ LICENSE="BSD"
# (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"
+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"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2022-03-06 17:30 Joonas Niilola
0 siblings, 0 replies; 114+ messages in thread
From: Joonas Niilola @ 2022-03-06 17:30 UTC (permalink / raw
To: gentoo-commits
commit: 01609ce89c06d2c787591af964e7088120cc2630
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 6 11:19:12 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Mar 6 17:30:18 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01609ce8
media-libs/openh264: add a note about 6.1 soname bump
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/openh264/openh264-2.2.0.ebuild | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.2.0.ebuild b/media-libs/openh264/openh264-2.2.0.ebuild
index aed3a29bd098..6e6ff79ca7a4 100644
--- a/media-libs/openh264/openh264-2.2.0.ebuild
+++ b/media-libs/openh264/openh264-2.2.0.ebuild
@@ -7,12 +7,17 @@ inherit toolchain-funcs multilib-minimal
MOZVER=39
MY_GMP_COMMIT="e3935759360861812d33cbd3b713e25f1de1ecb5"
+
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"
-SLOT="0/6.1" # subslot = openh264 soname version
+
+# 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"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2022-03-07 7:28 Agostino Sarubbo
0 siblings, 0 replies; 114+ messages in thread
From: Agostino Sarubbo @ 2022-03-07 7:28 UTC (permalink / raw
To: gentoo-commits
commit: 39781b4c37ff573ef069d196bc844a837064b8a5
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 7 07:28:09 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon Mar 7 07:28:09 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39781b4c
media-libs/openh264: sparc stable wrt bug #834650
Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
media-libs/openh264/openh264-2.2.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.2.0.ebuild b/media-libs/openh264/openh264-2.2.0.ebuild
index 96031210a945..6e518b15d23e 100644
--- a/media-libs/openh264/openh264-2.2.0.ebuild
+++ b/media-libs/openh264/openh264-2.2.0.ebuild
@@ -18,7 +18,7 @@ LICENSE="BSD"
# (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"
+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"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2022-03-12 12:01 Arthur Zamarin
0 siblings, 0 replies; 114+ messages in thread
From: Arthur Zamarin @ 2022-03-12 12:01 UTC (permalink / raw
To: gentoo-commits
commit: 8dce8302e05916bc6005613bbfc1508c77321cdd
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 12 12:00:54 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 12 12:00:54 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dce8302
media-libs/openh264: Stabilize 2.2.0 arm, #834650
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
media-libs/openh264/openh264-2.2.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.2.0.ebuild b/media-libs/openh264/openh264-2.2.0.ebuild
index 6e518b15d23e..5eca5a26ae02 100644
--- a/media-libs/openh264/openh264-2.2.0.ebuild
+++ b/media-libs/openh264/openh264-2.2.0.ebuild
@@ -18,7 +18,7 @@ LICENSE="BSD"
# (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"
+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"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2022-03-20 6:22 Joonas Niilola
0 siblings, 0 replies; 114+ messages in thread
From: Joonas Niilola @ 2022-03-20 6:22 UTC (permalink / raw
To: gentoo-commits
commit: d389d07159e5fdd358bf17ba47bd1d5195499cc9
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 20 06:16:42 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Mar 20 06:16:42 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d389d071
media-libs/openh264: drop 2.1.1_p20190331
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/openh264/Manifest | 1 -
.../openh264/openh264-2.1.1_p20190331.ebuild | 118 ---------------------
2 files changed, 119 deletions(-)
diff --git a/media-libs/openh264/Manifest b/media-libs/openh264/Manifest
index c713836658d0..f39be21b8256 100644
--- a/media-libs/openh264/Manifest
+++ b/media-libs/openh264/Manifest
@@ -1,3 +1,2 @@
DIST gmp-api-Firefox39-e3935759360861812d33cbd3b713e25f1de1ecb5.tar.gz 10440 BLAKE2B 92379258f2664778baee50b99573dbeae50e723a3f7605c62a4ca3aedd9129fbd1991d7b3ead1b8a3689e71f783ded0b15dca5e6d910345c95a6f28898bbdda3 SHA512 85e4b58cc66072fad2b6dbaa65a955a8931f73eb3664f05ddca65157ac5c2547225910c36b4507d88179a95cfb35a5aff6edadd3c0fa5418529c80ae6d736f44
-DIST openh264-2.1.1.tar.gz 60239654 BLAKE2B d541fa686b1eb8352dbb4088fc4ef508f947660815c86b2bb7db841c927b7b9f763d7fe793f0fa1511620dbdc506c20cd5ad52740140337aa12b8c31b857a8e6 SHA512 f9c2925fa902c6278da40f68b967d25e62db7ce3541e8f5e7a0ee174204b6ecc7026b5853885c361f48ca01d71bacd585fb5b91f01f0c054ece80943f1afcf79
DIST openh264-2.2.0.tar.gz 60275282 BLAKE2B 69e44396de229c65cf7a87d6f9ce8e2ef67fbdad6740f6aa64825b71fc00af945dca3e4726b9f0b4f4b83e363f3f7aadadabbab291c612b0fb61b42478a8cacf SHA512 637e2bfa45ad586c10fc8990cad4d824ada07e277fd965c3a6cdd19bc7836b2d7082574037a3ff2ee631207dd8cb0ec4f68abafdc19646b433de561c47ce8d38
diff --git a/media-libs/openh264/openh264-2.1.1_p20190331.ebuild b/media-libs/openh264/openh264-2.1.1_p20190331.ebuild
deleted file mode 100644
index 0121478cca8a..000000000000
--- a/media-libs/openh264/openh264-2.1.1_p20190331.ebuild
+++ /dev/null
@@ -1,118 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit toolchain-funcs multilib-minimal
-
-MOZVER=39
-MY_COMMIT="e3935759360861812d33cbd3b713e25f1de1ecb5"
-DESCRIPTION="Cisco OpenH264 library and Gecko Media Plugin for Mozilla packages"
-HOMEPAGE="https://www.openh264.org/"
-SRC_URI="https://github.com/cisco/${PN}/archive/v${PV/_p*/}.tar.gz -> ${P/_p*/}.tar.gz
- https://github.com/mozilla/gmp-api/archive/${MY_COMMIT}.tar.gz -> gmp-api-Firefox${MOZVER}-${MY_COMMIT}.tar.gz"
-LICENSE="BSD"
-SLOT="0/6" # subslot = openh264 soname version
-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}/${PN}-2.1.0-pkgconfig-pathfix.patch" )
-
-S="${WORKDIR}/${PN}-${PV/_p*/}"
-
-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_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
-}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2022-09-02 6:09 Joonas Niilola
0 siblings, 0 replies; 114+ messages in thread
From: Joonas Niilola @ 2022-09-02 6:09 UTC (permalink / raw
To: gentoo-commits
commit: edec53442320c5da3005b74d580d99077f6bf63b
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 2 06:09:29 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Sep 2 06:09:43 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edec5344
media-libs/openh264: Stabilize 2.3.0 x86, #867976
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/openh264/openh264-2.3.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.3.0.ebuild b/media-libs/openh264/openh264-2.3.0.ebuild
index 9724f77f200f..9619cfc2428b 100644
--- a/media-libs/openh264/openh264-2.3.0.ebuild
+++ b/media-libs/openh264/openh264-2.3.0.ebuild
@@ -18,7 +18,7 @@ LICENSE="BSD"
# (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"
+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"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2022-09-02 6:09 Joonas Niilola
0 siblings, 0 replies; 114+ messages in thread
From: Joonas Niilola @ 2022-09-02 6:09 UTC (permalink / raw
To: gentoo-commits
commit: 6e11a66dd263c733387511d3646a691e289e05d7
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 2 06:09:08 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Sep 2 06:09:43 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e11a66d
media-libs/openh264: Stabilize 2.3.0 amd64, #867976
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/openh264/openh264-2.3.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.3.0.ebuild b/media-libs/openh264/openh264-2.3.0.ebuild
index 518d3060fe18..9724f77f200f 100644
--- a/media-libs/openh264/openh264-2.3.0.ebuild
+++ b/media-libs/openh264/openh264-2.3.0.ebuild
@@ -18,7 +18,7 @@ LICENSE="BSD"
# (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"
+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"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2022-09-02 6:37 Arthur Zamarin
0 siblings, 0 replies; 114+ messages in thread
From: Arthur Zamarin @ 2022-09-02 6:37 UTC (permalink / raw
To: gentoo-commits
commit: 78950a4013e1f3133f03543540467acdd34b8a95
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 2 06:37:47 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 2 06:37:47 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78950a40
media-libs/openh264: Stabilize 2.3.0 arm64, #867976
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
media-libs/openh264/openh264-2.3.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.3.0.ebuild b/media-libs/openh264/openh264-2.3.0.ebuild
index 9619cfc2428b..b17ec503f656 100644
--- a/media-libs/openh264/openh264-2.3.0.ebuild
+++ b/media-libs/openh264/openh264-2.3.0.ebuild
@@ -18,7 +18,7 @@ LICENSE="BSD"
# (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"
+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"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2022-09-02 6:37 Arthur Zamarin
0 siblings, 0 replies; 114+ messages in thread
From: Arthur Zamarin @ 2022-09-02 6:37 UTC (permalink / raw
To: gentoo-commits
commit: d1156178ec4d60bf53beace83cd489327d3dcf18
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 2 06:37:47 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 2 06:37:47 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1156178
media-libs/openh264: Stabilize 2.3.0 arm, #867976
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
media-libs/openh264/openh264-2.3.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.3.0.ebuild b/media-libs/openh264/openh264-2.3.0.ebuild
index b17ec503f656..1eb4f62db3ce 100644
--- a/media-libs/openh264/openh264-2.3.0.ebuild
+++ b/media-libs/openh264/openh264-2.3.0.ebuild
@@ -18,7 +18,7 @@ LICENSE="BSD"
# (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"
+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"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2022-09-02 8:37 Arthur Zamarin
0 siblings, 0 replies; 114+ messages in thread
From: Arthur Zamarin @ 2022-09-02 8:37 UTC (permalink / raw
To: gentoo-commits
commit: 32f93d8fdd346b830299e9dce64c530f5939ea47
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 2 08:37:26 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 2 08:37:26 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32f93d8f
media-libs/openh264: Stabilize 2.3.0 sparc, #867976
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
media-libs/openh264/openh264-2.3.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.3.0.ebuild b/media-libs/openh264/openh264-2.3.0.ebuild
index 1eb4f62db3ce..981ca4ee5f52 100644
--- a/media-libs/openh264/openh264-2.3.0.ebuild
+++ b/media-libs/openh264/openh264-2.3.0.ebuild
@@ -18,7 +18,7 @@ LICENSE="BSD"
# (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"
+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"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2022-09-02 10:41 Arthur Zamarin
0 siblings, 0 replies; 114+ messages in thread
From: Arthur Zamarin @ 2022-09-02 10:41 UTC (permalink / raw
To: gentoo-commits
commit: 75565f45e270765c38531cb9b5b8fe764a28bd48
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 2 10:41:06 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 2 10:41:06 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75565f45
media-libs/openh264: Stabilize 2.3.0 ppc, #867976
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
media-libs/openh264/openh264-2.3.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.3.0.ebuild b/media-libs/openh264/openh264-2.3.0.ebuild
index 981ca4ee5f52..e745c3507458 100644
--- a/media-libs/openh264/openh264-2.3.0.ebuild
+++ b/media-libs/openh264/openh264-2.3.0.ebuild
@@ -18,7 +18,7 @@ LICENSE="BSD"
# (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"
+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"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2022-09-02 10:41 Arthur Zamarin
0 siblings, 0 replies; 114+ messages in thread
From: Arthur Zamarin @ 2022-09-02 10:41 UTC (permalink / raw
To: gentoo-commits
commit: 23a5f051c6f89666388dec74a9b183a04db99c4a
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 2 10:41:07 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 2 10:41:07 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23a5f051
media-libs/openh264: Stabilize 2.3.0 ppc64, #867976
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
media-libs/openh264/openh264-2.3.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.3.0.ebuild b/media-libs/openh264/openh264-2.3.0.ebuild
index e745c3507458..25f5bca8a26d 100644
--- a/media-libs/openh264/openh264-2.3.0.ebuild
+++ b/media-libs/openh264/openh264-2.3.0.ebuild
@@ -18,7 +18,7 @@ LICENSE="BSD"
# (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"
+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"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2022-09-09 5:26 Joonas Niilola
0 siblings, 0 replies; 114+ messages in thread
From: Joonas Niilola @ 2022-09-09 5:26 UTC (permalink / raw
To: gentoo-commits
commit: 89d9b1720c16c916012889749204b0f0a3fea01e
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 9 05:25:16 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Sep 9 05:25:16 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89d9b172
media-libs/openh264: drop 2.2.0
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/openh264/Manifest | 2 -
media-libs/openh264/openh264-2.2.0.ebuild | 121 ------------------------------
2 files changed, 123 deletions(-)
diff --git a/media-libs/openh264/Manifest b/media-libs/openh264/Manifest
index c939d4a9aeac..fdb4a2f013a6 100644
--- a/media-libs/openh264/Manifest
+++ b/media-libs/openh264/Manifest
@@ -1,4 +1,2 @@
DIST gmp-api-Firefox39-3a01c086d1b0394238ff1b5ad22e76022830625a.tar.gz 10464 BLAKE2B db6990a55b4128c267ee5ffa4e38edd2551c862e549776b4092d5683818001366665830c6304642cdd9c2c0afe06035edebafde769693082ae7a5236cdc463e8 SHA512 a6383834391d98754177b54df31d006144b5cad952df60115fd12fb6f0c87e571a10f9ce7276b817e4137efd97ffa7bca5092e289b0eb7cde2a3ad923319e874
-DIST gmp-api-Firefox39-e3935759360861812d33cbd3b713e25f1de1ecb5.tar.gz 10440 BLAKE2B 92379258f2664778baee50b99573dbeae50e723a3f7605c62a4ca3aedd9129fbd1991d7b3ead1b8a3689e71f783ded0b15dca5e6d910345c95a6f28898bbdda3 SHA512 85e4b58cc66072fad2b6dbaa65a955a8931f73eb3664f05ddca65157ac5c2547225910c36b4507d88179a95cfb35a5aff6edadd3c0fa5418529c80ae6d736f44
-DIST openh264-2.2.0.tar.gz 60275282 BLAKE2B 69e44396de229c65cf7a87d6f9ce8e2ef67fbdad6740f6aa64825b71fc00af945dca3e4726b9f0b4f4b83e363f3f7aadadabbab291c612b0fb61b42478a8cacf SHA512 637e2bfa45ad586c10fc8990cad4d824ada07e277fd965c3a6cdd19bc7836b2d7082574037a3ff2ee631207dd8cb0ec4f68abafdc19646b433de561c47ce8d38
DIST openh264-2.3.0.tar.gz 60290792 BLAKE2B 08aa571471188c72bb0f098fa1cfaf9ba46ee4311f50518de868a2d7bbd61d9d4547cf5d33b3140d56c09a1ea7ea411bfaa96ed960e159876e6cc803f081b5d3 SHA512 5f0ccbb3c0026a010d9830e973312486f9d5ea8152afa3653ab6b3c43906a1169cebea70532134c1624846cc03b586e85b12cfd0621af505bd532a7dd833defd
diff --git a/media-libs/openh264/openh264-2.2.0.ebuild b/media-libs/openh264/openh264-2.2.0.ebuild
deleted file mode 100644
index 5eca5a26ae02..000000000000
--- a/media-libs/openh264/openh264-2.2.0.ebuild
+++ /dev/null
@@ -1,121 +0,0 @@
-# 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="e3935759360861812d33cbd3b713e25f1de1ecb5"
-
-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}/${PN}-2.1.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
-}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2022-09-21 6:50 Joonas Niilola
0 siblings, 0 replies; 114+ messages in thread
From: Joonas Niilola @ 2022-09-21 6:50 UTC (permalink / raw
To: gentoo-commits
commit: c7e1f866cc30e0703814c5178471378724ec3a73
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 21 05:58:34 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Sep 21 06:50:06 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7e1f866
media-libs/openh264: add 2.3.1
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/openh264/Manifest | 1 +
media-libs/openh264/openh264-2.3.1.ebuild | 121 ++++++++++++++++++++++++++++++
2 files changed, 122 insertions(+)
diff --git a/media-libs/openh264/Manifest b/media-libs/openh264/Manifest
index fdb4a2f013a6..4a931d861a82 100644
--- a/media-libs/openh264/Manifest
+++ b/media-libs/openh264/Manifest
@@ -1,2 +1,3 @@
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
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
+}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2022-09-21 10:26 Joonas Niilola
0 siblings, 0 replies; 114+ messages in thread
From: Joonas Niilola @ 2022-09-21 10:26 UTC (permalink / raw
To: gentoo-commits
commit: f6d51ac73103c5a98ff3afc9997aaf768df851dc
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 21 10:25:06 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Sep 21 10:25:06 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6d51ac7
media-libs/openh264: revbump 2.3.1 and update subslot
- thanks to gyakovlev for reporting it.
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/openh264/{openh264-2.3.1.ebuild => openh264-2.3.1-r1.ebuild} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.3.1.ebuild b/media-libs/openh264/openh264-2.3.1-r1.ebuild
similarity index 99%
rename from media-libs/openh264/openh264-2.3.1.ebuild
rename to media-libs/openh264/openh264-2.3.1-r1.ebuild
index 518d3060fe18..c22e0eb1cf9e 100644
--- a/media-libs/openh264/openh264-2.3.1.ebuild
+++ b/media-libs/openh264/openh264-2.3.1-r1.ebuild
@@ -17,7 +17,7 @@ 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"
+SLOT="0/7"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
IUSE="cpu_flags_arm_neon cpu_flags_x86_avx2 +plugin utils"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2022-10-25 9:45 Arthur Zamarin
0 siblings, 0 replies; 114+ messages in thread
From: Arthur Zamarin @ 2022-10-25 9:45 UTC (permalink / raw
To: gentoo-commits
commit: eb68fe1a7c9c9231f9904c577b0b771235de4296
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 25 09:44:50 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Oct 25 09:44:50 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb68fe1a
media-libs/openh264: Stabilize 2.3.1-r1 arm64, #877805
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
media-libs/openh264/openh264-2.3.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.3.1-r1.ebuild b/media-libs/openh264/openh264-2.3.1-r1.ebuild
index c22e0eb1cf9e..cd59ccaf0e2c 100644
--- a/media-libs/openh264/openh264-2.3.1-r1.ebuild
+++ b/media-libs/openh264/openh264-2.3.1-r1.ebuild
@@ -18,7 +18,7 @@ LICENSE="BSD"
# (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 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+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"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2022-10-25 9:49 Joonas Niilola
0 siblings, 0 replies; 114+ messages in thread
From: Joonas Niilola @ 2022-10-25 9:49 UTC (permalink / raw
To: gentoo-commits
commit: cc44265c8eea3266fd068782489d7526d2f30e85
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 25 09:49:10 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Oct 25 09:49:38 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc44265c
media-libs/openh264: stabilize 2.3.1-r1 for amd64
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/openh264/openh264-2.3.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.3.1-r1.ebuild b/media-libs/openh264/openh264-2.3.1-r1.ebuild
index cd59ccaf0e2c..38f39d4c5398 100644
--- a/media-libs/openh264/openh264-2.3.1-r1.ebuild
+++ b/media-libs/openh264/openh264-2.3.1-r1.ebuild
@@ -18,7 +18,7 @@ LICENSE="BSD"
# (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 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+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"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2022-10-25 11:35 Joonas Niilola
0 siblings, 0 replies; 114+ messages in thread
From: Joonas Niilola @ 2022-10-25 11:35 UTC (permalink / raw
To: gentoo-commits
commit: 40a30f900dcae80a8f269f085c3e257ae83da3fa
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 25 11:34:29 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Oct 25 11:35:47 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40a30f90
media-libs/openh264: stabilize 2.3.1-r1 for x86
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/openh264/openh264-2.3.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.3.1-r1.ebuild b/media-libs/openh264/openh264-2.3.1-r1.ebuild
index 38f39d4c5398..26d476618bba 100644
--- a/media-libs/openh264/openh264-2.3.1-r1.ebuild
+++ b/media-libs/openh264/openh264-2.3.1-r1.ebuild
@@ -18,7 +18,7 @@ LICENSE="BSD"
# (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 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+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"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2022-11-29 15:58 WANG Xuerui
0 siblings, 0 replies; 114+ messages in thread
From: WANG Xuerui @ 2022-11-29 15:58 UTC (permalink / raw
To: gentoo-commits
commit: b0dc006956d0550885fa636c0fbbebb6ae947c42
Author: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 29 15:46:35 2022 +0000
Commit: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
CommitDate: Tue Nov 29 15:57:52 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0dc0069
media-libs/openh264: keyword 2.3.1-r1 for ~loong
Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org>
media-libs/openh264/openh264-2.3.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.3.1-r1.ebuild b/media-libs/openh264/openh264-2.3.1-r1.ebuild
index 26d476618bba..1e177407f89f 100644
--- a/media-libs/openh264/openh264-2.3.1-r1.ebuild
+++ b/media-libs/openh264/openh264-2.3.1-r1.ebuild
@@ -18,7 +18,7 @@ LICENSE="BSD"
# (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 ~ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
IUSE="cpu_flags_arm_neon cpu_flags_x86_avx2 +plugin utils"
RESTRICT="bindist test"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2023-01-15 8:48 Georgy Yakovlev
0 siblings, 0 replies; 114+ messages in thread
From: Georgy Yakovlev @ 2023-01-15 8:48 UTC (permalink / raw
To: gentoo-commits
commit: 5b26a65d2492564fb1e1fa8180489e34d78f4a25
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 15 08:47:20 2023 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sun Jan 15 08:47:54 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b26a65d
media-libs/openh264: stabilize 2.3.1-r1 for ppc64
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
media-libs/openh264/openh264-2.3.1-r1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/media-libs/openh264/openh264-2.3.1-r1.ebuild b/media-libs/openh264/openh264-2.3.1-r1.ebuild
index 1e177407f89f..61262aaa914f 100644
--- a/media-libs/openh264/openh264-2.3.1-r1.ebuild
+++ b/media-libs/openh264/openh264-2.3.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -18,7 +18,7 @@ LICENSE="BSD"
# (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 ~ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~sparc x86"
IUSE="cpu_flags_arm_neon cpu_flags_x86_avx2 +plugin utils"
RESTRICT="bindist test"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2023-01-15 15:12 Sam James
0 siblings, 0 replies; 114+ messages in thread
From: Sam James @ 2023-01-15 15:12 UTC (permalink / raw
To: gentoo-commits
commit: a3e914a010a0d3b11724c524750b8b0452050b34
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 15 15:12:19 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 15 15:12:25 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3e914a0
media-libs/openh264: Stabilize 2.3.1-r1 ppc, #890919
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/openh264/openh264-2.3.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.3.1-r1.ebuild b/media-libs/openh264/openh264-2.3.1-r1.ebuild
index 61262aaa914f..173c49401260 100644
--- a/media-libs/openh264/openh264-2.3.1-r1.ebuild
+++ b/media-libs/openh264/openh264-2.3.1-r1.ebuild
@@ -18,7 +18,7 @@ LICENSE="BSD"
# (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 ~ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86"
IUSE="cpu_flags_arm_neon cpu_flags_x86_avx2 +plugin utils"
RESTRICT="bindist test"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2023-01-15 15:12 Sam James
0 siblings, 0 replies; 114+ messages in thread
From: Sam James @ 2023-01-15 15:12 UTC (permalink / raw
To: gentoo-commits
commit: 7193e326c7ec2a5d87d854c5960a14e7b609d3d4
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 15 15:12:20 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 15 15:12:25 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7193e326
media-libs/openh264: Stabilize 2.3.1-r1 sparc, #890919
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/openh264/openh264-2.3.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.3.1-r1.ebuild b/media-libs/openh264/openh264-2.3.1-r1.ebuild
index 173c49401260..cc3239a73e29 100644
--- a/media-libs/openh264/openh264-2.3.1-r1.ebuild
+++ b/media-libs/openh264/openh264-2.3.1-r1.ebuild
@@ -18,7 +18,7 @@ LICENSE="BSD"
# (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 ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86"
IUSE="cpu_flags_arm_neon cpu_flags_x86_avx2 +plugin utils"
RESTRICT="bindist test"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2023-01-15 15:12 Sam James
0 siblings, 0 replies; 114+ messages in thread
From: Sam James @ 2023-01-15 15:12 UTC (permalink / raw
To: gentoo-commits
commit: 307266168d97701c86c6e0928567822d8db7b1ea
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 15 15:12:21 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 15 15:12:25 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30726616
media-libs/openh264: Stabilize 2.3.1-r1 arm, #890919
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/openh264/openh264-2.3.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.3.1-r1.ebuild b/media-libs/openh264/openh264-2.3.1-r1.ebuild
index cc3239a73e29..0bb5fa26460b 100644
--- a/media-libs/openh264/openh264-2.3.1-r1.ebuild
+++ b/media-libs/openh264/openh264-2.3.1-r1.ebuild
@@ -18,7 +18,7 @@ LICENSE="BSD"
# (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 ppc ppc64 ~riscv sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86"
IUSE="cpu_flags_arm_neon cpu_flags_x86_avx2 +plugin utils"
RESTRICT="bindist test"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2023-01-30 6:16 Joonas Niilola
0 siblings, 0 replies; 114+ messages in thread
From: Joonas Niilola @ 2023-01-30 6:16 UTC (permalink / raw
To: gentoo-commits
commit: 568339e99305a1ee5dfddcecf1311020e465974f
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 30 06:15:43 2023 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Jan 30 06:16:34 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=568339e9
media-libs/openh264: drop 2.3.0
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/openh264/Manifest | 1 -
media-libs/openh264/openh264-2.3.0.ebuild | 121 ------------------------------
2 files changed, 122 deletions(-)
diff --git a/media-libs/openh264/Manifest b/media-libs/openh264/Manifest
index 4a931d861a82..01ff57956a19 100644
--- a/media-libs/openh264/Manifest
+++ b/media-libs/openh264/Manifest
@@ -1,3 +1,2 @@
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
diff --git a/media-libs/openh264/openh264-2.3.0.ebuild b/media-libs/openh264/openh264-2.3.0.ebuild
deleted file mode 100644
index 25f5bca8a26d..000000000000
--- a/media-libs/openh264/openh264-2.3.0.ebuild
+++ /dev/null
@@ -1,121 +0,0 @@
-# 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
-}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2023-04-08 17:56 Arthur Zamarin
0 siblings, 0 replies; 114+ messages in thread
From: Arthur Zamarin @ 2023-04-08 17:56 UTC (permalink / raw
To: gentoo-commits
commit: dae37f6c50c075342b547fc599eeffbc3ded064b
Author: Matoro Mahri <matoro <AT> users <DOT> noreply <DOT> github <DOT> com>
AuthorDate: Sat Apr 8 16:27:46 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Apr 8 17:56:45 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dae37f6c
media-libs/openh264: Keyword 2.3.1-r1 mips, #896138
Signed-off-by: Matoro Mahri <matoro <AT> users.noreply.github.com>
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
media-libs/openh264/openh264-2.3.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.3.1-r1.ebuild b/media-libs/openh264/openh264-2.3.1-r1.ebuild
index bd16d2a68ecf..6c26bb488b3c 100644
--- a/media-libs/openh264/openh264-2.3.1-r1.ebuild
+++ b/media-libs/openh264/openh264-2.3.1-r1.ebuild
@@ -18,7 +18,7 @@ LICENSE="BSD"
# (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 ppc ppc64 ~riscv sparc x86"
+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 )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2023-07-27 7:43 Joonas Niilola
0 siblings, 0 replies; 114+ messages in thread
From: Joonas Niilola @ 2023-07-27 7:43 UTC (permalink / raw
To: gentoo-commits
commit: bb90f46ed25e16e5fdc697977f1e05241c2e7968
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 27 07:40:11 2023 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Jul 27 07:40:11 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb90f46e
media-libs/openh264: add missing -fPIC to flags to fix textrels
Closes: https://bugs.gentoo.org/911141
Closes: https://github.com/gentoo/gentoo/pull/32033
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/openh264/openh264-2.3.1-r2.ebuild | 134 +++++++++++++++++++++++++++
1 file changed, 134 insertions(+)
diff --git a/media-libs/openh264/openh264-2.3.1-r2.ebuild b/media-libs/openh264/openh264-2.3.1-r2.ebuild
new file mode 100644
index 000000000000..6f169205a2b2
--- /dev/null
+++ b/media-libs/openh264/openh264-2.3.1-r2.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2023 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/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
+}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2023-08-26 4:37 Joonas Niilola
0 siblings, 0 replies; 114+ messages in thread
From: Joonas Niilola @ 2023-08-26 4:37 UTC (permalink / raw
To: gentoo-commits
commit: 7b5c26178f78b515e1a58dd3d001f99efd5673ec
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 26 04:37:00 2023 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Aug 26 04:37:00 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b5c2617
media-libs/openh264: bump GMP-API to latest upstream commit
Closes: https://bugs.gentoo.org/912998
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/openh264/Manifest | 1 +
media-libs/openh264/openh264-2.3.1-r3.ebuild | 134 +++++++++++++++++++++++++++
2 files changed, 135 insertions(+)
diff --git a/media-libs/openh264/Manifest b/media-libs/openh264/Manifest
index 01ff57956a19..c4c00b9f3269 100644
--- a/media-libs/openh264/Manifest
+++ b/media-libs/openh264/Manifest
@@ -1,2 +1,3 @@
+DIST gmp-api-Firefox114_2-e7d30b921df736a1121a0c8e0cf3ab1ce5b8a4b7.tar.gz 10915 BLAKE2B aa4b82baebbd990d94f381be4516e8780f6bc3a2104c4b899f091a9e6ec91dff9788ee6ef548d3bc07c7bf50f56347c44d01e51805f96cf9b59494889a5f7b61 SHA512 f1c75007d4f1e1ef3a11b8eb9c703935408a5e4051c8eab408e4edc09f265a71f172025269442fdab9d4c2a8b108fa69397bfbd84af4ecda22881b50de804de9
DIST gmp-api-Firefox39-3a01c086d1b0394238ff1b5ad22e76022830625a.tar.gz 10464 BLAKE2B db6990a55b4128c267ee5ffa4e38edd2551c862e549776b4092d5683818001366665830c6304642cdd9c2c0afe06035edebafde769693082ae7a5236cdc463e8 SHA512 a6383834391d98754177b54df31d006144b5cad952df60115fd12fb6f0c87e571a10f9ce7276b817e4137efd97ffa7bca5092e289b0eb7cde2a3ad923319e874
DIST openh264-2.3.1.tar.gz 60290897 BLAKE2B b4480150cfe7c44b89c7b294698db06f93d96f5f9f3ef4345108c4e360e99bc6133407cead54e720e6e74aa17ab9f2e4342287a42f19463a54eb44c9d3141c80 SHA512 fd59c767794cdfb934d692d5929e4500d78606cbf1e403bc7c7dce048cc07e40daa0794357adb856d29479427a53460c76338e156b6bbeaa36139afcd603c8e1
diff --git a/media-libs/openh264/openh264-2.3.1-r3.ebuild b/media-libs/openh264/openh264-2.3.1-r3.ebuild
new file mode 100644
index 000000000000..f97e1deaaf35
--- /dev/null
+++ b/media-libs/openh264/openh264-2.3.1-r3.ebuild
@@ -0,0 +1,134 @@
+# 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
+}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2023-08-31 7:07 Joonas Niilola
0 siblings, 0 replies; 114+ messages in thread
From: Joonas Niilola @ 2023-08-31 7:07 UTC (permalink / raw
To: gentoo-commits
commit: e62ea4d05f48057c8d7d6119cea36db12139cc6f
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 31 06:11:27 2023 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Aug 31 07:07:28 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e62ea4d0
media-libs/openh264: drop 2.3.1-r2
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/openh264/openh264-2.3.1-r2.ebuild | 134 ---------------------------
1 file changed, 134 deletions(-)
diff --git a/media-libs/openh264/openh264-2.3.1-r2.ebuild b/media-libs/openh264/openh264-2.3.1-r2.ebuild
deleted file mode 100644
index 6f169205a2b2..000000000000
--- a/media-libs/openh264/openh264-2.3.1-r2.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=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/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
-}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2023-10-02 6:27 Joonas Niilola
0 siblings, 0 replies; 114+ messages in thread
From: Joonas Niilola @ 2023-10-02 6:27 UTC (permalink / raw
To: gentoo-commits
commit: 1160896a84e0fd1e4e1dd1e75a960abd0882b950
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 2 06:27:00 2023 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Oct 2 06:27:00 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1160896a
media-libs/openh264: destabilize 2.3.1-r1 for ~sparc
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/openh264/openh264-2.3.1-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.3.1-r1.ebuild b/media-libs/openh264/openh264-2.3.1-r1.ebuild
index 6c26bb488b3c..25a7f600b016 100644
--- a/media-libs/openh264/openh264-2.3.1-r1.ebuild
+++ b/media-libs/openh264/openh264-2.3.1-r1.ebuild
@@ -18,7 +18,7 @@ LICENSE="BSD"
# (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"
+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 )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2023-10-02 6:35 Joonas Niilola
0 siblings, 0 replies; 114+ messages in thread
From: Joonas Niilola @ 2023-10-02 6:35 UTC (permalink / raw
To: gentoo-commits
commit: b41803175e674bfe2a22516b4d0a7ab5c049f63c
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 2 06:33:05 2023 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Oct 2 06:35:33 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4180317
media-libs/openh264: Stabilize 2.3.1-r3 x86, #915064
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/openh264/openh264-2.3.1-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.3.1-r3.ebuild b/media-libs/openh264/openh264-2.3.1-r3.ebuild
index 38f886d8144e..3e09ee349fb7 100644
--- a/media-libs/openh264/openh264-2.3.1-r3.ebuild
+++ b/media-libs/openh264/openh264-2.3.1-r3.ebuild
@@ -18,7 +18,7 @@ LICENSE="BSD"
# (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"
+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 )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2023-10-02 6:35 Joonas Niilola
0 siblings, 0 replies; 114+ messages in thread
From: Joonas Niilola @ 2023-10-02 6:35 UTC (permalink / raw
To: gentoo-commits
commit: 7a46955a3b69fecd8b7c73e584a350b6274357c6
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 2 06:32:54 2023 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Oct 2 06:35:33 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a46955a
media-libs/openh264: Stabilize 2.3.1-r3 amd64, #915064
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/openh264/openh264-2.3.1-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.3.1-r3.ebuild b/media-libs/openh264/openh264-2.3.1-r3.ebuild
index f97e1deaaf35..38f886d8144e 100644
--- a/media-libs/openh264/openh264-2.3.1-r3.ebuild
+++ b/media-libs/openh264/openh264-2.3.1-r3.ebuild
@@ -18,7 +18,7 @@ LICENSE="BSD"
# (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"
+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 )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2023-10-02 10:14 Arthur Zamarin
0 siblings, 0 replies; 114+ messages in thread
From: Arthur Zamarin @ 2023-10-02 10:14 UTC (permalink / raw
To: gentoo-commits
commit: b3d4ef12bb545d071b1349cecd74722b1a62d762
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 2 10:13:49 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 2 10:13:49 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3d4ef12
media-libs/openh264: Stabilize 2.3.1-r3 arm64, #915064
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
media-libs/openh264/openh264-2.3.1-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.3.1-r3.ebuild b/media-libs/openh264/openh264-2.3.1-r3.ebuild
index 3e09ee349fb7..ac31ff09b06e 100644
--- a/media-libs/openh264/openh264-2.3.1-r3.ebuild
+++ b/media-libs/openh264/openh264-2.3.1-r3.ebuild
@@ -18,7 +18,7 @@ LICENSE="BSD"
# (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"
+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 )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2023-10-02 10:14 Arthur Zamarin
0 siblings, 0 replies; 114+ messages in thread
From: Arthur Zamarin @ 2023-10-02 10:14 UTC (permalink / raw
To: gentoo-commits
commit: 328790878f7a263d99709b99c1ab2f14ba415c93
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 2 10:13:50 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 2 10:13:50 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32879087
media-libs/openh264: Stabilize 2.3.1-r3 arm, #915064
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
media-libs/openh264/openh264-2.3.1-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.3.1-r3.ebuild b/media-libs/openh264/openh264-2.3.1-r3.ebuild
index ac31ff09b06e..698fdccb3c05 100644
--- a/media-libs/openh264/openh264-2.3.1-r3.ebuild
+++ b/media-libs/openh264/openh264-2.3.1-r3.ebuild
@@ -18,7 +18,7 @@ LICENSE="BSD"
# (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"
+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 )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2023-10-02 10:48 Sam James
0 siblings, 0 replies; 114+ messages in thread
From: Sam James @ 2023-10-02 10:48 UTC (permalink / raw
To: gentoo-commits
commit: 97a34bd4ab4fe9b1e9e09754f5bb7615e9fd0bf8
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 2 10:48:13 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 2 10:48:13 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97a34bd4
media-libs/openh264: Stabilize 2.3.1-r3 ppc64, #915064
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/openh264/openh264-2.3.1-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.3.1-r3.ebuild b/media-libs/openh264/openh264-2.3.1-r3.ebuild
index 698fdccb3c05..81838099d70c 100644
--- a/media-libs/openh264/openh264-2.3.1-r3.ebuild
+++ b/media-libs/openh264/openh264-2.3.1-r3.ebuild
@@ -18,7 +18,7 @@ LICENSE="BSD"
# (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"
+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 )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2023-11-25 8:55 Joonas Niilola
0 siblings, 0 replies; 114+ messages in thread
From: Joonas Niilola @ 2023-11-25 8:55 UTC (permalink / raw
To: gentoo-commits
commit: f9cb01d0bc06cba11b4797b49f35609a5f9450f3
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 25 08:55:16 2023 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Nov 25 08:55:16 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9cb01d0
media-libs/openh264: add 2.4.0
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/openh264/Manifest | 1 +
media-libs/openh264/openh264-2.4.0.ebuild | 134 ++++++++++++++++++++++++++++++
2 files changed, 135 insertions(+)
diff --git a/media-libs/openh264/Manifest b/media-libs/openh264/Manifest
index c4c00b9f3269..f94a27428e56 100644
--- a/media-libs/openh264/Manifest
+++ b/media-libs/openh264/Manifest
@@ -1,3 +1,4 @@
DIST gmp-api-Firefox114_2-e7d30b921df736a1121a0c8e0cf3ab1ce5b8a4b7.tar.gz 10915 BLAKE2B aa4b82baebbd990d94f381be4516e8780f6bc3a2104c4b899f091a9e6ec91dff9788ee6ef548d3bc07c7bf50f56347c44d01e51805f96cf9b59494889a5f7b61 SHA512 f1c75007d4f1e1ef3a11b8eb9c703935408a5e4051c8eab408e4edc09f265a71f172025269442fdab9d4c2a8b108fa69397bfbd84af4ecda22881b50de804de9
DIST gmp-api-Firefox39-3a01c086d1b0394238ff1b5ad22e76022830625a.tar.gz 10464 BLAKE2B db6990a55b4128c267ee5ffa4e38edd2551c862e549776b4092d5683818001366665830c6304642cdd9c2c0afe06035edebafde769693082ae7a5236cdc463e8 SHA512 a6383834391d98754177b54df31d006144b5cad952df60115fd12fb6f0c87e571a10f9ce7276b817e4137efd97ffa7bca5092e289b0eb7cde2a3ad923319e874
DIST openh264-2.3.1.tar.gz 60290897 BLAKE2B b4480150cfe7c44b89c7b294698db06f93d96f5f9f3ef4345108c4e360e99bc6133407cead54e720e6e74aa17ab9f2e4342287a42f19463a54eb44c9d3141c80 SHA512 fd59c767794cdfb934d692d5929e4500d78606cbf1e403bc7c7dce048cc07e40daa0794357adb856d29479427a53460c76338e156b6bbeaa36139afcd603c8e1
+DIST openh264-2.4.0.tar.gz 60297968 BLAKE2B d725896979e8178277e304ac0d94e59f0971a7f0f443f6dee0abffbadc53cce8ba7fe6612a966c697296bf46c3035bd03ac9a65e63d6d87853317b178b06a236 SHA512 dc66986e84ad328e1615384e7bff93d6eaac42a68e87d9c9b59f55d9f90efd13dc87637a7e3b8c9694634dfa82351c5944828f3f478286608e362e014dd70ca1
diff --git a/media-libs/openh264/openh264-2.4.0.ebuild b/media-libs/openh264/openh264-2.4.0.ebuild
new file mode 100644
index 000000000000..f97e1deaaf35
--- /dev/null
+++ b/media-libs/openh264/openh264-2.4.0.ebuild
@@ -0,0 +1,134 @@
+# 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
+}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2023-11-30 5:58 Arthur Zamarin
0 siblings, 0 replies; 114+ messages in thread
From: Arthur Zamarin @ 2023-11-30 5:58 UTC (permalink / raw
To: gentoo-commits
commit: 8e74e2f8d8bdad3c8cdfb0ffb5281983beeb2870
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 30 05:58:19 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Nov 30 05:58:19 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e74e2f8
media-libs/openh264: Stabilize 2.3.1-r3 ppc, #915064
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
media-libs/openh264/openh264-2.3.1-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.3.1-r3.ebuild b/media-libs/openh264/openh264-2.3.1-r3.ebuild
index 81838099d70c..8323e045ed3e 100644
--- a/media-libs/openh264/openh264-2.3.1-r3.ebuild
+++ b/media-libs/openh264/openh264-2.3.1-r3.ebuild
@@ -18,7 +18,7 @@ LICENSE="BSD"
# (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"
+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 )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2023-12-08 6:50 Joonas Niilola
0 siblings, 0 replies; 114+ messages in thread
From: Joonas Niilola @ 2023-12-08 6:50 UTC (permalink / raw
To: gentoo-commits
commit: f4accd9f596005fc049ecdfd0ba918d4c06ed993
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 8 06:49:52 2023 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Dec 8 06:49:52 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4accd9f
media-libs/openh264: drop 2.3.1-r1
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/openh264/Manifest | 1 -
media-libs/openh264/openh264-2.3.1-r1.ebuild | 133 ---------------------------
2 files changed, 134 deletions(-)
diff --git a/media-libs/openh264/Manifest b/media-libs/openh264/Manifest
index f94a27428e56..e4cc7a5249b2 100644
--- a/media-libs/openh264/Manifest
+++ b/media-libs/openh264/Manifest
@@ -1,4 +1,3 @@
DIST gmp-api-Firefox114_2-e7d30b921df736a1121a0c8e0cf3ab1ce5b8a4b7.tar.gz 10915 BLAKE2B aa4b82baebbd990d94f381be4516e8780f6bc3a2104c4b899f091a9e6ec91dff9788ee6ef548d3bc07c7bf50f56347c44d01e51805f96cf9b59494889a5f7b61 SHA512 f1c75007d4f1e1ef3a11b8eb9c703935408a5e4051c8eab408e4edc09f265a71f172025269442fdab9d4c2a8b108fa69397bfbd84af4ecda22881b50de804de9
-DIST gmp-api-Firefox39-3a01c086d1b0394238ff1b5ad22e76022830625a.tar.gz 10464 BLAKE2B db6990a55b4128c267ee5ffa4e38edd2551c862e549776b4092d5683818001366665830c6304642cdd9c2c0afe06035edebafde769693082ae7a5236cdc463e8 SHA512 a6383834391d98754177b54df31d006144b5cad952df60115fd12fb6f0c87e571a10f9ce7276b817e4137efd97ffa7bca5092e289b0eb7cde2a3ad923319e874
DIST openh264-2.3.1.tar.gz 60290897 BLAKE2B b4480150cfe7c44b89c7b294698db06f93d96f5f9f3ef4345108c4e360e99bc6133407cead54e720e6e74aa17ab9f2e4342287a42f19463a54eb44c9d3141c80 SHA512 fd59c767794cdfb934d692d5929e4500d78606cbf1e403bc7c7dce048cc07e40daa0794357adb856d29479427a53460c76338e156b6bbeaa36139afcd603c8e1
DIST openh264-2.4.0.tar.gz 60297968 BLAKE2B d725896979e8178277e304ac0d94e59f0971a7f0f443f6dee0abffbadc53cce8ba7fe6612a966c697296bf46c3035bd03ac9a65e63d6d87853317b178b06a236 SHA512 dc66986e84ad328e1615384e7bff93d6eaac42a68e87d9c9b59f55d9f90efd13dc87637a7e3b8c9694634dfa82351c5944828f3f478286608e362e014dd70ca1
diff --git a/media-libs/openh264/openh264-2.3.1-r1.ebuild b/media-libs/openh264/openh264-2.3.1-r1.ebuild
deleted file mode 100644
index 25a7f600b016..000000000000
--- a/media-libs/openh264/openh264-2.3.1-r1.ebuild
+++ /dev/null
@@ -1,133 +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=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/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)" \
- $@
-}
-
-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
-}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2024-01-20 14:05 Joonas Niilola
0 siblings, 0 replies; 114+ messages in thread
From: Joonas Niilola @ 2024-01-20 14:05 UTC (permalink / raw
To: gentoo-commits
commit: 85fc9eb9a85b31790794eb54d1ce9c2125f7ff71
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 20 14:03:58 2024 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Jan 20 14:05:35 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85fc9eb9
media-libs/openh264: Stabilize 2.4.0-r1 x86, #922541
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/openh264/openh264-2.4.0-r1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/media-libs/openh264/openh264-2.4.0-r1.ebuild b/media-libs/openh264/openh264-2.4.0-r1.ebuild
index a98825f85f9b..832b83a41e03 100644
--- a/media-libs/openh264/openh264-2.4.0-r1.ebuild
+++ b/media-libs/openh264/openh264-2.4.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -18,7 +18,7 @@ LICENSE="BSD"
# (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"
+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 )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2024-01-20 14:05 Joonas Niilola
0 siblings, 0 replies; 114+ messages in thread
From: Joonas Niilola @ 2024-01-20 14:05 UTC (permalink / raw
To: gentoo-commits
commit: 665cbee57f6bee47c97a07997add91d99b0b5972
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 20 14:05:19 2024 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Jan 20 14:05:35 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=665cbee5
media-libs/openh264: Stabilize 2.4.0-r1 amd64, #922541
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/openh264/openh264-2.4.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.4.0-r1.ebuild b/media-libs/openh264/openh264-2.4.0-r1.ebuild
index 832b83a41e03..e21e90f2f133 100644
--- a/media-libs/openh264/openh264-2.4.0-r1.ebuild
+++ b/media-libs/openh264/openh264-2.4.0-r1.ebuild
@@ -18,7 +18,7 @@ LICENSE="BSD"
# (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"
+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 )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2024-01-20 18:35 Arthur Zamarin
0 siblings, 0 replies; 114+ messages in thread
From: Arthur Zamarin @ 2024-01-20 18:35 UTC (permalink / raw
To: gentoo-commits
commit: 7328441aae506f1be6ed94440e2c4286f80be604
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 20 18:34:44 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 20 18:34:44 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7328441a
media-libs/openh264: Stabilize 2.4.0-r1 arm, #922541
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
media-libs/openh264/openh264-2.4.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.4.0-r1.ebuild b/media-libs/openh264/openh264-2.4.0-r1.ebuild
index e21e90f2f133..4cbb0a2e643e 100644
--- a/media-libs/openh264/openh264-2.4.0-r1.ebuild
+++ b/media-libs/openh264/openh264-2.4.0-r1.ebuild
@@ -18,7 +18,7 @@ LICENSE="BSD"
# (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"
+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 )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2024-01-20 18:35 Arthur Zamarin
0 siblings, 0 replies; 114+ messages in thread
From: Arthur Zamarin @ 2024-01-20 18:35 UTC (permalink / raw
To: gentoo-commits
commit: 9bfb175fcee58b96790bcabc88d0b218850cc3ce
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 20 18:34:45 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 20 18:34:45 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bfb175f
media-libs/openh264: Stabilize 2.4.0-r1 ppc64, #922541
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
media-libs/openh264/openh264-2.4.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.4.0-r1.ebuild b/media-libs/openh264/openh264-2.4.0-r1.ebuild
index 4cbb0a2e643e..249d225d2686 100644
--- a/media-libs/openh264/openh264-2.4.0-r1.ebuild
+++ b/media-libs/openh264/openh264-2.4.0-r1.ebuild
@@ -18,7 +18,7 @@ LICENSE="BSD"
# (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"
+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 )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2024-01-20 18:35 Arthur Zamarin
0 siblings, 0 replies; 114+ messages in thread
From: Arthur Zamarin @ 2024-01-20 18:35 UTC (permalink / raw
To: gentoo-commits
commit: 3ac2470a79f0bffbf8b0365a942ff310c299215b
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 20 18:34:46 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 20 18:34:46 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ac2470a
media-libs/openh264: Stabilize 2.4.0-r1 arm64, #922541
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
media-libs/openh264/openh264-2.4.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.4.0-r1.ebuild b/media-libs/openh264/openh264-2.4.0-r1.ebuild
index 249d225d2686..e0acfe3b4b15 100644
--- a/media-libs/openh264/openh264-2.4.0-r1.ebuild
+++ b/media-libs/openh264/openh264-2.4.0-r1.ebuild
@@ -18,7 +18,7 @@ LICENSE="BSD"
# (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"
+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 )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2024-02-02 4:21 Ionen Wolkens
0 siblings, 0 replies; 114+ messages in thread
From: Ionen Wolkens @ 2024-02-02 4:21 UTC (permalink / raw
To: gentoo-commits
commit: 7a8bd513fc42d20b075dcbcb79e45c63b6f85676
Author: Matoro Mahri <matoro_gentoo <AT> matoro <DOT> tk>
AuthorDate: Thu Feb 1 03:30:55 2024 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Feb 2 04:20:28 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a8bd513
media-libs/openh264: unkeyword 2.4.0-r1 for ~ppc
Closes: https://bugs.gentoo.org/922541
Signed-off-by: Matoro Mahri <matoro_gentoo <AT> matoro.tk>
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
media-libs/openh264/openh264-2.4.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.4.0-r1.ebuild b/media-libs/openh264/openh264-2.4.0-r1.ebuild
index e0acfe3b4b15..5824fdfe525a 100644
--- a/media-libs/openh264/openh264-2.4.0-r1.ebuild
+++ b/media-libs/openh264/openh264-2.4.0-r1.ebuild
@@ -18,7 +18,7 @@ LICENSE="BSD"
# (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"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc64 ~riscv ~sparc x86"
IUSE="cpu_flags_arm_neon cpu_flags_x86_avx2 +plugin test utils"
RESTRICT="bindist !test? ( test )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2024-02-03 8:27 Joonas Niilola
0 siblings, 0 replies; 114+ messages in thread
From: Joonas Niilola @ 2024-02-03 8:27 UTC (permalink / raw
To: gentoo-commits
commit: 71b8a6219fb3b4b7b6b33d148e492d54ac675c47
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 3 08:26:25 2024 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Feb 3 08:27:34 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71b8a621
media-libs/openh264: add 2.4.1
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/openh264/Manifest | 1 +
media-libs/openh264/openh264-2.4.1.ebuild | 134 ++++++++++++++++++++++++++++++
2 files changed, 135 insertions(+)
diff --git a/media-libs/openh264/Manifest b/media-libs/openh264/Manifest
index e4cc7a5249b2..42da792c7ee9 100644
--- a/media-libs/openh264/Manifest
+++ b/media-libs/openh264/Manifest
@@ -1,3 +1,4 @@
DIST gmp-api-Firefox114_2-e7d30b921df736a1121a0c8e0cf3ab1ce5b8a4b7.tar.gz 10915 BLAKE2B aa4b82baebbd990d94f381be4516e8780f6bc3a2104c4b899f091a9e6ec91dff9788ee6ef548d3bc07c7bf50f56347c44d01e51805f96cf9b59494889a5f7b61 SHA512 f1c75007d4f1e1ef3a11b8eb9c703935408a5e4051c8eab408e4edc09f265a71f172025269442fdab9d4c2a8b108fa69397bfbd84af4ecda22881b50de804de9
DIST openh264-2.3.1.tar.gz 60290897 BLAKE2B b4480150cfe7c44b89c7b294698db06f93d96f5f9f3ef4345108c4e360e99bc6133407cead54e720e6e74aa17ab9f2e4342287a42f19463a54eb44c9d3141c80 SHA512 fd59c767794cdfb934d692d5929e4500d78606cbf1e403bc7c7dce048cc07e40daa0794357adb856d29479427a53460c76338e156b6bbeaa36139afcd603c8e1
DIST openh264-2.4.0.tar.gz 60297968 BLAKE2B d725896979e8178277e304ac0d94e59f0971a7f0f443f6dee0abffbadc53cce8ba7fe6612a966c697296bf46c3035bd03ac9a65e63d6d87853317b178b06a236 SHA512 dc66986e84ad328e1615384e7bff93d6eaac42a68e87d9c9b59f55d9f90efd13dc87637a7e3b8c9694634dfa82351c5944828f3f478286608e362e014dd70ca1
+DIST openh264-2.4.1.tar.gz 60297304 BLAKE2B c66dbe8003072c406641b3f1453df6d8e574b5526d6748d5f4efa4921ca6a438df2e491143dc07c8f9297d253e97cd4ee2dada450845e7d9323cb31dddc6fff4 SHA512 eb99144addd2e9c352bb95e752366e104ac6b0ddc84311dc7c87dafb803f8e7fe4d1e726833d49f8cc6d3914508e19c3a25ef82637a4993e8af3f504aa005baf
diff --git a/media-libs/openh264/openh264-2.4.1.ebuild b/media-libs/openh264/openh264-2.4.1.ebuild
new file mode 100644
index 000000000000..4b0b071171da
--- /dev/null
+++ b/media-libs/openh264/openh264-2.4.1.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2024 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 ~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
+}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2024-03-18 5:50 Joonas Niilola
0 siblings, 0 replies; 114+ messages in thread
From: Joonas Niilola @ 2024-03-18 5:50 UTC (permalink / raw
To: gentoo-commits
commit: 158ecc798fd50301296c73a7d4f41ec2cc41c8b3
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 18 05:50:30 2024 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Mar 18 05:50:30 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=158ecc79
media-libs/openh264: Stabilize 2.4.1 amd64, #927224
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/openh264/openh264-2.4.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.4.1.ebuild b/media-libs/openh264/openh264-2.4.1.ebuild
index 4b0b071171da..e3de53822e92 100644
--- a/media-libs/openh264/openh264-2.4.1.ebuild
+++ b/media-libs/openh264/openh264-2.4.1.ebuild
@@ -18,7 +18,7 @@ LICENSE="BSD"
# (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 ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc64 ~riscv ~sparc ~x86"
IUSE="cpu_flags_arm_neon cpu_flags_x86_avx2 +plugin test utils"
RESTRICT="bindist !test? ( test )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2024-03-18 6:43 Joonas Niilola
0 siblings, 0 replies; 114+ messages in thread
From: Joonas Niilola @ 2024-03-18 6:43 UTC (permalink / raw
To: gentoo-commits
commit: b06da5ef6c940b4e03112b9dee1313ee35712da7
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 18 06:43:06 2024 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Mar 18 06:43:22 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b06da5ef
media-libs/openh264: Stabilize 2.4.1 x86, #927224
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/openh264/openh264-2.4.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.4.1.ebuild b/media-libs/openh264/openh264-2.4.1.ebuild
index e3de53822e92..20d81400f8f5 100644
--- a/media-libs/openh264/openh264-2.4.1.ebuild
+++ b/media-libs/openh264/openh264-2.4.1.ebuild
@@ -18,7 +18,7 @@ LICENSE="BSD"
# (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 ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc64 ~riscv ~sparc x86"
IUSE="cpu_flags_arm_neon cpu_flags_x86_avx2 +plugin test utils"
RESTRICT="bindist !test? ( test )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2024-03-18 7:21 Sam James
0 siblings, 0 replies; 114+ messages in thread
From: Sam James @ 2024-03-18 7:21 UTC (permalink / raw
To: gentoo-commits
commit: 3028ea8b651258c33c294abffc8af7fa17f30302
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 18 07:20:55 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 18 07:20:55 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3028ea8b
media-libs/openh264: Stabilize 2.4.1 arm64, #927224
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/openh264/openh264-2.4.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.4.1.ebuild b/media-libs/openh264/openh264-2.4.1.ebuild
index 20d81400f8f5..fde8c97fd971 100644
--- a/media-libs/openh264/openh264-2.4.1.ebuild
+++ b/media-libs/openh264/openh264-2.4.1.ebuild
@@ -18,7 +18,7 @@ LICENSE="BSD"
# (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 ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc64 ~riscv ~sparc x86"
IUSE="cpu_flags_arm_neon cpu_flags_x86_avx2 +plugin test utils"
RESTRICT="bindist !test? ( test )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2024-03-19 9:16 Sam James
0 siblings, 0 replies; 114+ messages in thread
From: Sam James @ 2024-03-19 9:16 UTC (permalink / raw
To: gentoo-commits
commit: bb58c506c181ffe55a35b4a27e1911eb1c2fce32
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 19 09:16:32 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 19 09:16:37 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb58c506
media-libs/openh264: Stabilize 2.4.1 arm, #927224
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/openh264/openh264-2.4.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media-libs/openh264/openh264-2.4.1.ebuild b/media-libs/openh264/openh264-2.4.1.ebuild
index fde8c97fd971..d2c3c1b77b55 100644
--- a/media-libs/openh264/openh264-2.4.1.ebuild
+++ b/media-libs/openh264/openh264-2.4.1.ebuild
@@ -18,7 +18,7 @@ LICENSE="BSD"
# (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 ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc64 ~riscv ~sparc x86"
IUSE="cpu_flags_arm_neon cpu_flags_x86_avx2 +plugin test utils"
RESTRICT="bindist !test? ( test )"
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2024-04-01 6:47 Joonas Niilola
0 siblings, 0 replies; 114+ messages in thread
From: Joonas Niilola @ 2024-04-01 6:47 UTC (permalink / raw
To: gentoo-commits
commit: fc1cc66ce2bcebd7d46dc5a5ed2ac474adbe3d08
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 1 06:41:38 2024 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Apr 1 06:47:34 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc1cc66c
media-libs/openh264: drop 2.4.0-r1
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/openh264/Manifest | 1 -
media-libs/openh264/openh264-2.4.0-r1.ebuild | 136 ---------------------------
2 files changed, 137 deletions(-)
diff --git a/media-libs/openh264/Manifest b/media-libs/openh264/Manifest
index 42da792c7ee9..8848227b305f 100644
--- a/media-libs/openh264/Manifest
+++ b/media-libs/openh264/Manifest
@@ -1,4 +1,3 @@
DIST gmp-api-Firefox114_2-e7d30b921df736a1121a0c8e0cf3ab1ce5b8a4b7.tar.gz 10915 BLAKE2B aa4b82baebbd990d94f381be4516e8780f6bc3a2104c4b899f091a9e6ec91dff9788ee6ef548d3bc07c7bf50f56347c44d01e51805f96cf9b59494889a5f7b61 SHA512 f1c75007d4f1e1ef3a11b8eb9c703935408a5e4051c8eab408e4edc09f265a71f172025269442fdab9d4c2a8b108fa69397bfbd84af4ecda22881b50de804de9
DIST openh264-2.3.1.tar.gz 60290897 BLAKE2B b4480150cfe7c44b89c7b294698db06f93d96f5f9f3ef4345108c4e360e99bc6133407cead54e720e6e74aa17ab9f2e4342287a42f19463a54eb44c9d3141c80 SHA512 fd59c767794cdfb934d692d5929e4500d78606cbf1e403bc7c7dce048cc07e40daa0794357adb856d29479427a53460c76338e156b6bbeaa36139afcd603c8e1
-DIST openh264-2.4.0.tar.gz 60297968 BLAKE2B d725896979e8178277e304ac0d94e59f0971a7f0f443f6dee0abffbadc53cce8ba7fe6612a966c697296bf46c3035bd03ac9a65e63d6d87853317b178b06a236 SHA512 dc66986e84ad328e1615384e7bff93d6eaac42a68e87d9c9b59f55d9f90efd13dc87637a7e3b8c9694634dfa82351c5944828f3f478286608e362e014dd70ca1
DIST openh264-2.4.1.tar.gz 60297304 BLAKE2B c66dbe8003072c406641b3f1453df6d8e574b5526d6748d5f4efa4921ca6a438df2e491143dc07c8f9297d253e97cd4ee2dada450845e7d9323cb31dddc6fff4 SHA512 eb99144addd2e9c352bb95e752366e104ac6b0ddc84311dc7c87dafb803f8e7fe4d1e726833d49f8cc6d3914508e19c3a25ef82637a4993e8af3f504aa005baf
diff --git a/media-libs/openh264/openh264-2.4.0-r1.ebuild b/media-libs/openh264/openh264-2.4.0-r1.ebuild
deleted file mode 100644
index 5824fdfe525a..000000000000
--- a/media-libs/openh264/openh264-2.4.0-r1.ebuild
+++ /dev/null
@@ -1,136 +0,0 @@
-# Copyright 1999-2024 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 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
- "${FILESDIR}"/openh264-2.4.0-fix-off-by-one-decode-regression.patch
- "${FILESDIR}"/openh264-2.4.0-unordered-frame-glitches.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
-}
^ permalink raw reply related [flat|nested] 114+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/
@ 2024-11-13 11:45 Joonas Niilola
0 siblings, 0 replies; 114+ messages in thread
From: Joonas Niilola @ 2024-11-13 11:45 UTC (permalink / raw
To: gentoo-commits
commit: 931a4e9d46ec019e638e41c09b8c198834830b86
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 13 06:38:05 2024 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Nov 13 11:45:34 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=931a4e9d
media-libs/openh264: add 2.5.0
Closes: https://bugs.gentoo.org/943323
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
media-libs/openh264/Manifest | 1 +
media-libs/openh264/openh264-2.5.0.ebuild | 134 ++++++++++++++++++++++++++++++
2 files changed, 135 insertions(+)
diff --git a/media-libs/openh264/Manifest b/media-libs/openh264/Manifest
index 8848227b305f..b34a05fdcc6c 100644
--- a/media-libs/openh264/Manifest
+++ b/media-libs/openh264/Manifest
@@ -1,3 +1,4 @@
DIST gmp-api-Firefox114_2-e7d30b921df736a1121a0c8e0cf3ab1ce5b8a4b7.tar.gz 10915 BLAKE2B aa4b82baebbd990d94f381be4516e8780f6bc3a2104c4b899f091a9e6ec91dff9788ee6ef548d3bc07c7bf50f56347c44d01e51805f96cf9b59494889a5f7b61 SHA512 f1c75007d4f1e1ef3a11b8eb9c703935408a5e4051c8eab408e4edc09f265a71f172025269442fdab9d4c2a8b108fa69397bfbd84af4ecda22881b50de804de9
DIST openh264-2.3.1.tar.gz 60290897 BLAKE2B b4480150cfe7c44b89c7b294698db06f93d96f5f9f3ef4345108c4e360e99bc6133407cead54e720e6e74aa17ab9f2e4342287a42f19463a54eb44c9d3141c80 SHA512 fd59c767794cdfb934d692d5929e4500d78606cbf1e403bc7c7dce048cc07e40daa0794357adb856d29479427a53460c76338e156b6bbeaa36139afcd603c8e1
DIST openh264-2.4.1.tar.gz 60297304 BLAKE2B c66dbe8003072c406641b3f1453df6d8e574b5526d6748d5f4efa4921ca6a438df2e491143dc07c8f9297d253e97cd4ee2dada450845e7d9323cb31dddc6fff4 SHA512 eb99144addd2e9c352bb95e752366e104ac6b0ddc84311dc7c87dafb803f8e7fe4d1e726833d49f8cc6d3914508e19c3a25ef82637a4993e8af3f504aa005baf
+DIST openh264-2.5.0.tar.gz 60301431 BLAKE2B b999b7aa152c0ef2b95f6d2ef2c8b0483ee4ca3d3c21c3cfe19c121ef09a99bb7a68bd96ec39433e744a25f3c29e016e74b1b0521190bb1a5ef00e9ac8970206 SHA512 cb6d3ca8d5277325dd64dec399421c4c62bc1fd012fe1521d7195e95ce7f59527919cf698829044dca3d9b1d8288c49b49111d01c9d2896c819da806492af838
diff --git a/media-libs/openh264/openh264-2.5.0.ebuild b/media-libs/openh264/openh264-2.5.0.ebuild
new file mode 100644
index 000000000000..663d3f9ff272
--- /dev/null
+++ b/media-libs/openh264/openh264-2.5.0.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2024 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 ~loong ~mips ~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
+}
^ permalink raw reply related [flat|nested] 114+ messages in thread
end of thread, other threads:[~2024-11-13 11:45 UTC | newest]
Thread overview: 114+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-25 11:35 [gentoo-commits] repo/gentoo:master commit in: media-libs/openh264/ Joonas Niilola
-- strict thread matches above, loose matches on Subject: below --
2024-11-13 11:45 Joonas Niilola
2024-04-01 6:47 Joonas Niilola
2024-03-19 9:16 Sam James
2024-03-18 7:21 Sam James
2024-03-18 6:43 Joonas Niilola
2024-03-18 5:50 Joonas Niilola
2024-02-03 8:27 Joonas Niilola
2024-02-02 4:21 Ionen Wolkens
2024-01-20 18:35 Arthur Zamarin
2024-01-20 18:35 Arthur Zamarin
2024-01-20 18:35 Arthur Zamarin
2024-01-20 14:05 Joonas Niilola
2024-01-20 14:05 Joonas Niilola
2023-12-08 6:50 Joonas Niilola
2023-11-30 5:58 Arthur Zamarin
2023-11-25 8:55 Joonas Niilola
2023-10-02 10:48 Sam James
2023-10-02 10:14 Arthur Zamarin
2023-10-02 10:14 Arthur Zamarin
2023-10-02 6:35 Joonas Niilola
2023-10-02 6:35 Joonas Niilola
2023-10-02 6:27 Joonas Niilola
2023-08-31 7:07 Joonas Niilola
2023-08-26 4:37 Joonas Niilola
2023-07-27 7:43 Joonas Niilola
2023-04-08 17:56 Arthur Zamarin
2023-01-30 6:16 Joonas Niilola
2023-01-15 15:12 Sam James
2023-01-15 15:12 Sam James
2023-01-15 15:12 Sam James
2023-01-15 8:48 Georgy Yakovlev
2022-11-29 15:58 WANG Xuerui
2022-10-25 9:49 Joonas Niilola
2022-10-25 9:45 Arthur Zamarin
2022-09-21 10:26 Joonas Niilola
2022-09-21 6:50 Joonas Niilola
2022-09-09 5:26 Joonas Niilola
2022-09-02 10:41 Arthur Zamarin
2022-09-02 10:41 Arthur Zamarin
2022-09-02 8:37 Arthur Zamarin
2022-09-02 6:37 Arthur Zamarin
2022-09-02 6:37 Arthur Zamarin
2022-09-02 6:09 Joonas Niilola
2022-09-02 6:09 Joonas Niilola
2022-03-20 6:22 Joonas Niilola
2022-03-12 12:01 Arthur Zamarin
2022-03-07 7:28 Agostino Sarubbo
2022-03-06 17:30 Joonas Niilola
2022-03-06 17:30 Joonas Niilola
2022-03-06 17:30 Joonas Niilola
2022-03-06 9:45 Sam James
2022-03-06 9:45 Sam James
2022-03-06 8:46 Sam James
2022-01-31 15:11 Joonas Niilola
2022-01-31 15:11 Joonas Niilola
2022-01-27 13:40 Joonas Niilola
2022-01-15 11:46 Joonas Niilola
2022-01-07 18:28 Joonas Niilola
2022-01-07 17:46 Joonas Niilola
2021-11-11 2:23 Sam James
2021-11-11 2:23 Sam James
2021-11-11 2:22 Sam James
2021-11-11 2:22 Sam James
2021-11-11 2:22 Sam James
2021-11-10 22:26 Jakov Smolić
2021-11-10 18:49 Arthur Zamarin
2021-09-07 18:47 Joonas Niilola
2021-06-21 21:38 Jonas Stein
2020-07-22 20:03 Sergei Trofimovich
2020-07-17 15:17 Agostino Sarubbo
2020-07-17 15:12 Agostino Sarubbo
2020-07-17 15:09 Agostino Sarubbo
2020-07-17 12:49 Sam James
2020-07-17 7:21 Agostino Sarubbo
2020-07-17 7:02 Agostino Sarubbo
2020-07-15 20:18 Sergei Trofimovich
2020-07-06 19:39 Thomas Deutschmann
2020-07-06 19:39 Thomas Deutschmann
2020-07-03 16:15 Thomas Deutschmann
2020-06-30 13:53 Thomas Deutschmann
2020-06-10 1:18 Thomas Deutschmann
2018-04-16 20:43 Sergei Trofimovich
2018-03-06 22:35 Sergei Trofimovich
2018-01-15 14:44 Ian Stakenvicius
2018-01-15 14:44 Ian Stakenvicius
2017-09-26 22:21 Sergei Trofimovich
2017-09-26 8:55 Sergei Trofimovich
2017-09-26 8:55 Sergei Trofimovich
2017-08-31 1:26 Matt Turner
2017-08-29 11:48 Alexis Ballier
2017-08-18 20:10 Thomas Deutschmann
2017-08-08 4:33 Markus Meier
2017-07-28 14:54 Agostino Sarubbo
2017-07-28 7:41 Sergei Trofimovich
2017-06-16 9:36 Alexis Ballier
2017-06-10 20:14 Sergei Trofimovich
2017-06-10 20:14 Sergei Trofimovich
2017-05-11 18:18 Ian Stakenvicius
2017-04-05 14:07 Tobias Klausmann
2017-03-02 15:52 Tobias Klausmann
2017-02-23 12:35 Michael Weber
2017-02-22 13:22 Michael Weber
2017-02-22 13:19 Jeroen Roovers
2017-02-20 19:38 Michael Weber
2017-02-18 8:51 Jeroen Roovers
2017-02-17 17:28 Markus Meier
2017-02-15 15:56 Agostino Sarubbo
2017-02-15 15:05 Agostino Sarubbo
2017-02-05 12:46 Jeroen Roovers
2017-02-05 11:59 Jeroen Roovers
2017-01-31 14:11 Alexis Ballier
2016-02-17 17:44 Ian Stakenvicius
2015-10-16 10:20 Alexis Ballier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox