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
15ac970dd7SAndrew GeisslerSRC_URI = "git://github.com/mypaint/libmypaint.git;protocol=https;branch=libmypaint-v1 \
16ac970dd7SAndrew Geissler           file://0001-make-build-compatible-w.-autoconf-2.7.patch \
17ac970dd7SAndrew Geissler          "
1889770b09SAndrew GeisslerSRCREV = "2768251dacce3939136c839aeca413f4aa4241d0"
1989770b09SAndrew GeisslerPV = "1.6.1"
2082c905dcSAndrew GeisslerS = "${WORKDIR}/git"
2182c905dcSAndrew Geissler
22*213cb269SPatrick Williamsdo_configure:append() {
2382c905dcSAndrew Geissler    # autogen uses python2 so generate headers ourselves
2482c905dcSAndrew Geissler    cd ${S}
2582c905dcSAndrew Geissler    python3 generate.py mypaint-brush-settings-gen.h brushsettings-gen.h
2682c905dcSAndrew Geissler}
27