Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | SUMMARY = "Enable NumLock in X11 sessions" |
| 2 | HOMEPAGE = "http://home.kde.org/~seli/numlockx/" |
| 3 | SECTION = "x11/apps" |
| 4 | LICENSE = "MIT-X" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=dcb1cc75e21540a4a66b54e38d95b047" |
| 6 | DEPENDS = "virtual/libx11 libxtst" |
| 7 | |
| 8 | SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/numlockx/numlockx-${PV}.tar.gz/be9109370447eae23f6f3f8527bb1a67/numlockx-${PV}.tar.gz" |
| 9 | |
| 10 | SRC_URI[md5sum] = "be9109370447eae23f6f3f8527bb1a67" |
| 11 | SRC_URI[sha256sum] = "e468eb9121c94c9089dc6a287eeb347e900ce04a14be37da29d7696cbce772e4" |
| 12 | |
Brad Bishop | 8410d61 | 2019-11-25 09:40:59 -0500 | [diff] [blame] | 13 | inherit autotools features_check |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 14 | # depends on virtual/libx11 |
| 15 | REQUIRED_DISTRO_FEATURES = "x11" |
| 16 | |
| 17 | EXTRA_OECONF = "--x-includes=${STAGING_INCDIR} \ |
| 18 | --x-libraries=${STAGING_LIBDIR}" |
| 19 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame^] | 20 | do_configure:prepend() { |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 21 | # remove this from acinclude.m4 or build fails |
| 22 | sed -i '/_AC_PATH_X_XMKMF/d' ${S}/acinclude.m4 |
| 23 | } |