opt/babl/Pkgfile

25 lines
656 B
Plaintext
Raw Normal View History

2009-10-08 21:19:24 +02:00
# Description: Dynamic, any to any, pixel format translation library
2021-01-29 13:41:30 +01:00
# URL: https://gegl.org/babl
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: gobject-introspection lcms2
2021-02-28 11:48:58 +01:00
# Optional: vala
2009-10-08 21:19:24 +02:00
name=babl
2023-02-23 17:37:57 +01:00
version=0.1.100
2009-10-08 21:19:24 +02:00
release=1
2020-05-27 11:27:41 +02:00
source=(https://download.gimp.org/pub/$name/${version%.*}/$name-$version.tar.xz)
2009-10-08 21:19:24 +02:00
build() {
2022-05-08 23:17:38 +02:00
# fix wrong meson keyword
sed -i s/Description/description/ $name-$version/meson.build
2021-01-29 13:41:30 +01:00
meson setup build $name-$version \
--prefix=/usr \
2022-01-12 16:05:56 +01:00
--buildtype=plain \
--wrap-mode nodownload \
-D b_lto=true \
-D b_pie=true
2021-01-29 13:41:30 +01:00
meson compile -C build -j ${JOBS:-1}
DESTDIR=$PKG meson install -C build
2009-10-08 21:19:24 +02:00
}