blob: 55b112cee0cb26da7edbb099e864ec1bc1c1388d (
plain)
1 # Description: A set of plugins for gstreamer that may pose distribution problems.
2 # URL: https://gstreamer.freedesktop.org/modules/gst-plugins-bad.html
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # 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 x264 x265 xz zlib zstd
5
6 name=gst-plugins-bad
7 version=1.20.5
8 release=1
9 source=(https://gstreamer.freedesktop.org/src/$name/$name-$version.tar.xz)
10
11 build() {
12 meson build $name-$version \
13 --prefix /usr \
14 --libexecdir lib \
15 --buildtype plain \
16 --wrap-mode nodownload \
17 -D b_pie=true \
18 -D doc=disabled \
19 -D nls=disabled \
20 -D directfb=disabled \
21 -D flite=disabled \
22 -D gsm=disabled \
23 -D iqa=disabled \
24 -D magicleap=disabled \
25 -D msdk=disabled \
26 -D openh264=disabled \
27 -D openmpt=disabled \
28 -D openni2=disabled \
29 -D opensles=disabled \
30 -D tinyalsa=disabled \
31 -D voaacenc=disabled \
32 -D voamrwbenc=disabled \
33 -D wasapi2=disabled \
34 -D wasapi=disabled \
35 -D gobject-cast-checks=disabled \
36 -D package-name="GStreamer Bad Plugins (CRUX Linux)" \
37 -D package-origin="https://crux.nu/"
38
39 ninja -C build -j ${JOBS:-1}
40 DESTDIR=$PKG ninja -C build install
41 }
|