mirror of
https://git.yoctoproject.org/poky
synced 2026-06-03 01:40:07 +00:00
libinput: convert to meson build
Drop libunwind option, as it is only used if tests are enabled (and they're unconditionally not enabled). (From OE-Core rev: 77119831bebfcb6fbb77f5f71351666dd99483e9) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
043f021849
commit
b040f4fbc2
@@ -7,21 +7,21 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=2184aef38ff137ed33ce9a63b9d1eb8f"
|
|||||||
|
|
||||||
DEPENDS = "libevdev udev mtdev"
|
DEPENDS = "libevdev udev mtdev"
|
||||||
|
|
||||||
SRC_URI = "http://www.freedesktop.org/software/${BPN}/${BP}.tar.xz"
|
SRC_URI = "http://www.freedesktop.org/software/${BPN}/${BP}.tar.xz \
|
||||||
|
"
|
||||||
|
|
||||||
SRC_URI[md5sum] = "aeeb79bfe1b1cb64c939098468d350b3"
|
SRC_URI[md5sum] = "aeeb79bfe1b1cb64c939098468d350b3"
|
||||||
SRC_URI[sha256sum] = "5ad95c8db75d59f1662199df748f912b150c3294d33cd4dd592aeb1908fe9d7f"
|
SRC_URI[sha256sum] = "5ad95c8db75d59f1662199df748f912b150c3294d33cd4dd592aeb1908fe9d7f"
|
||||||
|
|
||||||
inherit autotools pkgconfig lib_package
|
inherit meson pkgconfig lib_package
|
||||||
|
|
||||||
PACKAGECONFIG ??= ""
|
PACKAGECONFIG ??= ""
|
||||||
PACKAGECONFIG[libunwind] = "--with-libunwind,--without-libunwind,libunwind"
|
PACKAGECONFIG[libwacom] = "-Dlibwacom=true,-Dlibwacom=false,libwacom"
|
||||||
PACKAGECONFIG[libwacom] = "--enable-libwacom,--disable-libwacom,libwacom"
|
PACKAGECONFIG[gui] = "-Ddebug-gui=true,-Ddebug-gui=false,cairo gtk+3"
|
||||||
PACKAGECONFIG[gui] = "--enable-debug-gui,--disable-debug-gui,cairo gtk+3"
|
|
||||||
|
|
||||||
UDEVDIR = "`pkg-config --variable=udevdir udev`"
|
UDEVDIR = "`pkg-config --variable=udevdir udev`"
|
||||||
|
|
||||||
EXTRA_OECONF += "--with-udev-dir=${UDEVDIR} --disable-documentation --disable-tests"
|
EXTRA_OEMESON += "-Dudev-dir=${UDEVDIR} -Ddocumentation=false -Dtests=false"
|
||||||
|
|
||||||
# package name changed in 1.8.1 upgrade: make sure package upgrades work
|
# package name changed in 1.8.1 upgrade: make sure package upgrades work
|
||||||
RPROVIDES_${PN} = "libinput"
|
RPROVIDES_${PN} = "libinput"
|
||||||
|
|||||||
Reference in New Issue
Block a user