smlinux/gtk/babl/babl.SMBuild

39 lines
898 B
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=babl
version=0.1.78
build=1sml
homepage="https://gegl.org/babl/"
download="https://download.gimp.org/pub/babl/0.1/babl-$version.tar.xz"
desc="Dynamic, any to any, pixel format conversion library"
requires="lcms2 vala gobject-introspection"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
# Fix when building with meson 0.63.2
sed -i 's@Description@description@' meson.build
mkdir -p smbuild && cd smbuild
meson .. \
--prefix="/" \
-Denable-vapi=false \
-Dwith-docs=false
ninja
DESTDIR="$pkg" ninja install
cp ../COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
0a2c113fc5cfea807f9c5772987e5c1f55b068f6af4dcac2513f214873ede71a7b44cb4e3765c5187f4ac8b34984b1b125b44ee2e4ec6e3545e2a2b9524b11f1 babl-0.1.78.tar.lz
"