distribution/packages/multimedia/gstreamer/gst-plugins-base/package.mk

35 lines
1.1 KiB
Makefile
Raw Normal View History

# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2022-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="gst-plugins-base"
2022-12-29 22:20:38 +00:00
PKG_VERSION="$(get_pkg_version gstreamer)"
PKG_LICENSE="GPL-2.1-or-later"
PKG_SITE="https://gstreamer.freedesktop.org/modules/gst-plugins-base.html"
PKG_URL="https://gstreamer.freedesktop.org/src/gst-plugins-base/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain gstreamer"
PKG_LONGDESC="Base GStreamer plugins and helper libraries"
PKG_BUILD_FLAGS="-gold"
pre_configure_target() {
2022-12-29 22:20:38 +00:00
PKG_MESON_OPTS_TARGET="-Dexamples=disabled \
-Dtests=disabled \
-Dgobject-cast-checks=disabled \
-Dpackage-name=gst-plugins-base \
-Dpackage-origin=LibreELEC.tv \
2022-12-29 22:20:38 +00:00
-Ddoc=disabled \
-Dnls=disabled"
# Fix missing dispmanx
case ${DEVICE} in
2023-05-08 22:47:28 +00:00
RK3*|S922X*)
PKG_MESON_OPTS_TARGET+=" -Dgl-graphene=disabled"
;;
esac
}
post_makeinstall_target() {
# clean up
2022-12-29 22:20:38 +00:00
safe_remove ${INSTALL}/usr/bin
safe_remove ${INSTALL}/usr/share
}