This commit is contained in:
Mario Fetka
2020-01-23 11:57:54 +01:00
parent b9d3a6e55f
commit f3987e65cf
42 changed files with 2315 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
DIST RASClient-15.5.16465_i386.tar.bz2 14857037 BLAKE2B c54e82bd88fa76e30d7cce1248940e17b36542f1688375ba1a312b4ab4509c8e3361bfef9160ae01257f1fda942003391661c678631825e92eb6c0aff3e872cc SHA512 d14e8a2b87bab1010642e73dd6ff56319e909b9074b197446db3376bd14390ceb96b8f9bf040b8724a7e92babc4b60d9560d28d6eed59f7364ec82c10f04bfe3
EBUILD rasclient-15.5.4.16465.ebuild 2335 BLAKE2B bfef07e89c3fc1bfa3a71e9095b7bc21e7729630e873f2eaa72959050d62a926b03fec28a952e278598a4a62aee6920a2f28b0bdd441617c515488ff2d3e097f SHA512 5ba9a3115cd67c64e5bcc005eae7e253a5dac6d3114ee5ab98b28df97713bb8d066e227c000f5a38120725f61b620f013b1dd62de9f772233bf13bf8bb55e1f5

View File

@@ -0,0 +1,85 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit pax-utils xdg-utils versionator desktop multilib
PV_MAJ=$(get_major_version )
PV_MIN=$(get_version_component_range 2)
PV_SUB=$(get_version_component_range 3)
PV_DIF=$(get_version_component_range 4)
MY_PV="${PV_MAJ}.${PV_MIN}.${PV_DIF}"
DESCRIPTION="Parallels Remote Application Client"
HOMEPAGE="https://www.parallels.com/eu/products/ras/download/links/#lin"
SRC_URI="x86? ( http://download.parallels.com/ras/v${PV_MAJ}/${PV}/RASClient-${MY_PV}_i386.tar.bz2 )"
SRC_URI="amd64? ( http://download.parallels.com/ras/v${PV_MAJ}/${PV}/RASClient-${MY_PV}_i386.tar.bz2 )"
LICENSE="no-source-code"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="pax_kernel multilib"
S="${WORKDIR}"
RESTRICT="mirror bindist strip" #299368
RDEPEND="
media-libs/libpng:1.2
dev-qt/qtdbus:4
dev-qt/qtcore:4"
pkg_setup() {
# This is a binary x86 package => ABI=x86
# Please keep this in future versions
has_multilib_profile && ABI="x86"
}
src_install() {
into /opt/2X/Client/
dobin opt/2X/Client/bin/*
dolib.so opt/2X/Client/lib/*
ln -sf $(get_libdir) "${D}/opt/2X/Client/lib"
dodoc opt/2X/Client/doc/*
doicon opt/2X/Client/share/2X.png
domenu opt/2X/Client/share/rasclient.desktop
domenu opt/2X/Client/share/tuxclient.desktop
domenu opt/2X/Client/share/rassession.desktop
insinto /usr/share/mime-info
doins opt/2X/Client/share/mime/*.{keys,mime}
insinto /usr/share/application-registry
doins opt/2X/Client/share/mime/2XSession.applications
insinto /usr/share/mime/packages/
doins opt/2X/Client/share/sharedmimeinfo/2XClient.xml
insinto /opt/2X/Client/share
doins opt/2X/Client/share/*.{conf,qm,qss,pem}
doins opt/2X/Client/share/installed
# if use pax_kernel; then
# pax-mark -Cm "${ED%/}"/opt/skypeforlinux/skypeforlinux
# eqawarn "You have set USE=pax_kernel meaning that you intend to run"
# eqawarn "${PN} under a PaX enabled kernel. To do so, we must modify"
# eqawarn "the ${PN} binary itself and this *may* lead to breakage! If"
# eqawarn "you suspect that ${PN} is being broken by this modification,"
# eqawarn "please open a bug."
# fi
}
pkg_postinst() {
xdg_desktop_database_update
xdg_mimeinfo_database_update
}
pkg_postrm() {
xdg_desktop_database_update
xdg_mimeinfo_database_update
}