31 lines
1.1 KiB
Plaintext
Raw Normal View History

2013-04-09 12:52:38 +10:00
# Description: A set of plugins for gstreamer that may pose distribution problems.
2017-02-15 23:11:26 +11:00
# URL: https://gstreamer.freedesktop.org/modules/gst-plugins-bad.html
2014-11-10 23:28:07 +11:00
# 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
2013-04-09 12:52:38 +10:00
name=gst-plugins-bad
2021-03-17 19:25:16 +11:00
version=1.18.4
2020-09-20 12:10:48 +10:00
release=1
source=(https://gstreamer.freedesktop.org/src/$name/$name-$version.tar.xz
68858358544dd3b7e20663f731db22fd74a78a45.patch
a9fafd98b74fd184b178604095d35ac6105119b8.patch)
2013-04-09 12:52:38 +10:00
build() {
patch -Np1 -d $name-$version -i $SRC/68858358544dd3b7e20663f731db22fd74a78a45.patch
patch -Np1 -d $name-$version -i $SRC/a9fafd98b74fd184b178604095d35ac6105119b8.patch
cd $name-$version
2013-04-09 12:52:38 +10:00
2019-10-06 18:38:02 +11:00
meson build \
2013-04-09 12:52:38 +10:00
--prefix=/usr \
2019-10-06 18:38:02 +11:00
--libexecdir=/usr/lib \
2021-01-08 00:47:27 +11:00
-D buildtype=plain \
2019-10-06 18:38:02 +11:00
-D gtk_doc=disabled \
-D nls=disabled \
-D package-name="GStreamer (CRUX Linux)" \
-D package-origin="https://crux.nu/"
2013-04-09 12:52:38 +10:00
2019-10-06 18:38:02 +11:00
ninja -C build -j ${JOBS:-1}
DESTDIR=$PKG ninja -C build install
2013-04-09 12:52:38 +10:00
}