This commit is contained in:
Mario Fetka
2024-06-18 10:44:56 +02:00
parent 6a37474503
commit 20ef8b5c88
95 changed files with 4227 additions and 99 deletions

View File

@@ -0,0 +1,2 @@
DIST RemoteBox-3.2.tar.bz2 1037529 BLAKE2B ac8062a71aa89b602f2a71c31266436265f6c638ac8f23e01bea3e77e3d753e075ae1e8d6af37d0b8a12b1fc9867add9b41ea610c9b282d64b0f6fe1ecad2a36 SHA512 efcf955671a6fca49dc508531a4186618a4ed2bece2ee7b8b91c8633ae1915e7d3474529b65e95f93ca1514f96542fd00d9b04d2692789fa6234890d87cb3cf0
EBUILD remotebox-3.2.ebuild 1621 BLAKE2B 059fa7973c95cdd89ed90b77f9de35e56703cf51b1720b0f1f96898c4569791e5c70c8d0082edba57b057712f365e267998c0b8e63b6d6b54c965adaa73e446f SHA512 3cc5e24a303068f09e9f948e0fb1b947a398ca195983e429d39f8380358538ba12f6faa01ce6cf8516d3a8d061f4e4e7c82a43b8b935d6df4b08286df6f2755f

View File

@@ -0,0 +1,66 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
#inherit eutils
DESCRIPTION="Open Source VirtualBox Client with Remote Management"
HOMEPAGE="http://remotebox.knobgoblin.org.uk/"
MY_P="RemoteBox-${PV}"
SRC_URI="http://remotebox.knobgoblin.org.uk/downloads/${MY_P}.tar.bz2"
S="${WORKDIR}/${MY_P}"
LICENSE="GPL-2"
SLOT="0/5.1"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=">=dev-lang/perl-5.10
x11-libs/gtk+:3
dev-perl/SOAP-Lite
dev-perl/libwww-perl
dev-perl/Gtk3
x11-misc/xdg-utils"
RDEPEND="${DEPEND}
net-misc/freerdp
net-misc/tigervnc"
src_prepare() {
# Call default handler
default
# Change paths
sed -i -e "s|^\(use lib \"\).*\(\";\)$|\1/usr/share/remotebox\2|" remotebox || die
sed -i -e "s|^\(our \$sharedir = \"\).*\(\";\)$|\1/usr/share/remotebox\2|" remotebox || die
sed -i -e "s|^\(our \$docdir\) \( = \"\).*\(\";\)$|\1\2/usr/share/doc/${P}\3|" remotebox || die
# Cleanup comments
sed -i -e "/^# \^\^\^.*$/d" remotebox || die
sed -i -e "/^# \*\*\*.*$/d" remotebox || die
}
src_install() {
# Install executable
dobin remotebox || die
# Install resources
insinto /usr && doins -r share || die
# Install documents
# dodoc docs/COPYING docs/changelog.txt docs/remotebox.pdf || die
# Install .desktop file
domenu packagers-readme/remotebox.desktop || die
# Install application icon
doicon share/remotebox/icons/remotebox.png || die
}
pkg_postinst() {
elog "This version of RemoteBox requires VirtualBox 7.x running on the server"
elog "For details, refer to http://remotebox.knobgoblin.org.uk/documentation.cgi"
}