public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-plugins/gst-plugins-hls/, media-plugins/gst-plugins-hls/files/
@ 2021-07-10 17:28 Sam James
  0 siblings, 0 replies; only message in thread
From: Sam James @ 2021-07-10 17:28 UTC (permalink / raw
  To: gentoo-commits

commit:     721d7d34e7550a38ab38c7185e04e22427291aa9
Author:     Igor V. Kovalenko <igor.v.kovalenko <AT> gmail <DOT> com>
AuthorDate: Sat Jul  3 17:55:52 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 10 17:28:32 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=721d7d34

media-plugins/gst-plugins-hls: Build with installed deps, 1.18.4

Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...st-plugins-bad-1.18.4-use-system-libs-hls.patch | 24 ++++++++++++++++++++++
 .../gst-plugins-hls/gst-plugins-hls-1.18.4.ebuild  | 13 ++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/media-plugins/gst-plugins-hls/files/gst-plugins-bad-1.18.4-use-system-libs-hls.patch b/media-plugins/gst-plugins-hls/files/gst-plugins-bad-1.18.4-use-system-libs-hls.patch
new file mode 100644
index 00000000000..f1c1b7fb5fc
--- /dev/null
+++ b/media-plugins/gst-plugins-hls/files/gst-plugins-bad-1.18.4-use-system-libs-hls.patch
@@ -0,0 +1,24 @@
+commit 761c367338adbd004f763c404e6e5d2aed90ecd7
+Author: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
+Date:   Sat Jul 3 19:10:06 2021 +0300
+
+    Patch gst-plugins-bad 1.18.4 to build hls plugin using installed libs
+    
+    Header gst/adaptivedemux/gstadaptivedemux.h is not installed by gst-plugins-bad,
+    fix include_directories to find it in gst-libs/gst/adaptivedemux via libsinc.
+    
+    Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
+
+diff --git a/ext/hls/meson.build b/ext/hls/meson.build
+index 3ef45ee03..98205e4b8 100644
+--- a/ext/hls/meson.build
++++ b/ext/hls/meson.build
+@@ -55,7 +55,7 @@ gsthls = library('gsthls',
+   hls_sources,
+   c_args : gst_plugins_bad_args + hls_cargs,
+   link_args : noseh_link_args,
+-  include_directories : [configinc],
++  include_directories : [configinc, libsinc],
+   dependencies : [gstpbutils_dep, gsttag_dep, gstvideo_dep,
+                   gstadaptivedemux_dep, gsturidownloader_dep,
+                   hls_crypto_dep, gio_dep, libm],

diff --git a/media-plugins/gst-plugins-hls/gst-plugins-hls-1.18.4.ebuild b/media-plugins/gst-plugins-hls/gst-plugins-hls-1.18.4.ebuild
index 71d8100cac5..65695b4d302 100644
--- a/media-plugins/gst-plugins-hls/gst-plugins-hls-1.18.4.ebuild
+++ b/media-plugins/gst-plugins-hls/gst-plugins-hls-1.18.4.ebuild
@@ -15,6 +15,19 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}"
 
+PATCHES=(
+	"${FILESDIR}"/gst-plugins-bad-${PV}-use-system-libs-hls.patch
+)
+
+src_prepare() {
+	default
+	gstreamer_system_library gstadaptivedemux_dep:gstadaptivedemux
+	gstreamer_system_package pbutils_dep:gstreamer-pbutils
+	gstreamer_system_package tag_dep:gstreamer-tag
+	gstreamer_system_package video_dep:gstreamer-video
+	gstreamer_system_library gsturidownloader_dep:gsturidownloader
+}
+
 multilib_src_configure() {
 	local emesonargs=(
 		-Dhls-crypto=nettle


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-10 17:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-10 17:28 [gentoo-commits] repo/gentoo:master commit in: media-plugins/gst-plugins-hls/, media-plugins/gst-plugins-hls/files/ Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox