2022-02-05 14:23:32 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
|
|
|
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
|
|
|
|
PKG_NAME="libevdev"
|
2022-07-10 16:20:13 +00:00
|
|
|
PKG_VERSION="1.12.1"
|
|
|
|
PKG_SHA256="1dbba41bc516d3ca7abc0da5b862efe3ea8a7018fa6e9b97ce9d39401b22426c"
|
|
|
|
PKG_LICENSE="MIT"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_SITE="http://www.freedesktop.org/wiki/Software/libevdev/"
|
2022-07-10 16:20:13 +00:00
|
|
|
PKG_URL="http://www.freedesktop.org/software/libevdev/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
|
|
PKG_LONGDESC="libevdev is a wrapper library for evdev devices."
|
|
|
|
PKG_BUILD_FLAGS="+pic"
|
2022-07-10 16:20:13 +00:00
|
|
|
PKG_TOOLCHAIN="meson"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
2022-07-10 16:20:13 +00:00
|
|
|
PKG_MESON_OPTS_TARGET=" \
|
|
|
|
-Ddefault_library=shared \
|
|
|
|
-Ddocumentation=disabled \
|
|
|
|
-Dtests=disabled"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
post_makeinstall_target() {
|
2022-07-10 16:20:13 +00:00
|
|
|
rm -rf ${INSTALL}/usr/bin
|
2022-02-05 14:23:32 +00:00
|
|
|
}
|