summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor V. Kovalenko <igor.v.kovalenko@gmail.com>2022-02-19 12:49:30 +0300
committerSam James <sam@gentoo.org>2022-03-08 13:32:19 +0000
commit93b6417f1b55aefc05b91fec7b67eadd32b1f733 (patch)
tree2aa4e2a88378a5d76295ee10fc7b91f2ac40c259 /media-libs/gst-plugins-good
parentmedia-libs/libfreeaptx: Change to multilib build (diff)
downloadgentoo-93b6417f1b55aefc05b91fec7b67eadd32b1f733.tar.gz
gentoo-93b6417f1b55aefc05b91fec7b67eadd32b1f733.tar.bz2
gentoo-93b6417f1b55aefc05b91fec7b67eadd32b1f733.zip
media-libs/gstreamer: Bump to 1.20.0
Gstreamer 1.20.0 version bump, includes - all existing 1.18.4 plugins except for two dropped upstream (gst-plugins-libmms and gst-plugins-ofa) - libnice-0.1.18 version bump required by gst-plugins-webrtc in 1.20.0 - required multilib change for libldac for new plugin gst-plugins-ldac - required multilib change for libopenaptx and libfreeaptx for new plugin gst-plugins-openaptx As discussed, this change adds a LICENSE to each of gstreamer modules which now require explicit opt-in for (A)GPL plugins for (A)GPL plugins we will not perform explicit license acceptance for affected gstreamer plugin, instead we will rely on a user accepting the license of dependency: - gstreamer change added explicit opt-in https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1084 - I looked at affected gstreamer plugins and looks like all are correctly license-compatible according to compatibility matrix https://www.gnu.org/licenses/gpl-faq.html#AllCompatibility - if a user is not willing to accept the license of corresponding (A)GPL dependency, such dependency will not be available and affected gstreamer plugin will not be built - Upstream gstreamer team will look into updating/fixing plugin license display available via gst-inspect-1.0 <plugin name> | grep License as currently it is just "GPL" which is not specific enough (should be GPL-2, GPL-2+, GPL-3 etc.) Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/gst-plugins-good')
-rw-r--r--media-libs/gst-plugins-good/Manifest1
-rw-r--r--media-libs/gst-plugins-good/files/gst-plugins-good-1.20.0-lame-feature-option.patch23
-rw-r--r--media-libs/gst-plugins-good/gst-plugins-good-1.20.0.ebuild54
3 files changed, 78 insertions, 0 deletions
diff --git a/media-libs/gst-plugins-good/Manifest b/media-libs/gst-plugins-good/Manifest
index fe7f1df89ecb..6baadb496453 100644
--- a/media-libs/gst-plugins-good/Manifest
+++ b/media-libs/gst-plugins-good/Manifest
@@ -1,2 +1,3 @@
DIST gst-plugins-good-1.16.3.tar.xz 3914676 BLAKE2B 52f18027f9d9a77e8b459a0a10fa7c1450dff2faf8a2a63134f833ad08b19985b7f0d3d2af4b766c9b8bf802d048fabd6f52ad5a7865eccd1fe0d26404b7b2de SHA512 3e0da4a4defc0ddea1c26dfc767fed732548654f4155452649777109a17d5b65b2fde895483a3e35dc1646de5a16e913cd2408f826251d46a99b7751b88dcb65
DIST gst-plugins-good-1.18.4.tar.xz 3277572 BLAKE2B 8acfb975d19eabc681184d0096328051a9a02e5f849599dbad1233a0e9254e1a2d2bef75d8afdc779a7ca01a71b15d1e83a843749c0ef5f7ab2b5818067ab898 SHA512 764c66383c93e57f9c5e7742002013e07e7b25750d6974d6c07744433e8ceb7570e829e68278e2bc5214f77158311a6b3bfb013d615cf66205d8d7a9e2d54b86
+DIST gst-plugins-good-1.20.0.tar.xz 3409288 BLAKE2B 39fa374cf77ac0803309c11c4b76d6af478b377f1f9891f27ac692c6584e7bccf5d3eca1842060ca893db45c2ac6a14e2295b7d46afb8f938765295f29249bdb SHA512 5cfec70a92b18fe944c571ed4a09837a6e6002ff0745a70de76cf6d4b16c8f5e470d32049d4e6634741139c89ae0c8bef95dd710f05586321f304f5054ecf26d
diff --git a/media-libs/gst-plugins-good/files/gst-plugins-good-1.20.0-lame-feature-option.patch b/media-libs/gst-plugins-good/files/gst-plugins-good-1.20.0-lame-feature-option.patch
new file mode 100644
index 000000000000..c431b1fb6bd7
--- /dev/null
+++ b/media-libs/gst-plugins-good/files/gst-plugins-good-1.20.0-lame-feature-option.patch
@@ -0,0 +1,23 @@
+commit d03971dac7b32a6ffcbf161853e017f65ae7c22f
+Author: Heiko Becker <heirecka@exherbo.org>
+Date: Fri Feb 11 21:35:54 2022 +0100
+
+ meson: Don't build lame plugin with -Dlame=disabled
+
+ Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1686>
+
+diff --git a/ext/lame/meson.build b/ext/lame/meson.build
+index 2169fde6f4..3290f17e1e 100644
+--- a/ext/lame/meson.build
++++ b/ext/lame/meson.build
+@@ -1,5 +1,10 @@
++lame_dep = dependency('', required: false)
+ lame_option = get_option('lame')
+
++if lame_option.disabled()
++ subdir_done()
++endif
++
+ lame_extra_c_args = []
+ lame_dep = cc.find_library('mp3lame', required: false)
+ have_lame = cc.has_header_symbol('lame/lame.h', 'lame_init')
diff --git a/media-libs/gst-plugins-good/gst-plugins-good-1.20.0.ebuild b/media-libs/gst-plugins-good/gst-plugins-good-1.20.0.ebuild
new file mode 100644
index 000000000000..5ef70fe641cf
--- /dev/null
+++ b/media-libs/gst-plugins-good/gst-plugins-good-1.20.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+GST_ORG_MODULE="gst-plugins-good"
+
+inherit flag-o-matic gstreamer-meson
+
+DESCRIPTION="Basepack of plugins for GStreamer"
+HOMEPAGE="https://gstreamer.freedesktop.org/"
+
+LICENSE="LGPL-2.1+"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="+orc"
+
+RDEPEND="
+ >=media-libs/gst-plugins-base-${PV}:${SLOT}[${MULTILIB_USEDEP}]
+ >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}]
+ >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
+ orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}
+ >=dev-util/gtk-doc-am-1.12
+"
+
+DOCS="AUTHORS ChangeLog NEWS README RELEASE"
+
+# Fixes backported to 1.20.0, to be removed in 1.20.1+
+PATCHES=(
+ "${FILESDIR}/gst-plugins-good-1.20.0-lame-feature-option.patch"
+)
+
+multilib_src_configure() {
+ GST_PLUGINS_NOAUTO="bz2"
+ local emesonargs=(
+ -Dbz2=enabled
+
+ # gst-plugins-ximagesrc
+ -Dximagesrc=disabled
+ -Dximagesrc-xshm=disabled
+ -Dximagesrc-xfixes=disabled
+ -Dximagesrc-xdamage=disabled
+
+ # gst-plugins-v4l2
+ -Dv4l2=disabled
+ )
+
+ gstreamer_multilib_src_configure
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ find "${ED}" -name '*.la' -delete || die
+}