smlinux/base/gstreamer/gstreamer.SMBuild

38 lines
827 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=gstreamer
version=1.16.2
build=1sml
homepage="https://gstreamer.freedesktop.org/"
download="https://gstreamer.freedesktop.org/data/src/gstreamer/gstreamer-$version.tar.xz"
desc="streaming multimedia framework"
requires="glib pcre libffi zlib"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
mkdir -p smbuild && cd smbuild
meson .. \
--prefix="/" \
--buildtype=plain \
-Dintrospection=disabled
ninja
DESTDIR="$pkg" ninja install
cd ..
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
34ad259bfe20f38a5c499dece285c24231c4585d6165603ec4aaa6ba3062b5560a69abcf1bc6864691982fc99c431af88c7f96fcff6db35b50b4e1463809d900 gstreamer-1.16.2.tar.lz
"