summaryrefslogtreecommitdiff
path: root/repo/x11/gdk-pixbuf.xibuild
blob: 66d5a0f9578a9fe66e888d986391e888cc015085 (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
#!/bin/sh

NAME="gdk-pixbuf"
DESC="GTK+ image loading library"

MAKEDEPS="meson ninja "
DEPS="sbase glib shared-mime-info intltool libpng libjpeg-turbo tiff musl"

PKG_VER=2.42.8
SOURCE="https://download.gnome.org/sources/gdk-pixbuf/${PKG_VER%.*}/gdk-pixbuf-$PKG_VER.tar.xz"

build () {
    mkdir build &&
    cd build    &&
    meson --prefix=/usr \
    		-Dinstalled_tests=false \
            -Dpng=disabled \
            .. &&
    ninja
}

package () {
    DESTDIR=$PKG_DEST ninja install
}