pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

glide: fix so this works (needs one more gstreamer plugin)



Module Name:	pkgsrc-wip
Committed By:	Maya Rashish <maya%NetBSD.org@localhost>
Pushed By:	coypu
Date:		Mon Nov 2 09:56:56 2020 +0200
Changeset:	feec523419a709fdfc8efb0ee223edc936aaa4ca

Modified Files:
	glide/Makefile
	glide/distinfo
Added Files:
	glide/patches/patch-src_channel__player.rs

Log Message:
glide: fix so this works (needs one more gstreamer plugin)

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=feec523419a709fdfc8efb0ee223edc936aaa4ca

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 glide/Makefile                             |  1 +
 glide/distinfo                             |  1 +
 glide/patches/patch-src_channel__player.rs | 23 +++++++++++++++++++++++
 3 files changed, 25 insertions(+)

diffs:
diff --git a/glide/Makefile b/glide/Makefile
index 53a9efd7c4..4a5ecb54b9 100644
--- a/glide/Makefile
+++ b/glide/Makefile
@@ -29,6 +29,7 @@ INSTALLATION_DIRS=	bin share
 MAKE_ENV+=	RUSTFLAGS="-C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.gtk3}/lib"
 MAKE_ENV+=	RUSTFLAGS="-C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.gstreamer1}/lib"
 
+.include "../../wip/gst-plugins1-opengl/buildlink3.mk"
 .include "../../devel/meson/build.mk"
 .include "../../lang/rust/cargo.mk"
 .include "../../devel/glib2/buildlink3.mk"
diff --git a/glide/distinfo b/glide/distinfo
index 578b5cf4cc..cbc9d737bf 100644
--- a/glide/distinfo
+++ b/glide/distinfo
@@ -888,3 +888,4 @@ SHA1 (ws2_32-sys-0.2.1.crate) = dae41c117c3746c05852b6ce72f17954e6d6dd8b
 RMD160 (ws2_32-sys-0.2.1.crate) = 883038c3ec6db615e0c96f0788f1a24892a855b2
 SHA512 (ws2_32-sys-0.2.1.crate) = 18356861fc595efe7d0180afb8ce7649da35a4f9ba456271d2068679ab258a861af32a2e016e241fbfbf5f6ef0eb33127b26eabfc11428af39506538faa4821f
 Size (ws2_32-sys-0.2.1.crate) = 4697 bytes
+SHA1 (patch-src_channel__player.rs) = a8f2f5c12348f01cb3dd9da029f80f2c53739d12
diff --git a/glide/patches/patch-src_channel__player.rs b/glide/patches/patch-src_channel__player.rs
new file mode 100644
index 0000000000..d61f01c762
--- /dev/null
+++ b/glide/patches/patch-src_channel__player.rs
@@ -0,0 +1,23 @@
+$NetBSD$
+
+--- src/channel_player.rs.orig	2020-09-25 18:46:41.000000000 +0000
++++ src/channel_player.rs
+@@ -165,7 +165,7 @@ fn prepare_video_overlay(video_area: &gt
+     let display_type_name = gdk_window.get_display().get_type().name();
+ 
+     // Check if we're using X11 or ...
+-    #[cfg(target_os = "linux")]
++    #[cfg(not(target_os = "macos"))]
+     {
+         // Check if we're using X11 or ...
+         if display_type_name == "GdkX11Display" {
+@@ -199,9 +199,6 @@ fn prepare_video_overlay(video_area: &gt
+             process::exit(-1);
+         }
+     }
+-
+-    #[cfg(not(any(target_os = "linux", target_os = "macos")))]
+-    unimplemented!();
+ }
+ 
+ impl PlayerDataHolder {


Home | Main Index | Thread Index | Old Index