mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
gstreamer1.0-vaapi: Transition to meson based builds
* Removed autotools/M4 related patch 0001-gst-vaapi-Makefile.am-Add-EGL_CFLAGS-to-libgstvaapi-.patch. (From OE-Core rev: 5dc07f58832483ae44e8bfb6c3aa1787d607b8f3) Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
1e05d67ed1
commit
c84a522fd4
-33
@@ -1,33 +0,0 @@
|
||||
From 5403a89e6a7ac72a23e0221075c0c19b5f85a021 Mon Sep 17 00:00:00 2001
|
||||
From: Fabio Berton <fabio.berton@ossystems.com.br>
|
||||
Date: Wed, 13 Jun 2018 09:09:25 -0300
|
||||
Subject: [PATCH] gst/vaapi/Makefile.am: Add EGL_CFLAGS to libgstvaapi CFLAGS
|
||||
Organization: O.S. Systems Software LTDA.
|
||||
|
||||
We need this to pass correctly EGL CFLAGS when building with EGL support.
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
|
||||
---
|
||||
gst/vaapi/Makefile.am | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/gst/vaapi/Makefile.am b/gst/vaapi/Makefile.am
|
||||
index b299ac98..d6cab71f 100644
|
||||
--- a/gst/vaapi/Makefile.am
|
||||
+++ b/gst/vaapi/Makefile.am
|
||||
@@ -24,6 +24,10 @@ libgstvaapi_LIBS += $(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-glx.la
|
||||
endif
|
||||
|
||||
if USE_EGL
|
||||
+libgstvaapi_CFLAGS += \
|
||||
+ $(EGL_CFLAGS) \
|
||||
+ $(NULL)
|
||||
+
|
||||
libgstvaapi_LIBS += $(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-egl.la
|
||||
endif
|
||||
|
||||
--
|
||||
2.17.1
|
||||
|
||||
@@ -9,7 +9,6 @@ LICENSE = "LGPLv2.1+"
|
||||
LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
|
||||
|
||||
SRC_URI = "https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-${PV}.tar.xz \
|
||||
file://0001-gst-vaapi-Makefile.am-Add-EGL_CFLAGS-to-libgstvaapi-.patch \
|
||||
file://0001-vaapsink-downgrade-to-marginal.patch \
|
||||
"
|
||||
|
||||
@@ -19,10 +18,18 @@ SRC_URI[sha256sum] = "cb570f6f1e78cb364fbe3c4fb8751824ee9db0c942ba61b62380b9b5ab
|
||||
S = "${WORKDIR}/${REALPN}-${PV}"
|
||||
DEPENDS = "libva gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad"
|
||||
|
||||
inherit autotools pkgconfig gtk-doc features_check upstream-version-is-even
|
||||
inherit meson pkgconfig gtk-doc features_check upstream-version-is-even
|
||||
|
||||
REQUIRED_DISTRO_FEATURES ?= "opengl"
|
||||
|
||||
EXTRA_OEMESON += " \
|
||||
-Dexamples=disabled \
|
||||
"
|
||||
|
||||
GTKDOC_MESON_OPTION = "gtk_doc"
|
||||
GTKDOC_MESON_ENABLE_FLAG = "enabled"
|
||||
GTKDOC_MESON_DISABLE_FLAG = "disabled"
|
||||
|
||||
PACKAGES =+ "${PN}-tests"
|
||||
|
||||
# OpenGL packageconfig factored out to make it easy for distros
|
||||
@@ -33,17 +40,18 @@ PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'glx'
|
||||
bb.utils.contains('DISTRO_FEATURES', 'opengl', 'egl', \
|
||||
'', d), d)}"
|
||||
|
||||
PACKAGECONFIG ??= "drm \
|
||||
PACKAGECONFIG ??= "drm encoders \
|
||||
${PACKAGECONFIG_GL} \
|
||||
${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}"
|
||||
|
||||
PACKAGECONFIG[drm] = "--enable-drm,--disable-drm,udev libdrm"
|
||||
PACKAGECONFIG[egl] = "--enable-egl,--disable-egl,virtual/egl"
|
||||
PACKAGECONFIG[glx] = "--enable-glx,--disable-glx,virtual/libgl"
|
||||
PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland-native wayland wayland-protocols"
|
||||
PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11 libxrandr libxrender"
|
||||
PACKAGECONFIG[drm] = "-Dwith_drm=yes,-Dwith_drm=no,udev libdrm"
|
||||
PACKAGECONFIG[egl] = "-Dwith_egl=yes,-Dwith_egl=no,virtual/egl"
|
||||
PACKAGECONFIG[encoders] = "-Dwith_encoders=yes,-Dwith_encoders=no"
|
||||
PACKAGECONFIG[glx] = "-Dwith_glx=yes,-Dwith_glx=no,virtual/libgl"
|
||||
PACKAGECONFIG[wayland] = "-Dwith_wayland=yes,-Dwith_wayland=no,wayland-native wayland wayland-protocols"
|
||||
PACKAGECONFIG[x11] = "-Dwith_x11=yes,-Dwith_x11=no,virtual/libx11 libxrandr libxrender"
|
||||
|
||||
FILES_${PN} += "${libdir}/gstreamer-*/*.so"
|
||||
FILES_${PN}-dbg += "${libdir}/gstreamer-*/.debug"
|
||||
FILES_${PN}-dev += "${libdir}/gstreamer-*/*.la ${libdir}/gstreamer-*/*.a"
|
||||
FILES_${PN}-dev += "${libdir}/gstreamer-*/*.a"
|
||||
FILES_${PN}-tests = "${bindir}/*"
|
||||
|
||||
Reference in New Issue
Block a user