opt/gstreamer/Pkgfile

26 lines
673 B
Plaintext
Raw Normal View History

2013-04-04 13:57:33 +02:00
# Description: Gstreamer is a library that allows the construction of graphs of media-handling components.
2017-02-15 12:41:57 +01:00
# URL: https://gstreamer.freedesktop.org/
2014-11-10 13:25:50 +01:00
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: gobject-introspection libcap
2013-04-04 13:57:33 +02:00
name=gstreamer
2020-09-20 04:03:25 +02:00
version=1.18.0
2019-12-10 11:14:09 +01:00
release=1
2017-02-15 12:41:57 +01:00
source=(https://gstreamer.freedesktop.org/src/$name/$name-$version.tar.xz)
2013-04-04 13:57:33 +02:00
build() {
cd $name-$version
2013-04-04 13:57:33 +02:00
2019-10-06 09:34:12 +02:00
meson build \
2013-04-04 13:57:33 +02:00
--prefix=/usr \
--libexecdir=/usr/lib \
2019-10-06 09:34:12 +02:00
-D buildtype=release \
-D gtk_doc=disabled \
-D nls=disabled \
-D package-name="GStreamer (CRUX Linux)" \
-D package-origin="https://crux.nu/"
2019-10-06 09:34:12 +02:00
ninja -C build -j ${JOBS:-1}
DESTDIR=$PKG ninja -C build install
2013-04-04 13:57:33 +02:00
}