compat-32/gstreamer-32/Pkgfile
2021-09-12 23:02:56 +10:00

28 lines
835 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 libgmp-32
name=gstreamer-32
version=1.18.5
release=1
source=(https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-$version.tar.xz)
build() {
meson setup build gstreamer-$version \
--prefix=/usr \
--libdir=/usr/lib32 \
--libexecdir=/usr/lib32 \
-D buildtype=plain \
-D gtk_doc=disabled \
-D nls=disabled \
-D introspection=disabled \
-D package-name="GStreamer (CRUX Linux)" \
-D package-origin="https://crux.nu/"
meson compile -C build -j ${JOBS:-1}
DESTDIR=$PKG ninja -C build install
rm -r $PKG/usr/{bin,include,share/man,share}
}