diff options
author | Mart Raudsepp <leio@gentoo.org> | 2018-10-25 16:06:01 +0300 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2018-10-25 18:27:30 +0300 |
commit | d21ddb3bbf814050ce2e87252c5f96c721ef63ac (patch) | |
tree | fe24d97c709664659e3c013e42cec4909f125d8e /media-plugins/gst-plugins-opus | |
parent | app-text/evince: remove old (diff) | |
download | gentoo-d21ddb3bbf814050ce2e87252c5f96c721ef63ac.tar.gz gentoo-d21ddb3bbf814050ce2e87252c5f96c721ef63ac.tar.bz2 gentoo-d21ddb3bbf814050ce2e87252c5f96c721ef63ac.zip |
media-plugins/gst-plugins-opus: build opusparse from gst-plugins-bad too
This is required by webkit-gtk using applications that enable MSE support,
otherwise webkit process crashes with webkit-gtk-2.22.2 (and later with
upstream tweaks just won't play MSE/Youtube)
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11
Diffstat (limited to 'media-plugins/gst-plugins-opus')
-rw-r--r-- | media-plugins/gst-plugins-opus/Manifest | 1 | ||||
-rw-r--r-- | media-plugins/gst-plugins-opus/gst-plugins-opus-1.14.4-r1.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/media-plugins/gst-plugins-opus/Manifest b/media-plugins/gst-plugins-opus/Manifest index 5685e8fb773d..d1e8c5d2a5af 100644 --- a/media-plugins/gst-plugins-opus/Manifest +++ b/media-plugins/gst-plugins-opus/Manifest @@ -1,4 +1,5 @@ DIST gst-plugins-bad-0.10.23.tar.xz 3155044 BLAKE2B 86ed955fb5c73f2145b8f8ed2daaeffd9975362e81c3ca911be00d18f6b6d975381651071eb54514ef94a931f1fc89e673dc8c1d68e10de132bbe51accb6d165 SHA512 6437dd12707ef29651f4014b54612cf2a3a42ed4e05a1c5f4a432d80e27efd2abc0df891ebcfdc9e7b2cf9f71a15b88e48b3aa6db24a178ed6de3b1bdf4c3dc4 +DIST gst-plugins-bad-1.14.4.tar.xz 4678032 BLAKE2B 098d0b0600efb9f7926295fdc34d448bf9c9a719b9061d5be2282c6f5d09550b52f7ee78e90398577c21db2bf05510d74a5880d1d401a4931a0dea2b81509973 SHA512 a5bef1863110ae25ef4c75ad2cdbbde011e1d1a722754cc0372e8de9c81aee9159e2301d90d6f9b04b66a20887abe20de20d74dbe207d20102e8081130eaf839 DIST gst-plugins-base-1.14.1.tar.xz 3689184 BLAKE2B 17abcab2c84b113180de55d6c781ae11feec66c215febfffefe4a22353c56e82a585647688e2078603b6c3ece6f26afa99969091a72886880a2f8549dd9cb379 SHA512 bca9db8780fe24c19a2c4eae9a16dc0856cb38077580e4344bd4f7fa9a7a03079b92556ff35475a574f624a5a721d80ef925790670e4cc809361ed01108a141e DIST gst-plugins-base-1.14.2.tar.xz 3693856 BLAKE2B 7ed05718bfd1dcb15e05e5a2c8758ad409c4ad7f331146363f264aaf7123c8a14c1db81f482710d1069d33e5281087f66e2e38504e39b214befba73ffdd9295c SHA512 35e7eb5c42fe265d38c433575f88d3306f15ff927a989eb375ed5399cbf92af2e9bf553d6eee349dc13673540cee00e1f879595f25e58c188ea443d8a969682f DIST gst-plugins-base-1.14.3.tar.xz 3702184 BLAKE2B 8b13cdcb912968ed51bba91faf70060cced562f374d2b6987a9b9ff9a261b553836394cc4dc16df299c21cb303fd87bb0becb57225767c3502c8c16359430523 SHA512 3b5f0dc46d148dd9f162c651594be740f798c1d6272ecabced544f09900b6f2909a9fc705d42e4e98130d6f7cb1368458bfeee27444b5c43e62551defbc3838a diff --git a/media-plugins/gst-plugins-opus/gst-plugins-opus-1.14.4-r1.ebuild b/media-plugins/gst-plugins-opus/gst-plugins-opus-1.14.4-r1.ebuild new file mode 100644 index 000000000000..cffbab3dc258 --- /dev/null +++ b/media-plugins/gst-plugins-opus/gst-plugins-opus-1.14.4-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GST_ORG_MODULE=gst-plugins-base + +inherit gstreamer + +DESCRIPTION="Opus audio parser plugin for GStreamer" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd" +IUSE="" + +COMMON_DEPEND=">=media-libs/opus-1.1:=[${MULTILIB_USEDEP}]" + +RDEPEND="${COMMON_DEPEND} + >=media-libs/gst-plugins-base-${PV}:${SLOT}[${MULTILIB_USEDEP},ogg] +" +DEPEND="${COMMON_DEPEND}" + +src_prepare() { + default + gstreamer_system_link \ + gst-libs/gst/tag:gstreamer-tag \ + gst-libs/gst/pbutils:gstreamer-pbutils \ + gst-libs/gst/audio:gstreamer-audio +} + +# 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}" + +src_configure() { + multilib-minimal_src_configure + S="${WORKDIR}/gst-plugins-bad-${PV}" multilib-minimal_src_configure +} + +src_compile() { + multilib-minimal_src_compile + S="${WORKDIR}/gst-plugins-bad-${PV}" multilib-minimal_src_compile +} + +src_install() { + multilib-minimal_src_install + S="${WORKDIR}/gst-plugins-bad-${PV}" multilib-minimal_src_install +} |