compat-32/gstreamer-32/Pkgfile

28 lines
835 B
Plaintext
Raw Normal View History

2016-02-28 04:28:45 +01:00
# Description: Gstreamer is a library that allows the construction of graphs of media-handling components.
2017-02-15 12:30:58 +01:00
# URL: https://gstreamer.freedesktop.org/
2016-02-28 04:28:45 +01:00
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
2021-01-07 14:46:28 +01:00
# Depends on: glib-32 gstreamer libcap-32 libgmp-32
2016-02-28 04:28:45 +01:00
name=gstreamer-32
2021-01-16 12:32:51 +01:00
version=1.18.3
2016-02-28 04:28:45 +01:00
release=1
2020-09-20 04:07:32 +02:00
source=(https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-$version.tar.xz)
2016-02-28 04:28:45 +01:00
build() {
2020-11-07 09:37:58 +01:00
meson setup build gstreamer-$version \
2016-02-28 04:28:45 +01:00
--prefix=/usr \
--libdir=/usr/lib32 \
--libexecdir=/usr/lib32 \
2020-11-07 09:37:58 +01:00
-D buildtype=plain \
2020-09-20 04:07:32 +02:00
-D gtk_doc=disabled \
-D nls=disabled \
-D introspection=disabled \
-D package-name="GStreamer (CRUX Linux)" \
-D package-origin="https://crux.nu/"
2016-05-29 13:36:58 +02:00
2020-11-07 09:37:58 +01:00
meson compile -C build -j ${JOBS:-1}
2020-09-20 04:07:32 +02:00
DESTDIR=$PKG ninja -C build install
2016-02-28 04:28:45 +01:00
2020-09-20 04:07:32 +02:00
rm -r $PKG/usr/{bin,include,share/man,share}
2016-02-28 04:28:45 +01:00
}