2018-09-27 21:31:14 +10:00
|
|
|
# Description: A set of python bindings for cairo.
|
|
|
|
# URL: https://pypi.org/project/pycairo/
|
2023-07-07 19:06:42 +02:00
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2018-09-27 21:31:14 +10:00
|
|
|
# Depends on: cairo
|
|
|
|
|
|
|
|
name=python3-cairo
|
2024-02-12 10:37:36 +01:00
|
|
|
version=1.26.0
|
2023-10-22 00:36:31 +02:00
|
|
|
release=1
|
2018-09-27 21:31:14 +10:00
|
|
|
source=(https://github.com/pygobject/pycairo/releases/download/v$version/pycairo-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
2023-09-30 16:05:21 +02:00
|
|
|
meson setup pycairo-$version build \
|
|
|
|
--prefix=/usr \
|
|
|
|
--buildtype=plain \
|
|
|
|
--wrap-mode nodownload \
|
|
|
|
-D b_lto=true \
|
|
|
|
-D b_pie=true \
|
|
|
|
-D python=/usr/bin/python3
|
2018-09-27 21:31:14 +10:00
|
|
|
|
2023-09-30 16:05:21 +02:00
|
|
|
meson compile -C build
|
|
|
|
DESTDIR=$PKG meson install -C build
|
2018-09-27 21:31:14 +10:00
|
|
|
}
|