2024-01-24 22:46:12 +01:00
|
|
|
# Copyright 1999-2022 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=8
|
|
|
|
|
|
|
|
inherit desktop unpacker xdg
|
|
|
|
|
|
|
|
DESCRIPTION="Your entire server infrastructure at your fingertips"
|
|
|
|
HOMEPAGE="https://xpipe.io/"
|
2024-01-24 23:08:23 +01:00
|
|
|
#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"
|
2024-01-24 22:46:12 +01:00
|
|
|
|
|
|
|
LICENSE="Apache-2.0"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="-* ~amd64"
|
|
|
|
RESTRICT="bindist mirror splitdebug test"
|
|
|
|
#IUSE="swiftshader system-ffmpeg"
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
QA_PREBUILT="*"
|
|
|
|
|
|
|
|
RDEPEND="
|
|
|
|
"
|
|
|
|
|
|
|
|
S="${WORKDIR}"
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
|
2024-01-24 23:08:23 +01:00
|
|
|
insinto /opt/${PN}
|
|
|
|
doins -r xpipe-${PV}/*
|
|
|
|
|
|
|
|
dosym ../../opt/xpipe/cli/xpipe usr/bin/xpipe
|
|
|
|
|
|
|
|
dosym ../../opt/xpipe/xpipe_completion etc/bash_completion.d/xpipe
|
2024-01-24 22:46:12 +01:00
|
|
|
|
2024-01-24 23:08:23 +01:00
|
|
|
domenu ${FILESDIR}/${PN}.desktop
|
2024-01-24 22:46:12 +01:00
|
|
|
|
2024-01-24 23:08:23 +01:00
|
|
|
doman xpipe-${PV}/cli/man/*
|
2024-01-24 22:46:12 +01:00
|
|
|
|
|
|
|
}
|
2024-01-24 22:50:03 +01:00
|
|
|
|
|
|
|
pkg_preinst() {
|
|
|
|
xdg_pkg_preinst
|
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postinst() {
|
|
|
|
xdg_pkg_postinst
|
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postrm() {
|
|
|
|
xdg_pkg_postrm
|
|
|
|
}
|