smlinux/gtk/cairo/cairo.SMBuild

41 lines
1.2 KiB
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=cairo
version=1.16.0
build=1sml
homepage="https://cairographics.org/"
download="https://cairographics.org/releases/cairo-$version.tar.xz"
desc="2D graphics library with support for multiple output devices"
requires="glib expat util-linux lzo pixman dejavu-fonts-ttf libxext libxrender libxcb freetype"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
applypatch $srcdir/CVE-2018-19876.patch
applypatch $srcdir/musl-stacksize.patch
autoreconf -vif
}
build() {
./configure \
--prefix="" \
--disable-static
make
make install DESTDIR=$pkg
cp COPYING* $pkgdocs/
mkfinalpkg
}
sha512sums="
5b2f4c66622e71d68567e8cc52128961d6a2eee0c61ab56919a73c2357bf6c2fd93caec73c00ab971405a21618259c2dea276822e494fb8f43ee081586f25135 cairo-1.16.0.tar.lz
9020c596caa54a2ac435d5dae0f121d36d3c3f34d487b9c1032665b1bd15813506adf31984e34b5dd328ee0e068de0627e1d061230758328cae4fa993c3a9209 CVE-2018-19876.patch
86f26fe41deb5e14f553c999090d1ec1d92a534fa7984112c9a7f1d6c6a8f1b7bb735947e8ec3f26e817f56410efe8cc46c5e682f6a278d49b40a683513740e0 musl-stacksize.patch
"