36 lines
1.0 KiB
Bash
36 lines
1.0 KiB
Bash
# Template file for 'babl'
|
|
pkgname=babl
|
|
version=0.1.78
|
|
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=17d5493633bff5585d9f375bc4df5925157cd1c70ccd7c22a635be75c172523a
|
|
|
|
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-*"
|
|
}
|
|
}
|