1*82c905dcSAndrew GeisslerSUMMARY = "libmypaint is a library for making brushstrokes"
2*82c905dcSAndrew GeisslerLICENSE = "ISC"
3*82c905dcSAndrew GeisslerLIC_FILES_CHKSUM = "file://COPYING;md5=9d13203ab4013e5a14dd62105f75d58b"
4*82c905dcSAndrew Geissler
5*82c905dcSAndrew GeisslerDEPENDS = " \
6*82c905dcSAndrew Geissler    glib-2.0-native \
7*82c905dcSAndrew Geissler    intltool-native \
8*82c905dcSAndrew Geissler    glib-2.0 \
9*82c905dcSAndrew Geissler    babl \
10*82c905dcSAndrew Geissler    json-c \
11*82c905dcSAndrew Geissler"
12*82c905dcSAndrew Geissler
13*82c905dcSAndrew Geisslerinherit autotools gobject-introspection gettext python3native
14*82c905dcSAndrew Geissler
15*82c905dcSAndrew GeisslerSRC_URI = "git://github.com/mypaint/libmypaint.git;protocol=https;branch=libmypaint-v1"
16*82c905dcSAndrew GeisslerSRCREV = "477cb94b596035b54a255faaf95d13f6a8ee3619"
17*82c905dcSAndrew GeisslerPV = "1.4.0"
18*82c905dcSAndrew GeisslerS = "${WORKDIR}/git"
19*82c905dcSAndrew Geissler
20*82c905dcSAndrew Geisslerdo_configure_append() {
21*82c905dcSAndrew Geissler    # autogen uses python2 so generate headers ourselves
22*82c905dcSAndrew Geissler    cd ${S}
23*82c905dcSAndrew Geissler    python3 generate.py mypaint-brush-settings-gen.h brushsettings-gen.h
24*82c905dcSAndrew Geissler}
25