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

68 lines
2.8 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2022-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="gst-plugins-base"
PKG_VERSION="1.21.2"
PKG_SHA256="1497013105d2fe783818dd6fe7a54f29c211f02c7080d98cbe62ffa847562068"
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() {
PKG_MESON_OPTS_TARGET="-Dgl=disabled \
-Dadder=disabled \
-Dapp=disabled \
-Daudioconvert=disabled \
-Daudiomixer=disabled \
-Daudiorate=disabled \
-Daudioresample=disabled \
-Daudiotestsrc=disabled \
-Dcompositor=disabled \
-Dencoding=disabled \
-Dgio=disabled \
-Dgio-typefinder=disabled \
-Doverlaycomposition=disabled \
-Dpbtypes=disabled \
-Dplayback=disabled \
-Drawparse=enabled \
-Dsubparse=enabled \
-Dtcp=disabled \
-Dtypefind=disabled \
-Dvideoconvertscale=disabled \
-Dvideorate=disabled \
-Dvideotestsrc=disabled \
-Dvolume=disabled \
-Dalsa=disabled \
-Dcdparanoia=disabled \
-Dlibvisual=disabled \
-Dogg=disabled \
-Dopus=disabled \
-Dpango=disabled \
-Dtheora=disabled \
-Dtremor=disabled \
-Dvorbis=disabled \
-Dx11=disabled \
-Dxshm=disabled \
-Dxi=disabled \
-Dxvideo=disabled \
-Dexamples=disabled \
-Dtests=disabled \
-Dtools=disabled \
-Dintrospection=disabled \
-Dnls=disabled \
-Dorc=disabled \
-Dgobject-cast-checks=disabled \
-Dglib-asserts=disabled \
-Dglib-checks=disabled \
-Dpackage-name=gst-plugins-base \
-Dpackage-origin=LibreELEC.tv \
-Ddoc=disabled"
}
post_makeinstall_target() {
# clean up
safe_remove ${INSTALL}
}