mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-26 06:35:46 +03:00
gst-base: Enable GL video processing plugins.
CW-Bug-Id: #20363 CW-Bug-Id: #20905 CW-Bug-Id: #20981
This commit is contained in:
parent
4221d9ef07
commit
f3cc9f0610
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -55,3 +55,6 @@
|
|||||||
[submodule "gst-plugins-rs"]
|
[submodule "gst-plugins-rs"]
|
||||||
path = gst-plugins-rs
|
path = gst-plugins-rs
|
||||||
url = https://github.com/sdroege/gst-plugin-rs
|
url = https://github.com/sdroege/gst-plugin-rs
|
||||||
|
[submodule "graphene"]
|
||||||
|
path = graphene
|
||||||
|
url = https://github.com/ebassi/graphene
|
||||||
|
16
Makefile.in
16
Makefile.in
@ -455,6 +455,15 @@ $(eval $(call rules-meson,gstreamer,32))
|
|||||||
$(eval $(call rules-meson,gstreamer,64))
|
$(eval $(call rules-meson,gstreamer,64))
|
||||||
|
|
||||||
|
|
||||||
|
##
|
||||||
|
## graphene
|
||||||
|
##
|
||||||
|
|
||||||
|
$(eval $(call rules-source,graphene,$(SRCDIR)/graphene))
|
||||||
|
$(eval $(call rules-meson,graphene,32))
|
||||||
|
$(eval $(call rules-meson,graphene,64))
|
||||||
|
|
||||||
|
|
||||||
##
|
##
|
||||||
## gst-plugins-base
|
## gst-plugins-base
|
||||||
##
|
##
|
||||||
@ -474,9 +483,12 @@ GST_BASE_MESON_ARGS := \
|
|||||||
-Dvideoconvert=enabled \
|
-Dvideoconvert=enabled \
|
||||||
-Dvideoscale=enabled \
|
-Dvideoscale=enabled \
|
||||||
-Dvorbis=enabled \
|
-Dvorbis=enabled \
|
||||||
-Dorc=enabled
|
-Dorc=enabled \
|
||||||
|
-Dgl=enabled \
|
||||||
|
-Dgl-graphene=enabled \
|
||||||
|
--wrap-mode nodownload \
|
||||||
|
|
||||||
GST_BASE_DEPENDS = gst_orc gstreamer
|
GST_BASE_DEPENDS = gst_orc graphene gstreamer
|
||||||
|
|
||||||
$(eval $(call rules-source,gst_base,$(SRCDIR)/gst-plugins-base))
|
$(eval $(call rules-source,gst_base,$(SRCDIR)/gst-plugins-base))
|
||||||
$(eval $(call rules-meson,gst_base,32))
|
$(eval $(call rules-meson,gst_base,32))
|
||||||
|
1
graphene
Submodule
1
graphene
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 4e2578450809c2099400cf85caf18eafcd7100aa
|
@ -58,10 +58,10 @@ $$(OBJ)/.$(1)-dist$(3):
|
|||||||
mkdir -p $$($(2)_LIBDIR$(3))/ $$(DST_LIBDIR$(3))/
|
mkdir -p $$($(2)_LIBDIR$(3))/ $$(DST_LIBDIR$(3))/
|
||||||
cd $$($(2)_LIBDIR$(3)) && find -type f -printf '$$(DST_LIBDIR$(3))/%h\0' | sort -z | uniq -z | xargs $(--verbose?) -0 -r -P$$(J) mkdir -p
|
cd $$($(2)_LIBDIR$(3)) && find -type f -printf '$$(DST_LIBDIR$(3))/%h\0' | sort -z | uniq -z | xargs $(--verbose?) -0 -r -P$$(J) mkdir -p
|
||||||
cd $$($(2)_LIBDIR$(3)) && find -type l -printf '%p\0$$(DST_LIBDIR$(3))/%p\0' | xargs $(--verbose?) -0 -r -P$$(J) -n2 cp -a
|
cd $$($(2)_LIBDIR$(3)) && find -type l -printf '%p\0$$(DST_LIBDIR$(3))/%p\0' | xargs $(--verbose?) -0 -r -P$$(J) -n2 cp -a
|
||||||
cd $$($(2)_LIBDIR$(3)) && find -type f -not '(' -iname '*.pc' -or -iname '*.cmake' -or -iname '*.a' -or -iname '*.la' -or -iname '*.def' ')' \
|
cd $$($(2)_LIBDIR$(3)) && find -type f -not '(' -iname '*.pc' -or -iname '*.cmake' -or -iname '*.a' -or -iname '*.la' -or -iname '*.def' -or -iname '*.h' ')' \
|
||||||
-printf '--only-keep-debug\0%p\0$$(DST_LIBDIR$(3))/%p.debug\0' | \
|
-printf '--only-keep-debug\0%p\0$$(DST_LIBDIR$(3))/%p.debug\0' | \
|
||||||
xargs $(--verbose?) -0 -r -P$$(J) -n3 objcopy --file-alignment=4096
|
xargs $(--verbose?) -0 -r -P$$(J) -n3 objcopy --file-alignment=4096
|
||||||
cd $$($(2)_LIBDIR$(3)) && find -type f -not '(' -iname '*.pc' -or -iname '*.cmake' -or -iname '*.a' -or -iname '*.la' -or -iname '*.def' ')' \
|
cd $$($(2)_LIBDIR$(3)) && find -type f -not '(' -iname '*.pc' -or -iname '*.cmake' -or -iname '*.a' -or -iname '*.la' -or -iname '*.def' -or -iname '*.h' ')' \
|
||||||
-printf '--add-gnu-debuglink=$$(DST_LIBDIR$(3))/%p.debug\0--strip-debug\0%p\0$$(DST_LIBDIR$(3))/%p\0' | \
|
-printf '--add-gnu-debuglink=$$(DST_LIBDIR$(3))/%p.debug\0--strip-debug\0%p\0$$(DST_LIBDIR$(3))/%p\0' | \
|
||||||
xargs $(--verbose?) -0 -r -P$$(J) -n4 objcopy --file-alignment=4096 --set-section-flags .text=contents,alloc,load,readonly,code
|
xargs $(--verbose?) -0 -r -P$$(J) -n4 objcopy --file-alignment=4096 --set-section-flags .text=contents,alloc,load,readonly,code
|
||||||
touch $$@
|
touch $$@
|
||||||
@ -71,9 +71,9 @@ $$(OBJ)/.$(1)-dist$(3):
|
|||||||
mkdir -p $$($(2)_LIBDIR$(3))/ $$(DST_LIBDIR$(3))/
|
mkdir -p $$($(2)_LIBDIR$(3))/ $$(DST_LIBDIR$(3))/
|
||||||
cd $$($(2)_LIBDIR$(3)) && find -type f -printf '$$(DST_LIBDIR$(3))/%h\0' | sort -z | uniq -z | xargs $(--verbose?) -0 -r -P$$(J) mkdir -p
|
cd $$($(2)_LIBDIR$(3)) && find -type f -printf '$$(DST_LIBDIR$(3))/%h\0' | sort -z | uniq -z | xargs $(--verbose?) -0 -r -P$$(J) mkdir -p
|
||||||
cd $$($(2)_LIBDIR$(3)) && find -type l -printf '%p\0$$(DST_LIBDIR$(3))/%p\0' | xargs $(--verbose?) -0 -r -P$$(J) -n2 cp -a
|
cd $$($(2)_LIBDIR$(3)) && find -type l -printf '%p\0$$(DST_LIBDIR$(3))/%p\0' | xargs $(--verbose?) -0 -r -P$$(J) -n2 cp -a
|
||||||
cd $$($(2)_LIBDIR$(3)) && find -type f -not '(' -iname '*.pc' -or -iname '*.cmake' -or -iname '*.a' -or -iname '*.la' -or -iname '*.def' ')' \
|
cd $$($(2)_LIBDIR$(3)) && find -type f -not '(' -iname '*.pc' -or -iname '*.cmake' -or -iname '*.a' -or -iname '*.la' -or -iname '*.def' -or -iname '*.h' ')' \
|
||||||
-printf '$$(DST_LIBDIR$(3))/%p.debug\0' | xargs $(--verbose?) -0 -r -P$$(J) rm -f
|
-printf '$$(DST_LIBDIR$(3))/%p.debug\0' | xargs $(--verbose?) -0 -r -P$$(J) rm -f
|
||||||
cd $$($(2)_LIBDIR$(3)) && find -type f -not '(' -iname '*.pc' -or -iname '*.cmake' -or -iname '*.a' -or -iname '*.la' -or -iname '*.def' ')' \
|
cd $$($(2)_LIBDIR$(3)) && find -type f -not '(' -iname '*.pc' -or -iname '*.cmake' -or -iname '*.a' -or -iname '*.la' -or -iname '*.def' -or -iname '*.h' ')' \
|
||||||
-printf '--strip-debug\0%p\0$$(DST_LIBDIR$(3))/%p\0' | \
|
-printf '--strip-debug\0%p\0$$(DST_LIBDIR$(3))/%p\0' | \
|
||||||
xargs $(--verbose?) -0 -r -P$$(J) -n3 objcopy --file-alignment=4096 --set-section-flags .text=contents,alloc,load,readonly,code
|
xargs $(--verbose?) -0 -r -P$$(J) -n3 objcopy --file-alignment=4096 --set-section-flags .text=contents,alloc,load,readonly,code
|
||||||
touch $$@
|
touch $$@
|
||||||
|
Loading…
Reference in New Issue
Block a user