36 lines
1.0 KiB
Bash
36 lines
1.0 KiB
Bash
# Template file for 'babl'
|
|
pkgname=babl
|
|
version=0.1.74
|
|
revision=1
|
|
build_style=meson
|
|
build_helper=gir
|
|
configure_args="-Dwith-docs=false"
|
|
hostmakedepends="pkg-config vala-devel gobject-introspection"
|
|
makedepends="lcms2-devel"
|
|
short_desc="Dynamic pixel format translation library"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="LGPL-3.0-only"
|
|
homepage="http://gegl.org/babl/"
|
|
changelog="https://raw.githubusercontent.com/GNOME/babl/master/NEWS"
|
|
distfiles="https://download.gimp.org/pub/babl/${version%.*}/babl-${version}.tar.xz"
|
|
checksum=9a710b6950da37ada94cd9e2046cbce26de12473da32a7b79b7d1432fc66ce0e
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
x86_64*|i686*) ;;
|
|
*)
|
|
configure_args+=" -Denable-sse=false -Denable-sse2=false
|
|
-Denable-sse3=false -Denable-sse4_1=false -Denable-avx2=false
|
|
-Denable-f16c=false -Denable-mmx=false";;
|
|
esac
|
|
|
|
babl-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
vmove "usr/share/gir-*"
|
|
}
|
|
}
|