27 lines
811 B
Plaintext
Raw Normal View History

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