blob: a4e981e2d21fa5dfd44ac664305d61d19d3ec4d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Maintainer: Alexander Hunziker <alex.hunziker@gmail.com>
# Contributor: Alessio Biancalana <dottorblaster@gmail.com>
# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
# Contributor: Salamandar <felix@piedallu.me>
_pkgname=babl
pkgname="${_pkgname}-qfix-git"
pkgver=0.1.70.14.g868a077
pkgrel=1
pkgdesc="babl is a dynamic, any to any, pixel format translation library."
arch=('x86_64')
url="https://www.gegl.org/babl"
license=('LGPL3')
depends=('glibc' 'gobject-introspection')
makedepends=('git' 'meson' 'lcms2')
provides=("babl=${pkgver}")
conflicts=('babl')
options=(!libtool)
source=(git+https://gitlab.gnome.org/GNOME/babl)
md5sums=('SKIP')
_gitname=babl
build() {
mkdir "${srcdir}/build" -p
meson "${srcdir}/${_gitname}"\
"${srcdir}/build" \
--prefix=/usr \
-Dbuildtype=release \
-Db_lto=true \
-Dwith-docs=false
ninja -C "${srcdir}/build"
}
package() {
DESTDIR="${pkgdir}" ninja -C "${srcdir}/build" install
}
pkgver() {
cd "${_gitname}"
git describe --always | sed -e 's/BABL_//g' -e 's/[_-]/./g'
}
check() {
meson test -C "${srcdir}/build"
}
|