mirror of
https://github.com/lingble/meta-tegra.git
synced 2025-10-28 19:12:39 +00:00
51 lines
1.8 KiB
BlitzBasic
51 lines
1.8 KiB
BlitzBasic
DESCRIPTION = "NVIDIA prebuilt binary-only GStreamer plugins"
|
|
L4T_DEB_COPYRIGHT_MD5 = "20bbd485b9b57fbc0b55d6efc08e3f4a"
|
|
|
|
DEPENDS = "\
|
|
glib-2.0 \
|
|
gstreamer1.0-plugins-base \
|
|
tegra-libraries-multimedia tegra-libraries-multimedia-utils \
|
|
${@bb.utils.contains('DISTRO_FEATURES', ['x11', 'alsa'], 'virtual/libx11 alsa-lib', '', d)} \
|
|
libdrm virtual/egl virtual/libgles2 \
|
|
"
|
|
|
|
L4T_DEB_TRANSLATED_BPN = "nvidia-l4t-gstreamer"
|
|
L4T_DEB_IS_COMMON = "1"
|
|
|
|
require tegra-debian-libraries-common.inc
|
|
|
|
MAINSUM = "93dbd3dc122b7181ab0a2573024dac972dd53c185830fcf1559b4d2b21870cb0"
|
|
|
|
TEGRA_LIBRARIES_TO_INSTALL = "\
|
|
libgstnvegl-1.0.so.0 \
|
|
libgstnvexifmeta.so \
|
|
libgstnvivameta.so \
|
|
libnvsample_cudaprocess.so \
|
|
"
|
|
do_install() {
|
|
install_libraries
|
|
install -d ${D}${libdir}/gstreamer-1.0
|
|
for f in ${S}/usr/lib/aarch64-linux-gnu/gstreamer-1.0/lib*; do
|
|
install -m 0644 $f ${D}${libdir}/gstreamer-1.0/
|
|
done
|
|
# Remove the plugins we build from source
|
|
rm -f ${D}${libdir}/gstreamer-1.0/libgstnvarguscamerasrc.so*
|
|
rm -f ${D}${libdir}/gstreamer-1.0/libgstnveglglessink.so*
|
|
rm -f ${D}${libdir}/gstreamer-1.0/libgstnvipcpipeline*
|
|
rm -f ${D}${libdir}/gstreamer-1.0/libgstnvjpeg.so*
|
|
rm -f ${D}${libdir}/gstreamer-1.0/libgstnvv4l2camerasrc.so*
|
|
rm -f ${D}${libdir}/gstreamer-1.0/libgstnvvideo4linux2.so*
|
|
rm -f ${D}${libdir}/gstreamer-1.0/libgstnvvideosinks.so*
|
|
rm -f ${D}${libdir}/gstreamer-1.0/libgstnvtee*
|
|
rm -f ${D}${libdir}/gstreamer-1.0/libgstnvdrmvideo*
|
|
rm -f ${D}${libdir}/gstreamer-1.0/libgstnvunixfd*
|
|
rm -f ${D}${libdir}/gstreamer-1.0/libgstnvvidconv*
|
|
rm -f ${D}${libdir}/gstreamer-1.0/libgstnvcompositor*
|
|
}
|
|
|
|
FILES_SOLIBSDEV = ""
|
|
FILES:${PN} = "${libdir}"
|
|
DEBIAN_NOAUTONAME:${PN} = "1"
|
|
|
|
RRECOMMENDS:${PN} = "gstreamer1.0-plugins-nvarguscamerasrc gstreamer1.0-plugins-nvv4l2camerasrc"
|