distribution/packages/multimedia/gstreamer/gst-plugins-good/package.mk
2022-12-29 14:20:38 -08:00

28 lines
1 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2018-present Frank Hartung (supervisedthinking (@) gmail.com)
PKG_NAME="gst-plugins-good"
PKG_VERSION="$(get_pkg_version gstreamer)"
PKG_SHA256="d17dca7a9ddb6b389f8d419834b5bac2ec0c5a5207c25773b1f5a57246282e84"
PKG_LICENSE="LGPL-2.1-or-later"
PKG_SITE="https://gstreamer.freedesktop.org/modules/gst-plugins-good.html"
PKG_URL="https://gstreamer.freedesktop.org/src/gst-plugins-good/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain gstreamer gst-plugins-base"
PKG_LONGDESC="Good GStreamer plugins and helper libraries"
PKG_MESON_OPTS_TARGET="-Dgdk-pixbuf=disabled \
-Dqt5=disabled \
-Dtaglib=disabled \
-Dexamples=disabled \
-Dtests=disabled \
-Dnls=disabled"
# Fix missing dispmanx
if [ "${DEVICE}" = "RPi4" -o "${DEVICE}" = "RPi2" ]; then
PKG_MESON_OPTS_TARGET+=" -Drpicamsrc=disabled"
fi
post_makeinstall_target(){
# Clean up
safe_remove ${INSTALL}/usr/share
}