fix DuckstationSA evdev dep

This commit is contained in:
brooksytech 2022-08-02 08:05:23 -07:00
parent dce8635796
commit ef0a41a5bf
No known key found for this signature in database
GPG key ID: 45B78D3C7B40B188
2 changed files with 14 additions and 1 deletions

View file

@ -7,7 +7,7 @@ PKG_VERSION="5ab5070d73f1acc51e064bd96be4ba6ce3c06f5c"
PKG_LICENSE="GPLv3"
PKG_SITE="https://github.com/stenzek/duckstation"
PKG_URL="${PKG_SITE}.git"
PKG_DEPENDS_TARGET="toolchain SDL2 nasm:host pulseaudio openssl libidn2 nghttp2 zlib curl"
PKG_DEPENDS_TARGET="toolchain SDL2 nasm:host pulseaudio openssl libidn2 nghttp2 zlib curl libevdev"
PKG_SECTION="libretro"
PKG_SHORTDESC="Fast PlayStation 1 emulator for x86-64/AArch32/AArch64 "
PKG_TOOLCHAIN="cmake"

View file

@ -0,0 +1,13 @@
diff --git a/CMakeModules/FindLIBEVDEV.cmake b/CMakeModules/FindLIBEVDEV.cmake
index b560a27f..f2c8adce 100644
--- a/CMakeModules/FindLIBEVDEV.cmake
+++ b/CMakeModules/FindLIBEVDEV.cmake
@@ -11,8 +11,7 @@ FIND_PATH(
LIBEVDEV_INCLUDE_DIR libevdev/libevdev.h
HINTS ${PC_LIBEVDEV_INCLUDEDIR} ${PC_LIBEVDEV_INCLUDE_DIRS}
/usr/include
- /usr/local/include
- /usr/local/include/libevdev-1.0
+ /usr/include/libevdev-1.0
${LIBEVDEV_PATH_INCLUDES}
)