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

33 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
2023-02-01 17:08:42 +00:00
if [ "${DEVICE}" = "RK3588" ]; then
PKG_MESON_OPTS_TARGET+=" -Dgl-graphene=disabled"
2022-12-29 22:20:38 +00:00
fi
}
post_makeinstall_target() {
# clean up
2022-12-29 22:20:38 +00:00
safe_remove ${INSTALL}/usr/bin
safe_remove ${INSTALL}/usr/share
}