forked from ports/contrib
31 lines
1.1 KiB
Plaintext
31 lines
1.1 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 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 rtmpdump x264 x265
|
|
# Optional: brotli krb5 openldap
|
|
|
|
name=gst-plugins-bad
|
|
version=1.18.4
|
|
release=1
|
|
source=(https://gstreamer.freedesktop.org/src/$name/$name-$version.tar.xz
|
|
68858358544dd3b7e20663f731db22fd74a78a45.patch
|
|
a9fafd98b74fd184b178604095d35ac6105119b8.patch)
|
|
|
|
build() {
|
|
patch -Np1 -d $name-$version -i $SRC/68858358544dd3b7e20663f731db22fd74a78a45.patch
|
|
patch -Np1 -d $name-$version -i $SRC/a9fafd98b74fd184b178604095d35ac6105119b8.patch
|
|
cd $name-$version
|
|
|
|
meson build \
|
|
--prefix=/usr \
|
|
--libexecdir=/usr/lib \
|
|
-D buildtype=plain \
|
|
-D gtk_doc=disabled \
|
|
-D nls=disabled \
|
|
-D package-name="GStreamer (CRUX Linux)" \
|
|
-D package-origin="https://crux.nu/"
|
|
|
|
ninja -C build -j ${JOBS:-1}
|
|
DESTDIR=$PKG ninja -C build install
|
|
}
|