compat-32/gstreamer-32/Pkgfile
2020-09-20 12:07:32 +10:00

30 lines
818 B
Plaintext

# Description: Gstreamer is a library that allows the construction of graphs of media-handling components.
# URL: https://gstreamer.freedesktop.org/
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
# Depends on: glib-32 gstreamer libcap-32
name=gstreamer-32
version=1.18.0
release=1
source=(https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-$version.tar.xz)
build() {
cd gstreamer-$version
meson build \
--prefix=/usr \
--libdir=/usr/lib32 \
--libexecdir=/usr/lib32 \
-D buildtype=release \
-D gtk_doc=disabled \
-D nls=disabled \
-D introspection=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
rm -r $PKG/usr/{bin,include,share/man,share}
}