42 lines
1.5 KiB
Plaintext
42 lines
1.5 KiB
Plaintext
# Description: A set of plugins for gstreamer that may pose distribution problems.
|
|
# URL: https://gstreamer.freedesktop.org/modules/gst-plugins-bad.html
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: chromaprint dav1d faac faad2 fdk-aac libass libmodplug libnice libsrtp lilv mjpegtools nghttp2-libs openjpeg2 rtmpdump soundtouch x264 x265 bzip2 curl eudev expat libffi libgmp libpcre util-linux xz zlib zstd brotli ffmpeg flac glib gst-plugins-base gstreamer lame lcms2 libgudev libjpeg-turbo libogg libpng libsndfile libtheora libvorbis libvpx libwebp openal opus orc vulkan-loader libdrm libglvnd libva libvdpau ladspa neon bluez shaderc
|
|
|
|
name=gst-plugins-bad
|
|
version=1.20.1
|
|
release=1
|
|
source=(https://gstreamer.freedesktop.org/src/$name/$name-$version.tar.xz)
|
|
build() {
|
|
meson build $name-$version \
|
|
--prefix /usr \
|
|
--libexecdir lib \
|
|
--buildtype plain \
|
|
--wrap-mode nodownload \
|
|
-D b_lto=true \
|
|
-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 openh264=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 \
|
|
-D package-name="GStreamer Bad Plugins (CRUX Linux)" \
|
|
-D package-origin="https://crux.nu/"
|
|
|
|
ninja -C build -j ${JOBS:-1}
|
|
DESTDIR=$PKG ninja -C build install
|
|
}
|