1SUMMARY = "libmypaint is a library for making brushstrokes"
2LICENSE = "ISC"
3LIC_FILES_CHKSUM = "file://COPYING;md5=9d13203ab4013e5a14dd62105f75d58b"
4
5DEPENDS = " \
6    glib-2.0-native \
7    intltool-native \
8    glib-2.0 \
9    babl \
10    json-c \
11"
12
13inherit autotools gobject-introspection gettext python3native
14
15SRC_URI = "git://github.com/mypaint/libmypaint.git;protocol=https;branch=libmypaint-v1"
16SRCREV = "477cb94b596035b54a255faaf95d13f6a8ee3619"
17PV = "1.4.0"
18S = "${WORKDIR}/git"
19
20do_configure_append() {
21    # autogen uses python2 so generate headers ourselves
22    cd ${S}
23    python3 generate.py mypaint-brush-settings-gen.h brushsettings-gen.h
24}
25