smlinux/gtk/babl/babl.SMBuild

32 lines
719 B
Text
Executable file

APP=babl
VERSION=0.1.78
BUILD=1sml
HOMEPAGE="https://gegl.org/babl/"
DOWNLOAD="https://download.gimp.org/pub/babl/0.1/babl-0.1.78.tar.xz"
DESC="Dynamic, any to any, pixel format conversion library"
REQUIRES="lcms2 vala gobject-introspection"
build() {
mkandenterbuilddir
rm -rf $APP-$VERSION
tar xf $SRCDIR/$APP-$VERSION.tar.?z*
cd $APP-$VERSION
fixbuilddirpermissions
mkdir -p smbuild && cd smbuild
meson .. \
--prefix="/" \
-Denable-vapi=false
ninja
DESTDIR="$PKG" ninja install
cp ../COPYING $PKGDOCS/
mkfinalpkg
}
SHA512SUMS="
0a2c113fc5cfea807f9c5772987e5c1f55b068f6af4dcac2513f214873ede71a7b44cb4e3765c5187f4ac8b34984b1b125b44ee2e4ec6e3545e2a2b9524b11f1 babl-0.1.78.tar.lz
"