blob: a990bfcfd9cf59cd85a79799122b6baeac2dbf15 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SUMMARY = "GTK plugin for stylus based systems"
2SECTION = "libs"
3DEPENDS = "gtk+"
4LICENSE = "LGPL-2.0+"
5LIC_FILES_CHKSUM = "file://tap.c;beginline=1;endline=20;md5=71756eeb144e9eeb177c69aa672b1635"
6PR = "r4"
7
Brad Bishop8410d612019-11-25 09:40:59 -05008inherit features_check autotools pkgconfig
Brad Bishop316dfdd2018-06-25 12:45:53 -04009
10REQUIRED_DISTRO_FEATURES = "x11"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050011
12SRC_URI = "http://burtonini.com/temp/${BP}.tar.gz \
13 file://gtkstylus.sh"
14SRC_URI[md5sum] = "fa1c82cd9fd2fafd7ff10d78eb5781c5"
15SRC_URI[sha256sum] = "383e0a22a537f653b8d41688277560f95678a042967198085ec7caa1a5cc2f4c"
16
17do_install_append() {
18 install -d ${D}/${sysconfdir}/X11/Xsession.d
19 install -m 755 ${WORKDIR}/gtkstylus.sh ${D}/${sysconfdir}/X11/Xsession.d/45gtkstylus
20}
21
22# Horrible but rpm falls over if you use '*'
23GTKVER = "2.10.0"
24
25FILES_${PN} = "${sysconfdir} \
26 ${libdir}/gtk-2.0/${GTKVER}/modules/libgtkstylus.so.*"
27FILES_${PN}-dbg += "${libdir}/gtk-2.0/${GTKVER}/modules/.debug"
28FILES_${PN}-dev += "${libdir}/gtk-2.0/${GTKVER}/modules/libgtkstylus.so"
29FILES_${PN}-staticdev += "${libdir}/gtk-2.0/${GTKVER}/modules/libgtkstylus.*a"