summaryrefslogtreecommitdiff
path: root/gst-plugins-bad/Pkgfile
blob: cbcd1b0f279db1dc0311b7cf07022c598bb837df (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: brotli chromaprint e2fsprogs faac faad2 gst-plugins-base ladspa lame libass libdca libdvdnav libmms libmodplug libmpcdec librsvg libsndfile libsrtp libusb libva libvpx libwebp mjpegtools neon openal openjpeg openldap rtmpdump x264 x265
    5 # Optional: krb5
    6 
    7 name=gst-plugins-bad
    8 version=1.16.2
    9 release=2
   10 source=(https://gstreamer.freedesktop.org/src/$name/$name-$version.tar.xz
   11 	neon.patch)
   12 
   13 build() {
   14 	cd $name-$version
   15 
   16 	patch -p1 -i $SRC/neon.patch
   17 
   18 	meson build \
   19 		--prefix=/usr \
   20 		--libexecdir=/usr/lib \
   21 		-D buildtype=release \
   22 		-D gtk_doc=disabled \
   23 		-D nls=disabled \
   24 		-D package-name="GStreamer (CRUX Linux)" \
   25 		-D package-origin="https://crux.nu/"
   26 
   27 	ninja -C build -j ${JOBS:-1}
   28 	DESTDIR=$PKG ninja -C build install
   29 }

Generated by cgit