summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor V. Kovalenko <igor.v.kovalenko@gmail.com>2022-08-26 13:58:46 +0100
committerSam James <sam@gentoo.org>2022-08-26 14:09:56 +0100
commit3c0a611c50f6b62f82b96258c583fff6d5381a58 (patch)
tree4237e0de7ce88f382eeecf064fdd1dc490358100
parentmedia-plugins/gst-plugins-openh264: add 1.20.3 (diff)
downloadgentoo-3c0a611c50f6b62f82b96258c583fff6d5381a58.tar.gz
gentoo-3c0a611c50f6b62f82b96258c583fff6d5381a58.tar.bz2
gentoo-3c0a611c50f6b62f82b96258c583fff6d5381a58.zip
media-plugins/gst-plugins-opus: add 1.20.3
Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
-rw-r--r--media-plugins/gst-plugins-opus/Manifest2
-rw-r--r--media-plugins/gst-plugins-opus/gst-plugins-opus-1.20.3.ebuild54
2 files changed, 56 insertions, 0 deletions
diff --git a/media-plugins/gst-plugins-opus/Manifest b/media-plugins/gst-plugins-opus/Manifest
index ae7f15022f4e..5f38810f96d5 100644
--- a/media-plugins/gst-plugins-opus/Manifest
+++ b/media-plugins/gst-plugins-opus/Manifest
@@ -1,2 +1,4 @@
DIST gst-plugins-bad-1.20.2.tar.xz 6216208 BLAKE2B bbbe77a1255991a2f96696996fb0c99f14f6d63fef455feb1ce90ae518bb9f80fd61bcfb223c20407b8d6240faaa93478495f8e9fda16fab36a311d167e88e25 SHA512 3f98973dc07ead745418e0a30f9f6b5c8d328e3d126f54d92c10ab5da04271768a5c5dffc36ea24ccf8fb516b1e3733be9fb18dc0db419dea4d37d17018f8a70
+DIST gst-plugins-bad-1.20.3.tar.xz 6222824 BLAKE2B 01aae59adbe76b8e50a49fb8bb8037e6f3aa93cbc2b658aab05ebbf30f8d1aef98c1981712caa39e3c9d08f1e0c9d76f2f874f7d2fdd994b3a0735b2809eafdf SHA512 cfcf126eabff550455decd7054a269b73489708c10a6b6090dddb5fde29bfba07ed330c339927ff170e025fa3a08d2ffb822322dc3798679366207a54132c71b
DIST gst-plugins-base-1.20.2.tar.xz 3295552 BLAKE2B 23b306c566cdd57e31b84082bd14c93e84a10329d83ac71365c0ba7f523d1415ac36aa8217c982abe0c33a40da6e884fac66737227eb794b5bc0c64944d7ea36 SHA512 144ae965a3e487c70e9ac55099ae49f54bff7110d5a92867ebe8a91760dd94fb7f13dc23f34e55923c2150012f81b55be22c840fe89d97e4e78290cb6d51bc51
+DIST gst-plugins-base-1.20.3.tar.xz 3299976 BLAKE2B b397867561df763d5e762069c6ad20298857d4a30727a18a60e8df9a53658e52f6a189c3426d0f51a16e7cee1834b402470ecb0284aca65ecaa0300dc79d0c8a SHA512 258294291cb9b406c17dfe4e5c1ca9061580d0789293355c9b43d558630d360097b6867287edf1688f3edaf50b5900cdd177c1429c122a0415c56da8b0f21ed1
diff --git a/media-plugins/gst-plugins-opus/gst-plugins-opus-1.20.3.ebuild b/media-plugins/gst-plugins-opus/gst-plugins-opus-1.20.3.ebuild
new file mode 100644
index 000000000000..db0b2181bcd1
--- /dev/null
+++ b/media-plugins/gst-plugins-opus/gst-plugins-opus-1.20.3.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+GST_ORG_MODULE=gst-plugins-base
+
+inherit gstreamer-meson
+
+DESCRIPTION="Opus audio parser plugin for GStreamer"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+COMMON_DEPEND=">=media-libs/opus-1.1:=[${MULTILIB_USEDEP}]"
+
+RDEPEND="${COMMON_DEPEND}
+ !media-plugins/gst-plugins-opusparse
+ >=media-libs/gst-plugins-base-${PV}:${SLOT}[${MULTILIB_USEDEP},ogg]
+"
+DEPEND="${COMMON_DEPEND}"
+
+src_prepare() {
+ default
+ gstreamer_system_package audio_dep:gstreamer-audio
+ gstreamer_system_package pbutils_dep:gstreamer-pbutils
+ gstreamer_system_package tag_dep:gstreamer-tag
+}
+
+# Everything below is for building opusparse from gst-plugins-bad. Once it moves into -base, all below can be removed
+SRC_URI+=" https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${PV}.tar.${GST_TARBALL_SUFFIX}"
+
+in_bdir() {
+ pushd "${BUILD_DIR}" || die
+ "$@"
+ popd || die
+}
+
+src_configure() {
+ S="${WORKDIR}/gst-plugins-base-${PV}" multilib_foreach_abi gstreamer_multilib_src_configure
+ S="${WORKDIR}/gst-plugins-bad-${PV}" multilib_foreach_abi gstreamer_multilib_src_configure
+}
+
+src_compile() {
+ S="${WORKDIR}/gst-plugins-base-${PV}" multilib_foreach_abi in_bdir gstreamer_multilib_src_compile
+ S="${WORKDIR}/gst-plugins-bad-${PV}" multilib_foreach_abi in_bdir gstreamer_multilib_src_compile
+}
+
+multilib_src_test() {
+ S="${WORKDIR}/gst-plugins-base-${PV}" multilib_foreach_abi in_bdir gstreamer_multilib_src_test
+ S="${WORKDIR}/gst-plugins-bad-${PV}" multilib_foreach_abi in_bdir gstreamer_multilib_src_test
+}
+
+src_install() {
+ S="${WORKDIR}/gst-plugins-base-${PV}" multilib_foreach_abi in_bdir gstreamer_multilib_src_install
+ S="${WORKDIR}/gst-plugins-bad-${PV}" multilib_foreach_abi in_bdir gstreamer_multilib_src_install
+}