From 6efca6afa299d6e9f5f6444fbd77636c95494c5b Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Wed, 24 Jan 2024 23:08:23 +0100 Subject: [PATCH] change buildsystem --- dev-util/xpipe/Manifest | 5 +++-- dev-util/xpipe/files/xpipe.desktop | 13 +++++++++++++ dev-util/xpipe/xpipe-1.7.16.ebuild | 27 ++++++++++----------------- 3 files changed, 26 insertions(+), 19 deletions(-) create mode 100644 dev-util/xpipe/files/xpipe.desktop diff --git a/dev-util/xpipe/Manifest b/dev-util/xpipe/Manifest index dff00ef4..953e1d64 100644 --- a/dev-util/xpipe/Manifest +++ b/dev-util/xpipe/Manifest @@ -1,2 +1,3 @@ -DIST xpipe-installer-linux-1.7.16-x86_64.deb 154191036 BLAKE2B c17ac4264e202b46e793bd85b72b01b2b787fda4c815d913a4b224a88901b8e9742353bc54b6603bb8f82077ba8347c861b8f9a18133e3a5c9cd5e03d3895f69 SHA512 c03d02ce7795534960eb7556e8a2a9b9b4999c246cc05b0e46d596c40e018e970c5ca30731d729d5e510b9d992654e690ce7486faabf99627e5c49b6c9b64fb9 -EBUILD xpipe-1.7.16.ebuild 1235 BLAKE2B 139c151cc16e09dc1171405d07397007bf5a868bbac8b84e1d5d71e1f1ac15730be92d1219ca98d1e8d9a074cc0c48445725a6d0dd19776180b4043aa5da767e SHA512 2130079d5aa96aa45a0c368ebf994bbe8e2b73979f6c9bb020a3b0883f70014b1a1704bba90f89e670fd0765f2e9b611e6bdef92b1102402832d43d9e7712308 +AUX xpipe.desktop 378 BLAKE2B 80a81d82fe62749b726331374a151bde9a7852d224c3d368db2982b8adcc11ff2b576480645fb0ab2b92ee5aad0cfbf47cd33b31a32d2ca3ad762380e6415a3c SHA512 490ce0774fd3c852ed9f976177c4ddfed070110d21b6de50b8a28e865da6575570554bf25446a1c51900df34edd6bf16aa9d8a7d0b2458b0e49f5ee53488fe1f +DIST xpipe-portable-linux-1.7.16-x86_64.tar.gz 154180398 BLAKE2B 37317d118f0c7319165f04c00cff80d53aa25f843465ff889010a47735e1e2b3a8b088a3413711519f36b113e5a165e2c48efcc6cc48bbe85b97696d62f82fd2 SHA512 221dd792703bae1b9195e4812065969d5006e1673de132607f4394cfb97ffcbf958d35e7fb86e3fb9198ecbf60c7291351b47efe10bf328f267319ef697745f4 +EBUILD xpipe-1.7.16.ebuild 1088 BLAKE2B 2524cfcc646ffffb91dca6b33306e043e13f5b7529607d6708aad23f80b3a5040867d0cc5851984075d22adf96d105927844df4598a81c1b7090925f98c385fe SHA512 05c7b36a29c952ff4f9ff7cfe13e71201cf50ed6402ac8ab76b13f806ec373a7877063b8b463958051c0359350ce7de2073efa091f6c561d35495ea8da18d5c8 diff --git a/dev-util/xpipe/files/xpipe.desktop b/dev-util/xpipe/files/xpipe.desktop new file mode 100644 index 00000000..b8092dbc --- /dev/null +++ b/dev-util/xpipe/files/xpipe.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Type=Application +Name=XPipe +Comment=Your entire server infrastructure at your fingertips +TryExec=/opt/xpipe/app/bin/xpiped +Exec=/opt/xpipe/cli/bin/xpipe open %U +Path=/opt/xpipe/app +Icon=/opt/xpipe/app/lib/xpiped.png +Terminal=false +Categories=Utility;Development; +StartupNotify=true +StartupWMClass=io.xpipe.app.core.App +MimeType=x-scheme-handler/xpipe;x-scheme-handler/ssh diff --git a/dev-util/xpipe/xpipe-1.7.16.ebuild b/dev-util/xpipe/xpipe-1.7.16.ebuild index 2185a7ae..e1dc641a 100644 --- a/dev-util/xpipe/xpipe-1.7.16.ebuild +++ b/dev-util/xpipe/xpipe-1.7.16.ebuild @@ -7,8 +7,8 @@ inherit desktop unpacker xdg DESCRIPTION="Your entire server infrastructure at your fingertips" HOMEPAGE="https://xpipe.io/" -SRC_URI="https://github.com/${PN}-io/${PN}/releases/download/${PV}/${PN}-installer-linux-x86_64.deb -> ${PN}-installer-linux-${PV}-x86_64.deb" -#SRC_URI="https://github.com/${PN}-io/${PN}/releases/download/${PV}/${PN}-installer-linux-x86_64.tar.gz -> ${PN}-installer-linux-${PV}-x86_64.tar.gz" +#SRC_URI="https://github.com/${PN}-io/${PN}/releases/download/${PV}/${PN}-installer-linux-x86_64.deb -> ${PN}-installer-linux-${PV}-x86_64.deb" +SRC_URI="https://github.com/${PN}-io/${PN}/releases/download/${PV}/${PN}-portable-linux-x86_64.tar.gz -> ${PN}-portable-linux-${PV}-x86_64.tar.gz" LICENSE="Apache-2.0" SLOT="0" @@ -24,25 +24,18 @@ RDEPEND=" S="${WORKDIR}" -#src_prepare() { -# default -# sed -i '/OnlyShowIn=/d' usr/share/applications/${PN}.desktop || die -# sed -e "s@^TEAMS_PATH=.*@TEAMS_PATH=${EPREFIX}/opt/${PN}/${PN}@" \ -# -i usr/bin/${PN} || die -#} - src_install() { - insinto /opt - doins -r opt/${PN} - insinto /etc - doins -r etc/bash_completion.d - insinto /usr - doins -r usr/bin + insinto /opt/${PN} + doins -r xpipe-${PV}/* - domenu opt/${PN}/${PN}.desktop + dosym ../../opt/xpipe/cli/xpipe usr/bin/xpipe - doman usr/share/man/man1/* + dosym ../../opt/xpipe/xpipe_completion etc/bash_completion.d/xpipe + + domenu ${FILESDIR}/${PN}.desktop + + doman xpipe-${PV}/cli/man/* }