diff --git a/x11-misc/input-leap/files/0001-remove-files.patch b/x11-misc/input-leap/files/0001-remove-files.patch new file mode 100644 index 0000000..be5c341 --- /dev/null +++ b/x11-misc/input-leap/files/0001-remove-files.patch @@ -0,0 +1,340 @@ +From a65ae8376aa0ab557a0e2750e8b814b2657744b7 Mon Sep 17 00:00:00 2001 +From: projectmoon +Date: Sun, 11 Aug 2024 23:24:38 +0200 +Subject: [PATCH] remove files not needed for gentoo + +--- + CMakeLists.txt | 2 - + res/io.github.input_leap.InputLeap.desktop | 9 - + res/io.github.input_leap.InputLeap.svg | 290 --------------------- + 3 files changed, 301 deletions(-) + delete mode 100644 res/io.github.input_leap.InputLeap.desktop + delete mode 100644 res/io.github.input_leap.InputLeap.svg + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 56a5131d..142a7380 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -344,8 +344,6 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Linux") + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/res/io.github.input_leap.InputLeap.appdata.xml DESTINATION share/metainfo) + + configure_files (${CMAKE_CURRENT_SOURCE_DIR}/dist/rpm ${CMAKE_BINARY_DIR}/rpm) +- install(FILES res/io.github.input_leap.InputLeap.svg DESTINATION share/icons/hicolor/scalable/apps) +- install(FILES res/io.github.input_leap.InputLeap.desktop DESTINATION share/applications) + endif() + + else() +diff --git a/res/io.github.input_leap.InputLeap.desktop b/res/io.github.input_leap.InputLeap.desktop +deleted file mode 100644 +index 76186e11..00000000 +--- a/res/io.github.input_leap.InputLeap.desktop ++++ /dev/null +@@ -1,9 +0,0 @@ +-[Desktop Entry] +-Type=Application +-Name=Input Leap +-Comment=Keyboard and mouse sharing solution +-Exec=input-leap +-Icon=io.github.input_leap.InputLeap +-Terminal=false +-Categories=Utility;Network; +-Keywords=keyboard;mouse;sharing;network;share; +diff --git a/res/io.github.input_leap.InputLeap.svg b/res/io.github.input_leap.InputLeap.svg +deleted file mode 100644 +index 26cf841b..00000000 +--- a/res/io.github.input_leap.InputLeap.svg ++++ /dev/null +@@ -1,290 +0,0 @@ +- +- +- +- +-- +2.44.2 + diff --git a/x11-misc/input-leap/input-leap-9999.ebuild b/x11-misc/input-leap/input-leap-9999.ebuild index 7a9605e..85681b1 100644 --- a/x11-misc/input-leap/input-leap-9999.ebuild +++ b/x11-misc/input-leap/input-leap-9999.ebuild @@ -52,9 +52,7 @@ DOCS=( MYWORK="${WORKDIR}/input-leap-9999/" src_prepare() { - mv "${MYWORK}/res/io.github.input_leap.InputLeap.svg" "${MYWORK}/res/input-leap.svg" - rm "${MYWORK}/res/io.github.input_leap.InputLeap.desktop" - + eapply "${FILESDIR}"/0001-remove-files.patch cmake_src_prepare }