input-leap: remove files with eapply instead

This commit is contained in:
projectmoon 2024-08-11 23:26:25 +02:00
parent cbc9857c51
commit 72eb3746fe
2 changed files with 341 additions and 3 deletions

View File

@ -0,0 +1,340 @@
From a65ae8376aa0ab557a0e2750e8b814b2657744b7 Mon Sep 17 00:00:00 2001
From: projectmoon <projectmoon@agnos.is>
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 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-
-<svg
- width="100"
- height="100"
- viewBox="0 0 26.458333 26.458333"
- version="1.1"
- id="svg699"
- inkscape:version="1.2.2 (b0a8486, 2022-12-01)"
- sodipodi:docname="rodykle1.svg"
- xml:space="preserve"
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
- xmlns="http://www.w3.org/2000/svg"
- xmlns:svg="http://www.w3.org/2000/svg"><sodipodi:namedview
- id="namedview701"
- pagecolor="#ffffff"
- bordercolor="#000000"
- borderopacity="0.25"
- inkscape:showpageshadow="2"
- inkscape:pageopacity="0.0"
- inkscape:pagecheckerboard="0"
- inkscape:deskcolor="#d1d1d1"
- inkscape:document-units="mm"
- showgrid="false"
- showguides="false"
- inkscape:zoom="4.0000001"
- inkscape:cx="32.749999"
- inkscape:cy="46.874999"
- inkscape:window-width="1920"
- inkscape:window-height="995"
- inkscape:window-x="0"
- inkscape:window-y="0"
- inkscape:window-maximized="1"
- inkscape:current-layer="layer1"
- inkscape:lockguides="false"><sodipodi:guide
- position="13.229166,23.8125"
- orientation="0,1"
- id="guide10631"
- inkscape:locked="false"
- inkscape:label=""
- inkscape:color="rgb(0,134,229)" /><sodipodi:guide
- position="23.8125,13.229166"
- orientation="-1,0"
- id="guide10641"
- inkscape:locked="false"
- inkscape:label=""
- inkscape:color="rgb(0,134,229)" /><sodipodi:guide
- position="13.229166,2.6458333"
- orientation="0,1"
- id="guide10643"
- inkscape:locked="false"
- inkscape:label=""
- inkscape:color="rgb(0,134,229)" /><sodipodi:guide
- position="2.6458333,13.229166"
- orientation="-1,0"
- id="guide10645"
- inkscape:locked="false"
- inkscape:label=""
- inkscape:color="rgb(0,134,229)" /><sodipodi:guide
- position="13.229166,13.229166"
- orientation="0,1"
- id="guide10705"
- inkscape:locked="false"
- inkscape:label=""
- inkscape:color="rgb(78,154,6)" /><sodipodi:guide
- position="13.229167,6.0978193"
- orientation="-1,0"
- id="guide10707"
- inkscape:locked="false"
- inkscape:label=""
- inkscape:color="rgb(78,154,6)" /><sodipodi:guide
- position="17.271309,10.628642"
- orientation="0.70710678,-0.70710678"
- id="guide10709"
- inkscape:locked="false"
- inkscape:label=""
- inkscape:color="rgb(0,134,229)" /><sodipodi:guide
- position="13.229166,13.229166"
- orientation="-0.70710678,-0.70710678"
- id="guide10711"
- inkscape:locked="false"
- inkscape:label=""
- inkscape:color="rgb(0,134,229)" /><sodipodi:guide
- position="13.229166,22.489583"
- orientation="0,1"
- id="guide11277"
- inkscape:locked="false"
- inkscape:label=""
- inkscape:color="rgb(0,134,229)" /><sodipodi:guide
- position="3.96875,13.229166"
- orientation="-1,0"
- id="guide12005"
- inkscape:locked="false"
- inkscape:label=""
- inkscape:color="rgb(0,134,229)" /><sodipodi:guide
- position="13.229167,3.9687503"
- orientation="0,1"
- id="guide14185"
- inkscape:locked="false"
- inkscape:label=""
- inkscape:color="rgb(0,134,229)" /><sodipodi:guide
- position="22.400418,14.522835"
- orientation="-1,0"
- id="guide14187"
- inkscape:locked="false"
- inkscape:label=""
- inkscape:color="rgb(0,134,229)" /><sodipodi:guide
- position="39.495086,5.0181873"
- orientation="0,1"
- id="guide21375"
- inkscape:locked="false"
- inkscape:label=""
- inkscape:color="rgb(0,134,229)" /><sodipodi:guide
- position="17.784392,8.67394"
- orientation="0,1"
- id="guide22047"
- inkscape:locked="false"
- inkscape:label=""
- inkscape:color="rgb(0,134,229)" /><sodipodi:guide
- position="13.229166,21.166666"
- orientation="0,1"
- id="guide22049"
- inkscape:locked="false"
- inkscape:label=""
- inkscape:color="rgb(0,134,229)" /><sodipodi:guide
- position="5.2916666,13.229166"
- orientation="-1,0"
- id="guide22051"
- inkscape:locked="false"
- inkscape:label=""
- inkscape:color="rgb(0,134,229)" /><sodipodi:guide
- position="21.166666,13.229166"
- orientation="-1,0"
- id="guide22053"
- inkscape:locked="false"
- inkscape:label=""
- inkscape:color="rgb(0,134,229)" /><sodipodi:guide
- position="25.878604,5.0181873"
- orientation="-0.70710678,-0.70710678"
- id="guide7550"
- inkscape:locked="false" /><sodipodi:guide
- position="13.229167,2.0009114"
- orientation="0,-1"
- id="guide12036"
- inkscape:locked="false" /><sodipodi:guide
- position="0.046772166,30.808144"
- orientation="0,-1"
- id="guide454"
- inkscape:locked="false" /></sodipodi:namedview><defs
- id="defs696"><inkscape:path-effect
- effect="spiro"
- id="path-effect8894"
- is_visible="true"
- lpeversion="1" /><inkscape:path-effect
- effect="spiro"
- id="path-effect22164"
- is_visible="true"
- lpeversion="1" /><inkscape:path-effect
- effect="bspline"
- id="path-effect22045"
- is_visible="true"
- lpeversion="1"
- weight="33.333333"
- steps="2"
- helper_size="0"
- apply_no_weight="true"
- apply_with_weight="true"
- only_selected="false" /><inkscape:path-effect
- effect="bspline"
- id="path-effect22041"
- is_visible="true"
- lpeversion="1"
- weight="33.333333"
- steps="2"
- helper_size="0"
- apply_no_weight="true"
- apply_with_weight="true"
- only_selected="false" /><inkscape:path-effect
- effect="spiro"
- id="path-effect22017"
- is_visible="true"
- lpeversion="1" /><inkscape:path-effect
- effect="spiro"
- id="path-effect22013"
- is_visible="true"
- lpeversion="1" /><inkscape:path-effect
- effect="spiro"
- id="path-effect22005"
- is_visible="true"
- lpeversion="1" /><linearGradient
- id="linearGradient11273"
- inkscape:swatch="solid"><stop
- style="stop-color:#ff00cf;stop-opacity:0.61176473;"
- offset="0"
- id="stop11271" /></linearGradient><linearGradient
- id="linearGradient1606"
- inkscape:swatch="solid"><stop
- style="stop-color:#000000;stop-opacity:1;"
- offset="0"
- id="stop1604" /></linearGradient></defs><g
- inkscape:label="Layer 1"
- inkscape:groupmode="layer"
- id="layer1"><path
- style="fill:#2b0000;stroke-width:0.264583"
- d="m 36.547914,10.117786 0.01617,9.128071"
- id="path921" /><rect
- style="fill:#4096b9;fill-opacity:1;stroke:#233f92;stroke-width:0.265;stroke-dasharray:none;stroke-opacity:1"
- id="rect925"
- width="9.9269505"
- height="7.4202018"
- x="2.1983447"
- y="4.1871085" /><ellipse
- style="fill:none;stroke:none;stroke-width:0.258"
- id="path10703"
- cx="-11.418465"
- cy="19.840923"
- rx="10.506005"
- ry="10.583334" /><ellipse
- style="fill:none;stroke:none;stroke-width:0.258;stroke-opacity:1"
- id="path17819"
- cx="-11.418464"
- cy="19.873276"
- rx="9.260416"
- ry="9.260417" /><path
- style="fill:#880b0b;fill-opacity:1;stroke:none;stroke-width:0.258;stroke-opacity:1"
- d="M -4.0271416,9.1123469 V 32.844838 Z"
- id="path24398"
- sodipodi:nodetypes="ccc" /><path
- style="fill:#880b0b;fill-opacity:1;stroke:none;stroke-width:0;stroke-dasharray:none;stroke-opacity:1"
- id="path27385"
- sodipodi:type="arc"
- sodipodi:cx="27.490984"
- sodipodi:cy="12.698046"
- sodipodi:rx="0.16062549"
- sodipodi:ry="0.072860099"
- sodipodi:start="0"
- sodipodi:end="1.6382539"
- sodipodi:open="true"
- sodipodi:arc-type="arc"
- d="m 27.651609,12.698046 a 0.16062549,0.0728601 0 0 1 -0.05094,0.05323 0.16062549,0.0728601 0 0 1 -0.120512,0.01947" /><path
- style="fill:none;fill-opacity:1;stroke:#233f92;stroke-width:0.79375;stroke-dasharray:none;stroke-opacity:1"
- d="M 8.3496831,12.332784 6.0193016,12.332106"
- id="path37578"
- sodipodi:nodetypes="cc" /><path
- style="fill:none;fill-opacity:1;stroke:#233f92;stroke-width:0.264999;stroke-dasharray:none;stroke-opacity:1"
- d="m 4.4758708,13.05758 5.4172431,3.4e-5"
- id="path37578-9-5-3"
- sodipodi:nodetypes="cc" /><path
- id="path6593-5"
- style="fill:#98c43d;fill-opacity:1;stroke:#040501;stroke-width:0.132;stroke-opacity:1;stroke-dasharray:none"
- d="m 21.035357,13.274256 2.183939,-1.23e-4 c 2.97e-4,-0.01343 8.16e-4,-0.02646 0.0011,-0.0399 -0.0147,-5.0986268 -2.812533,-9.2048343 -6.314919,-9.2136068 l 0.437346,-1.968175 -3.978052,2.9383218 3.978051,3.0959351 -0.569186,-2.1248427 c 2.823247,0.1552185 4.250535,3.3859171 4.261687,7.3123976 z m -4.075233,-9.3292648 -3.3e-5,6.3e-6"
- sodipodi:nodetypes="ccccccccccc" /><path
- id="path6593-5-2"
- style="fill:#98c43d;fill-opacity:1;stroke:#040501;stroke-width:0.132;stroke-opacity:1;stroke-dasharray:none"
- d="m 7.3457166,14.047745 -2.183939,1.23e-4 c -2.97e-4,0.01343 -8.16e-4,0.02646 -0.0011,0.0399 0.0147,5.098626 2.8125329,9.204834 6.3149194,9.213606 l -0.437346,1.968175 3.978051,-2.938321 -3.97805,-3.095936 0.569185,2.124843 C 8.7841906,21.204917 7.3569025,17.974218 7.3457506,14.047738 Z m 4.0752334,9.329264 3.3e-5,-6e-6"
- sodipodi:nodetypes="ccccccccccc" /><path
- style="fill:none;fill-opacity:1;stroke:#050505;stroke-width:0.264999;stroke-dasharray:none;stroke-opacity:1"
- d="M 12.448428,24.457422 Z"
- id="path12067" /><path
- style="fill:none;fill-opacity:1;stroke:#050505;stroke-width:0.264999;stroke-dasharray:none;stroke-opacity:1"
- d="M 12.448428,24.457422 Z"
- id="path12069" /><path
- style="fill:none;fill-opacity:1;stroke:#050505;stroke-width:0.264999;stroke-dasharray:none;stroke-opacity:1"
- d="M 13.229167,22.489583 Z"
- id="path12075" /><path
- style="fill:none;fill-opacity:1;stroke:#050505;stroke-width:0.264999;stroke-dasharray:none;stroke-opacity:1"
- d="M 12.448428,18.42287 Z"
- id="path12112" /><circle
- id="path8947"
- style="fill:#000000;stroke:#050505;stroke-width:0.264583"
- cx="5.0827761"
- cy="13.28168"
- r="0.0062398179" /><path
- style="fill:#51d1cb;fill-opacity:1;stroke:#000000;stroke-width:0.132;stroke-dasharray:none;stroke-opacity:1"
- d="m 19.376425,22.452116 1.631929,-0.859453 -2.918061,-2.013736 -2.918061,-2.013736 0.940335,6.605828 1.631929,-0.859451 0.761321,2.096398 2.485174,-1.308811 z"
- id="path5593-5"
- sodipodi:nodetypes="ccccccccc" /><path
- style="fill:#279a95;fill-opacity:1;stroke:#00100f;stroke-width:0.132;stroke-dasharray:none;stroke-opacity:1"
- d="m 21.185865,20.352059 1.631929,-0.859453 -2.918061,-2.013736 -2.918061,-2.013736 0.940335,6.605828 1.631929,-0.859451 0.761321,2.096398 2.485174,-1.308811 z"
- id="path5593-5-6"
- sodipodi:nodetypes="ccccccccc" /><path
- style="fill:#1a625f;fill-opacity:1;stroke:#000000;stroke-width:0.132;stroke-dasharray:none;stroke-opacity:1"
- d="m 23.030806,18.194971 1.631929,-0.859453 -2.918061,-2.013736 -2.918061,-2.013736 0.940335,6.605828 1.631929,-0.859451 0.761321,2.096398 2.485174,-1.308811 z"
- id="path5593-5-2"
- sodipodi:nodetypes="ccccccccc" /><g
- inkscape:groupmode="layer"
- id="layer5"
- inkscape:label="Layer 4" /></g></svg>
--
2.44.2

View File

@ -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
}