summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/lgi/lua-lgi_0.9.2.bb
blob: 344bf119b95b4fd12eaea7b38322ff446c380c6d (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
29
SUMMARY = "LGI is gobject-introspection based dynamic Lua binding to GObject based libraries."
HOMEPAGE = "https://https://github.com/pavouk/lgi"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=a77b7838f84aa753d37f88fd9c9ccf7d"

SRC_URI = "git://github.com/pavouk/lgi.git;protocol=https;branch=master"

DEPENDS = " \
	luajit \
	luajit-native \
	cairo \
	gobject-introspection \
	gobject-introspection-native \
"

SRCREV = "d7666f77e7ee33907c84f5efdef32aef2e1cc196"
SRCPV = "${PV}+${SRCREV}"

inherit meson pkgconfig

EXTRA_OEMESON += "--buildtype release -Dtests=false"

FILES:${PN} = "${libdir} ${datadir}"

# ppc64/riscv64/riscv32 is not supported on luajit
COMPATIBLE_HOST:riscv32 = "null"
COMPATIBLE_HOST:riscv64 = "null"
COMPATIBLE_HOST:powerpc64 = "null"
COMPATIBLE_HOST:powerpc64le = "null"