2023-09-07 17:07:00 +02:00
|
|
|
# Description: a set of plug-ins that aren't up to par compared to the rest
|
2017-02-15 23:11:26 +11:00
|
|
|
# URL: https://gstreamer.freedesktop.org/modules/gst-plugins-bad.html
|
2023-03-05 14:02:26 +01:00
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2023-09-07 17:07:00 +02:00
|
|
|
# Depends on: brotli dav1d faac faad2 fdk-aac ffmpeg gst-plugins-base lame libass libmodplug libnice libsrtp libva libvdpau libvpx libwebp lilv mjpegtools neon openjpeg2 rtmpdump shaderc
|
|
|
|
# Optional: aom bluez chromaprint ladspa libde265 lv2 musepack openal openh264 soundtouch x265
|
2013-04-09 12:52:38 +10:00
|
|
|
|
2014-07-27 22:08:29 +10:00
|
|
|
name=gst-plugins-bad
|
2024-05-29 17:33:29 +02:00
|
|
|
version=1.24.4
|
2023-09-21 08:01:06 +02:00
|
|
|
release=1
|
2022-02-20 01:25:49 +11:00
|
|
|
source=(https://gstreamer.freedesktop.org/src/$name/$name-$version.tar.xz)
|
2013-04-09 12:52:38 +10:00
|
|
|
|
|
|
|
build() {
|
2023-03-05 14:02:26 +01: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
|
2023-09-07 17:07:00 +02:00
|
|
|
-D extra-checks=disabled
|
2023-03-05 14:02:26 +01:00
|
|
|
-D gobject-cast-checks=disabled"
|
2023-09-07 17:07:00 +02:00
|
|
|
|
2023-11-13 21:25:37 +01:00
|
|
|
optional="aom
|
|
|
|
bluez
|
|
|
|
chromaprint
|
|
|
|
ladspa
|
|
|
|
libde265
|
|
|
|
lv2
|
|
|
|
musepack
|
|
|
|
openal
|
|
|
|
openh264
|
|
|
|
soundtouch
|
|
|
|
x265"
|
2023-09-07 17:07:00 +02:00
|
|
|
|
|
|
|
for feat in $optional; do
|
|
|
|
prt-get isinst $feat || PKGMK_GSTBAD+=" -D $feat=disabled"
|
|
|
|
done
|
2023-01-22 21:25:39 -05:00
|
|
|
|
2023-11-13 21:25:37 +01:00
|
|
|
meson setup $name-$version build $PKGMK_GSTBAD \
|
|
|
|
--prefix=/usr \
|
|
|
|
--buildtype=plain \
|
|
|
|
--wrap-mode nodownload \
|
|
|
|
-D b_lto=true \
|
|
|
|
-D b_pie=true \
|
2023-03-05 14:02:26 +01:00
|
|
|
-D package-name="GStreamer Bad Plugins (CRUX Linux)" \
|
|
|
|
-D package-origin="https://crux.nu/"
|
2023-11-13 21:25:37 +01:00
|
|
|
meson compile -C build -j ${JOBS:-1}
|
|
|
|
DESTDIR=$PKG meson install -C build
|
2013-04-09 12:52:38 +10:00
|
|
|
}
|