summaryrefslogtreecommitdiffstats
path: root/meta-gnome/recipes-gimp/mypaint/libmypaint_git.bb
blob: b64e91a765c749ed48204d567c459c1a8dc91b49 (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
26
27
28
SUMMARY = "libmypaint is a library for making brushstrokes"
LICENSE = "ISC"
LIC_FILES_CHKSUM = "file://COPYING;md5=9d13203ab4013e5a14dd62105f75d58b"

DEPENDS = " \
    glib-2.0-native \
    intltool-native \
    glib-2.0 \
    babl \
    json-c \
"

inherit autotools gobject-introspection gettext pkgconfig python3native

SRC_URI = "git://github.com/mypaint/libmypaint.git;protocol=https;branch=libmypaint-v1 \
           file://0001-make-build-compatible-w.-autoconf-2.7.patch \
          "
SRCREV = "2768251dacce3939136c839aeca413f4aa4241d0"

PV = "1.6.1"


EXTRA_AUTORECONF += "-I m4"

do_configure:append() {
    # autogen uses python2 so generate headers ourselves
    (cd ${S} && python3 generate.py mypaint-brush-settings-gen.h brushsettings-gen.h)
}