2013-04-09 12:52:38 +10:00
|
|
|
# Description: A set of plugins for gstreamer that may pose distribution problems.
|
2017-02-15 23:11:26 +11:00
|
|
|
# URL: https://gstreamer.freedesktop.org/modules/gst-plugins-bad.html
|
2014-11-10 23:28:07 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2023-01-28 00:01:13 +01:00
|
|
|
# Depends on: bluez brotli bzip2 chromaprint curl dav1d eudev expat faac faad2 fdk-aac ffmpeg flac glib gst-plugins-base gstreamer ladspa lame lcms2 libass libdrm libffi libglvnd libgmp libgudev libjpeg-turbo libmodplug libnghttp2 libnice libogg libpcre libpng libsndfile libsrtp libtheora libva libvdpau libvorbis libvpx libwebp lilv mjpegtools neon openal openjpeg2 opus orc rtmpdump shaderc soundtouch util-linux vulkan-loader x265 xz zlib zstd
|
|
|
|
# Optional: openh264 x264
|
2013-04-09 12:52:38 +10:00
|
|
|
|
2014-07-27 22:08:29 +10:00
|
|
|
name=gst-plugins-bad
|
2023-01-26 19:41:25 +01:00
|
|
|
version=1.22.0
|
2022-02-20 01:25:49 +11:00
|
|
|
release=1
|
|
|
|
source=(https://gstreamer.freedesktop.org/src/$name/$name-$version.tar.xz)
|
2013-04-09 12:52:38 +10:00
|
|
|
|
|
|
|
build() {
|
2023-01-22 21:25:39 -05:00
|
|
|
PKGMK_GSTBAD="--prefix=/usr
|
|
|
|
--libexecdir=lib
|
|
|
|
--buildtype=plain
|
|
|
|
--wrap-mode=nodownload
|
|
|
|
-D b_pie=true
|
|
|
|
-D doc=disabled
|
|
|
|
-D nls=disabled
|
|
|
|
-D directfb=disabled
|
|
|
|
-D flite=disabled
|
|
|
|
-D gsm=disabled
|
|
|
|
-D iqa=disabled
|
|
|
|
-D magicleap=disabled
|
|
|
|
-D msdk=disabled
|
|
|
|
-D openmpt=disabled
|
|
|
|
-D openni2=disabled
|
|
|
|
-D opensles=disabled
|
|
|
|
-D tinyalsa=disabled
|
|
|
|
-D voaacenc=disabled
|
|
|
|
-D voamrwbenc=disabled
|
|
|
|
-D wasapi2=disabled
|
|
|
|
-D wasapi=disabled
|
|
|
|
-D gobject-cast-checks=disabled"
|
|
|
|
prt-get isinst openh264 && PKGMK_GSTBAD+=" -D openh264=enabled" || \
|
|
|
|
PKGMK_GSTBAD+=" -D openh264=disabled"
|
|
|
|
|
|
|
|
meson setup build $name-$version $PKGMK_GSTBAD \
|
2021-12-28 00:37:05 +11:00
|
|
|
-D package-name="GStreamer Bad Plugins (CRUX Linux)" \
|
2019-10-06 18:38:02 +11:00
|
|
|
-D package-origin="https://crux.nu/"
|
2013-04-09 12:52:38 +10:00
|
|
|
|
2019-10-06 18:38:02 +11:00
|
|
|
ninja -C build -j ${JOBS:-1}
|
|
|
|
DESTDIR=$PKG ninja -C build install
|
2013-04-09 12:52:38 +10:00
|
|
|
}
|