summaryrefslogtreecommitdiff
path: root/repo/media/babl/babl.xibuild
blob: 5c73c516fba54fe2b1eff21fd3f892c8285d97bd (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
#!/bin/sh

NAME="babl"
DESC="Dynamic, any to any, pixel format conversion library"

MAKEDEPS="meson ninja "
DEPS="lcms2 "

PKG_VER=0.1.92
SOURCE="http://download.gimp.org/pub/babl/${PKG_VER%.*}/babl-$PKG_VER.tar.xz"
ADDITIONAL="meson-0.60.patch "

prepare () {
    apply_patches
}

build () {
    cd build    &&
    meson --prefix=/usr \
            .. &&
    ninja
}

package () {
    DESTDIR=$PKG_DEST ninja install
}