blob: 0d53c78f3ea102335b550c07c66bb54c70f50c68 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SUMMARY = "Enable NumLock in X11 sessions"
2HOMEPAGE = "http://home.kde.org/~seli/numlockx/"
3SECTION = "x11/apps"
Andrew Geissler9aee5002022-03-30 16:27:02 +00004LICENSE = "MIT"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05005LIC_FILES_CHKSUM = "file://LICENSE;md5=dcb1cc75e21540a4a66b54e38d95b047"
6DEPENDS = "virtual/libx11 libxtst"
7
8SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/numlockx/numlockx-${PV}.tar.gz/be9109370447eae23f6f3f8527bb1a67/numlockx-${PV}.tar.gz"
9
10SRC_URI[md5sum] = "be9109370447eae23f6f3f8527bb1a67"
11SRC_URI[sha256sum] = "e468eb9121c94c9089dc6a287eeb347e900ce04a14be37da29d7696cbce772e4"
12
Brad Bishop8410d612019-11-25 09:40:59 -050013inherit autotools features_check
Patrick Williamsb48b7b42016-08-17 15:04:38 -050014# depends on virtual/libx11
15REQUIRED_DISTRO_FEATURES = "x11"
16
17EXTRA_OECONF = "--x-includes=${STAGING_INCDIR} \
18 --x-libraries=${STAGING_LIBDIR}"
19
Patrick Williams213cb262021-08-07 19:21:33 -050020do_configure:prepend() {
Patrick Williamsb48b7b42016-08-17 15:04:38 -050021 # remove this from acinclude.m4 or build fails
22 sed -i '/_AC_PATH_X_XMKMF/d' ${S}/acinclude.m4
23}