2023-09-16 10:27:49 +02:00
|
|
|
# Description: A thin layer of graphic data types
|
2020-11-07 19:37:09 +11:00
|
|
|
# URL: https://ebassi.github.io/graphene/
|
2023-09-16 10:27:49 +02:00
|
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
2020-11-07 19:37:09 +11:00
|
|
|
# Depends on: glib-32 graphene
|
|
|
|
|
|
|
|
name=graphene-32
|
2022-06-16 20:15:53 +02:00
|
|
|
version=1.10.8
|
2020-11-07 19:37:09 +11:00
|
|
|
release=1
|
2022-06-16 20:15:53 +02:00
|
|
|
source=(https://github.com/ebassi/graphene/archive/$version/graphene-$version.tar.gz)
|
2020-11-07 19:37:09 +11:00
|
|
|
|
|
|
|
build() {
|
|
|
|
meson setup build graphene-$version \
|
|
|
|
--prefix=/usr \
|
|
|
|
--libdir=/usr/lib32 \
|
|
|
|
--buildtype=plain \
|
2023-09-16 10:27:49 +02:00
|
|
|
-D b_lto=true \
|
|
|
|
-D b_pie=true \
|
2021-02-16 20:20:09 +11:00
|
|
|
-D introspection=disabled \
|
2020-11-07 19:37:09 +11:00
|
|
|
-D installed_tests=false
|
|
|
|
|
|
|
|
meson compile -C build -j ${JOBS:-1}
|
|
|
|
DESTDIR=$PKG meson install -C build
|
|
|
|
|
|
|
|
rm -r $PKG/usr/include
|
|
|
|
}
|