2022-04-05 13:25:15 +02:00
|
|
|
# Copyright 1999-2022 Gentoo Authors
|
2021-06-30 18:45:43 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2023-07-20 20:28:34 +02:00
|
|
|
EAPI=8
|
2021-06-30 18:45:43 +02:00
|
|
|
|
2023-07-20 20:28:34 +02:00
|
|
|
inherit unpacker pam
|
2021-06-30 18:45:43 +02:00
|
|
|
|
|
|
|
DESCRIPTION="Remote DesktopManager"
|
|
|
|
HOMEPAGE="https://remotedesktopmanager.com"
|
|
|
|
|
2022-11-19 21:49:12 +01:00
|
|
|
#SRC_URI="https://cdn.devolutions.net/download/Linux/RDM/${PV}/RemoteDesktopManager.Free_${PV}_amd64.deb"
|
|
|
|
SRC_URI="https://cdn.devolutions.net/download/Linux/RDM/${PV}/RemoteDesktopManager_${PV}_amd64.deb"
|
2021-06-30 18:45:43 +02:00
|
|
|
|
2022-08-17 15:58:39 +02:00
|
|
|
LICENSE="Devolution"
|
2021-06-30 18:45:43 +02:00
|
|
|
|
|
|
|
SLOT="0"
|
|
|
|
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
RESTRICT="strip mirror test"
|
|
|
|
|
2021-07-01 13:56:41 +02:00
|
|
|
DEPEND="|| ( sys-devel/base-gcc sys-devel/gcc )
|
|
|
|
sys-apps/dbus
|
|
|
|
sys-apps/systemd
|
|
|
|
sys-libs/glibc
|
|
|
|
sys-libs/pam"
|
2021-06-30 18:45:43 +02:00
|
|
|
|
2021-07-01 13:56:41 +02:00
|
|
|
RDEPEND="${DEPEND}"
|
2021-06-30 18:45:43 +02:00
|
|
|
|
2021-07-01 13:56:41 +02:00
|
|
|
S=${WORKDIR}
|
2021-06-30 18:45:43 +02:00
|
|
|
|
|
|
|
src_unpack() {
|
|
|
|
unpack_deb ${A}
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
2022-11-19 21:49:12 +01:00
|
|
|
dodir /opt/devolutions/RemoteDesktopManager
|
|
|
|
cp -aR usr/lib/devolutions/RemoteDesktopManager/* "${D}/opt/devolutions/RemoteDesktopManager"
|
2021-06-30 18:45:43 +02:00
|
|
|
dodir /opt/bin
|
2022-11-19 21:49:12 +01:00
|
|
|
sed -e 's!usr/lib!opt!g' bin/remotedesktopmanager > "${D}/opt/bin/remotedesktopmanager"
|
|
|
|
chmod +x "${D}/opt/bin/remotedesktopmanager"
|
2021-06-30 18:45:43 +02:00
|
|
|
dodir /usr/share/applications
|
2022-11-19 21:49:12 +01:00
|
|
|
sed -e "s!usr/lib!opt!g" usr/share/applications/remotedesktopmanager.desktop > "${D}/usr/share/applications/remotedesktopmanager.desktop"
|
2021-06-30 18:45:43 +02:00
|
|
|
dodir /usr/share/icons
|
|
|
|
cp -aR usr/share/icons/* "${D}/usr/share/icons"
|
|
|
|
}
|