Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | SUMMARY = "GTK plugin for stylus based systems" |
| 2 | SECTION = "libs" |
| 3 | DEPENDS = "gtk+" |
| 4 | LICENSE = "LGPL-2.0+" |
| 5 | LIC_FILES_CHKSUM = "file://tap.c;beginline=1;endline=20;md5=71756eeb144e9eeb177c69aa672b1635" |
| 6 | PR = "r4" |
| 7 | |
Brad Bishop | 8410d61 | 2019-11-25 09:40:59 -0500 | [diff] [blame^] | 8 | inherit features_check autotools pkgconfig |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 9 | |
| 10 | REQUIRED_DISTRO_FEATURES = "x11" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 11 | |
| 12 | SRC_URI = "http://burtonini.com/temp/${BP}.tar.gz \ |
| 13 | file://gtkstylus.sh" |
| 14 | SRC_URI[md5sum] = "fa1c82cd9fd2fafd7ff10d78eb5781c5" |
| 15 | SRC_URI[sha256sum] = "383e0a22a537f653b8d41688277560f95678a042967198085ec7caa1a5cc2f4c" |
| 16 | |
| 17 | do_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 '*' |
| 23 | GTKVER = "2.10.0" |
| 24 | |
| 25 | FILES_${PN} = "${sysconfdir} \ |
| 26 | ${libdir}/gtk-2.0/${GTKVER}/modules/libgtkstylus.so.*" |
| 27 | FILES_${PN}-dbg += "${libdir}/gtk-2.0/${GTKVER}/modules/.debug" |
| 28 | FILES_${PN}-dev += "${libdir}/gtk-2.0/${GTKVER}/modules/libgtkstylus.so" |
| 29 | FILES_${PN}-staticdev += "${libdir}/gtk-2.0/${GTKVER}/modules/libgtkstylus.*a" |