From 8a164a132db6bdb25ec711af1bfc7302964eb119 Mon Sep 17 00:00:00 2001 From: projectmoon Date: Thu, 17 Apr 2025 18:46:48 +0200 Subject: [PATCH] x11-misc/input-leap: treeclean --- .../input-leap/files/0001-remove-files.patch | 289 ------------------ x11-misc/input-leap/input-leap-9999.ebuild | 90 ------ x11-misc/input-leap/metadata.xml | 16 - 3 files changed, 395 deletions(-) delete mode 100644 x11-misc/input-leap/files/0001-remove-files.patch delete mode 100644 x11-misc/input-leap/input-leap-9999.ebuild delete mode 100644 x11-misc/input-leap/metadata.xml diff --git a/x11-misc/input-leap/files/0001-remove-files.patch b/x11-misc/input-leap/files/0001-remove-files.patch deleted file mode 100644 index 2d75a88..0000000 --- a/x11-misc/input-leap/files/0001-remove-files.patch +++ /dev/null @@ -1,289 +0,0 @@ -From 2ca65310de96d2493f5cfc8937239a00056d3f2b Mon Sep 17 00:00:00 2001 -From: projectmoon -Date: Fri, 4 Oct 2024 12:46:52 +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 | 239 --------------------- - 3 files changed, 250 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 d1d1d212..417d1845 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -303,8 +303,6 @@ elseif (UNIX AND NOT APPLE) - install(FILES 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() - - # -diff --git a/res/io.github.input_leap.InputLeap.desktop b/res/io.github.input_leap.InputLeap.desktop -deleted file mode 100644 -index 13d9d73f..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=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 6b81c466..00000000 ---- a/res/io.github.input_leap.InputLeap.svg -+++ /dev/null -@@ -1,239 +0,0 @@ -- -- -- -- --- -2.46.2 - diff --git a/x11-misc/input-leap/input-leap-9999.ebuild b/x11-misc/input-leap/input-leap-9999.ebuild deleted file mode 100644 index 7f8cf6c..0000000 --- a/x11-misc/input-leap/input-leap-9999.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop virtualx xdg cmake git-r3 - -DESCRIPTION="Share a mouse and keyboard between computers (fork of Barrier)" -HOMEPAGE="https://github.com/input-leap/input-leap" -EGIT_REPO_URI="https://github.com/input-leap/input-leap.git" - -LICENSE="GPL-2" -SLOT="0" -IUSE="wayland gui test" -RESTRICT="!test? ( test )" - -RDEPEND=" - net-misc/curl - x11-libs/libICE - x11-libs/libSM - x11-libs/libX11 - x11-libs/libXext - x11-libs/libXi - x11-libs/libXinerama - x11-libs/libXrandr - x11-libs/libXtst - wayland? ( - dev-libs/libei - >=dev-libs/libportal-0.9 - ) - gui? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtnetwork:5 - dev-qt/qtwidgets:5 - net-dns/avahi[mdnsresponder-compat] - ) - dev-libs/openssl:0= -" -DEPEND=" - ${RDEPEND} - dev-cpp/gtest - dev-cpp/gulrak-filesystem - x11-base/xorg-proto -" - -DOCS=( - ChangeLog - README.md - doc/${PN}.conf.example{,-advanced,-basic} -) - -MYWORK="${WORKDIR}/input-leap-9999/" - -src_prepare() { - eapply "${FILESDIR}"/0001-remove-files.patch - cmake_src_prepare -} - -src_configure() { - # gentoo is on qt5; but upstream defaults to 6. - local mycmakeargs=( - -DQT_DEFAULT_MAJOR_VERSION=5 - -DBARRIER_BUILD_GUI=$(usex gui) - -DBARRIER_BUILD_INSTALLER=OFF - -DBARRIER_BUILD_TESTS=$(usex test) - -DINPUTLEAP_BUILD_LIBEI=$(usex wayland) - -DBARRIER_REVISION=00000000 - -DBARRIER_USE_EXTERNAL_GTEST=ON - -DBARRIER_VERSION_STAGE=gentoo - ) - - cmake_src_configure -} - -src_test() { - "${BUILD_DIR}"/bin/unittests || die - virtx "${BUILD_DIR}"/bin/integtests || die -} - -src_install() { - cmake_src_install - einstalldocs - doman doc/${PN}{c,s}.1 - - if use gui; then - doicon -s 256 res/${PN}.png - make_desktop_entry ${PN} "Input Leap" ${PN} Utility - fi -} diff --git a/x11-misc/input-leap/metadata.xml b/x11-misc/input-leap/metadata.xml deleted file mode 100644 index 1da9d5d..0000000 --- a/x11-misc/input-leap/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - zdanevich.vitaly@ya.ru - Vitaly Zdanevich - - - - Enable integration with dev-libs/libei (requires patched libportal!) - - - - input-leap/input-leap - -