182c905dcSAndrew GeisslerSUMMARY = "libmypaint is a library for making brushstrokes"
282c905dcSAndrew GeisslerLICENSE = "ISC"
382c905dcSAndrew GeisslerLIC_FILES_CHKSUM = "file://COPYING;md5=9d13203ab4013e5a14dd62105f75d58b"
482c905dcSAndrew Geissler
582c905dcSAndrew GeisslerDEPENDS = " \
682c905dcSAndrew Geissler    glib-2.0-native \
782c905dcSAndrew Geissler    intltool-native \
882c905dcSAndrew Geissler    glib-2.0 \
982c905dcSAndrew Geissler    babl \
1082c905dcSAndrew Geissler    json-c \
1182c905dcSAndrew Geissler"
1282c905dcSAndrew Geissler
1382c905dcSAndrew Geisslerinherit autotools gobject-introspection gettext python3native
1482c905dcSAndrew Geissler
1582c905dcSAndrew GeisslerSRC_URI = "git://github.com/mypaint/libmypaint.git;protocol=https;branch=libmypaint-v1"
16*89770b09SAndrew GeisslerSRCREV = "2768251dacce3939136c839aeca413f4aa4241d0"
17*89770b09SAndrew GeisslerPV = "1.6.1"
1882c905dcSAndrew GeisslerS = "${WORKDIR}/git"
1982c905dcSAndrew Geissler
2082c905dcSAndrew Geisslerdo_configure_append() {
2182c905dcSAndrew Geissler    # autogen uses python2 so generate headers ourselves
2282c905dcSAndrew Geissler    cd ${S}
2382c905dcSAndrew Geissler    python3 generate.py mypaint-brush-settings-gen.h brushsettings-gen.h
2482c905dcSAndrew Geissler}
25