summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/touchpademulator/touchpademulator_git.bb
blob: e7b0387f7e872b82abee3caf62f9bb153b0f4103 (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
30
31
32
33
34
SUMMARY = "Emulate a touchpad mouse device using a touchscreen on Linux"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://LICENSE;md5=f744a106227710d355bcc787e464ba2d \
                    file://debian/copyright;md5=7bed05b78c0e4abec501cf82c4b85d9c"

SRC_URI = "git://gitlab.com/CalcProgrammer1/TouchpadEmulator;protocol=https;branch=master \
           file://0001-makefile-Use-CC-instead-of-hardcoding-gcc-calls.patch \
           file://0002-LaunchTouchpadEmulator.sh-Demand-sh-instead-of-bash.patch \
           "

PV = "0.3+git"
SRCREV = "7800f4c3af4defaf1be1083c93983ed4ff0e3b32"

inherit pkgconfig

DEPENDS += "dbus dbus-glib"

# Fixes:
# File /usr/bin/TouchpadEmulator in package touchpademulator doesn't have GNU_HASH (didn't pass LDFLAGS?) [ldflags]
TARGET_CC_ARCH += "${LDFLAGS}"

do_configure () {
	:
}

do_compile () {
	oe_runmake
}

do_install () {
	oe_runmake install 'DESTDIR=${D}'
}

FILES:${PN} += "${datadir}/icons"