summaryrefslogtreecommitdiff
path: root/repo/media/babl.xibuild
blob: f7868065fd23dd634cfb7d30bd9856669d8045e2 (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="https://ftp.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
}