1*4882a593SmuzhiyunSUMMARY = "An implementation of the GEIS interface"
2*4882a593SmuzhiyunDESCRIPTION = "An implementation of the GEIS (Gesture Engine Interface and Support) \
3*4882a593Smuzhiyuninterface\
4*4882a593SmuzhiyunGEIS is a library for applications and toolkit programmers which \
5*4882a593Smuzhiyunprovides a consistent platform independent interface for any \
6*4882a593Smuzhiyunsystem-wide input gesture recognition mechanism."
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunHOMEPAGE = "https://launchpad.net/geis"
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunLICENSE = "GPL-3.0-only & LGPL-3.0-only"
11*4882a593SmuzhiyunLIC_FILES_CHKSUM = " \
12*4882a593Smuzhiyun    file://COPYING;md5=6a6a8e020838b23406c81b19c1d46df6 \
13*4882a593Smuzhiyun    file://COPYING.GPL;md5=f27defe1e96c2e1ecd4e0c9be8967949 \
14*4882a593Smuzhiyun"
15*4882a593Smuzhiyun
16*4882a593Smuzhiyuninherit autotools pkgconfig python3native lib_package features_check
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunREQUIRED_DISTRO_FEATURES = "x11"
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunDEPENDS += "grail dbus-glib python3 virtual/libx11 libxext libxi libxcb dbus frame"
21*4882a593Smuzhiyun
22*4882a593SmuzhiyunSRC_URI = "https://launchpad.net/${BPN}/trunk/${PV}/+download/${BPN}-${PV}.tar.xz \
23*4882a593Smuzhiyun           file://fix-indentation-for-gcc6.patch \
24*4882a593Smuzhiyun           file://0001-libgeis-Compare-the-first-character-of-string-to-nul.patch \
25*4882a593Smuzhiyun           "
26*4882a593Smuzhiyun
27*4882a593SmuzhiyunUPSTREAM_CHECK_URI = "https://launchpad.net/geis/trunk"
28*4882a593Smuzhiyun
29*4882a593SmuzhiyunSRC_URI[md5sum] = "2ff9d76a3ea5794516bb02c9d1924faf"
30*4882a593SmuzhiyunSRC_URI[sha256sum] = "8a60f5683852094038904e690d23cc5a90a980fc52da67f0f28890baa25c70eb"
31*4882a593Smuzhiyun
32*4882a593SmuzhiyunEXTRA_OECONF = "--disable-integration-tests"
33*4882a593Smuzhiyun
34*4882a593SmuzhiyunFILES:${PN}-bin = "${bindir}"
35*4882a593SmuzhiyunRDEPENDS:${PN}-bin = " \
36*4882a593Smuzhiyun    python3-compression \
37*4882a593Smuzhiyun    python3-core \
38*4882a593Smuzhiyun    python3-crypt \
39*4882a593Smuzhiyun    python3-ctypes \
40*4882a593Smuzhiyun    python3-fcntl \
41*4882a593Smuzhiyun    python3-misc \
42*4882a593Smuzhiyun    python3-pickle \
43*4882a593Smuzhiyun    python3-shell \
44*4882a593Smuzhiyun    python3-stringold \
45*4882a593Smuzhiyun    python3-threading \
46*4882a593Smuzhiyun"
47*4882a593Smuzhiyun
48*4882a593SmuzhiyunFILES:${PN} += " \
49*4882a593Smuzhiyun    ${datadir}/geisview \
50*4882a593Smuzhiyun    ${libdir}/${PYTHON_DIR}/site-packages/geis* \
51*4882a593Smuzhiyun    ${libdir}/${PYTHON_DIR}/site-packages/_*.so \
52*4882a593Smuzhiyun"
53*4882a593Smuzhiyun
54*4882a593SmuzhiyunFILES:${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/.debug"
55*4882a593Smuzhiyun
56*4882a593SmuzhiyunFILES:${PN}-dev += "${libdir}/${PYTHON_DIR}/site-packages/_*.la"
57*4882a593Smuzhiyun
58*4882a593SmuzhiyunFILES:${PN}-staticdev += "${libdir}/${PYTHON_DIR}/site-packages/_*.a"
59