summaryrefslogtreecommitdiff
path: root/repo/media/gexiv2/gexiv2.xibuild
blob: 1aacbd47bf00a37746c8769d9c1e247b995746ff (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
#!/bin/sh

NAME="gexiv2"
DESC="GObject-based wrapper around the Exiv2 library"

MAKEDEPS="meson ninja "
DEPS="exiv2 glib "

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

build () {
    mkdir build &&
    cd build    &&
    meson --prefix=/usr \
    		-Dgtk_doc=true \
            -Dintrospection=true \
            -Dvapi=true \
            .. &&
    ninja
}

package () {
    DESTDIR=$PKG_DEST ninja install
}