28 lines
905 B
Bash
28 lines
905 B
Bash
# Template file for 'cairo'
|
|
pkgname=cairo
|
|
version=1.18.0
|
|
revision=1
|
|
build_style=meson
|
|
build_helper="qemu"
|
|
# Tests get stuck.
|
|
configure_args="-Dtests=disabled"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="fontconfig-devel freetype-devel libglib-devel libpng-devel libX11-devel
|
|
libxcb-devel libXext-devel libXrender-devel lzo-devel pixman-devel zlib-devel"
|
|
short_desc="Vector graphics library with cross-device output support"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="LGPL-2.1-or-later, MPL-1.1"
|
|
homepage="https://cairographics.org"
|
|
distfiles="https://cairographics.org/releases/cairo-${version}.tar.xz"
|
|
checksum=243a0736b978a33dee29f9cca7521733b78a65b5418206fef7bd1c3d4cf10b64
|
|
|
|
cairo-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|