24 lines
614 B
Plaintext
24 lines
614 B
Plaintext
# Description: C++ wrapper for the cairo graphics library.
|
|
# URL: https://cairographics.org/cairomm/
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
|
# Depends on: cairo libsigc++
|
|
|
|
name=cairomm
|
|
version=1.18.0
|
|
release=1
|
|
source=(https://cairographics.org/releases/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
meson setup $name-$version build \
|
|
--prefix=/usr \
|
|
--buildtype=plain \
|
|
-D maintainer-mode=false \
|
|
-D build-examples=false \
|
|
-D build-tests=false \
|
|
-D b_lto=true \
|
|
-D b_pie=true
|
|
|
|
ninja -C build -j ${JOBS:-1}
|
|
DESTDIR=$PKG ninja -C build install
|
|
}
|