summaryrefslogtreecommitdiffstats
path: root/net-misc/rdesktop
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-10-25 23:16:40 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-10-25 23:16:40 +0200
commitb6d14cb5db40c2c8f80450b9ac2288d71b49ad68 (patch)
treeb181bb0859681f93ec19f3d568e2c0dd23d18211 /net-misc/rdesktop
parentdd2aea324c07fe1bd13143bb37eff11117b6130a (diff)
downloaddarklin4-b6d14cb5db40c2c8f80450b9ac2288d71b49ad68.tar.gz
darklin4-b6d14cb5db40c2c8f80450b9ac2288d71b49ad68.tar.bz2
darklin4-b6d14cb5db40c2c8f80450b9ac2288d71b49ad68.tar.xz
darklin4-b6d14cb5db40c2c8f80450b9ac2288d71b49ad68.zip
Fix some old packages
Diffstat (limited to 'net-misc/rdesktop')
-rw-r--r--net-misc/rdesktop/Manifest2
-rw-r--r--net-misc/rdesktop/rdesktop-1.9.0.ebuild81
2 files changed, 83 insertions, 0 deletions
diff --git a/net-misc/rdesktop/Manifest b/net-misc/rdesktop/Manifest
index 8726967..62a1d1e 100644
--- a/net-misc/rdesktop/Manifest
+++ b/net-misc/rdesktop/Manifest
@@ -10,6 +10,8 @@ AUX rdesktop171-ds-xinerama.patch 5157 BLAKE2B c1d304a538e99cac4aa1daadf46e761d0
DIST rdesktop-1.6.0.tar.gz 284728 BLAKE2B 94234707c67667204575fd5119e091aa15aa00f8887ccefa6dad95d52c0f51a9f770941ad9c1c2916024a8169d3575ffb9a4a247f07c0008407d86de24f76277 SHA512 ba7dcdeabdb85ce93b66e1a71d6c3aea7df244d9ed288aee79ea63680de2384ea313772eed2c6b861c53dd1564c8f8c6d6c5baf798fe9c405f3a17cf4f1b0756
DIST rdesktop-1.7.1.tar.gz 298808 BLAKE2B 5fd1352fd190f11cfae9e95b9ee1f8cba30f37bd26d3484c1fa9b5af43f94e9e0e4713c2d98c979add8cdf0998b20e21e76b6de216c954f349cdfacf26516f03 SHA512 aaefbcda77a333ec065e42aa20e5335e48c51858dab860495528b399696c0ed6594ab9c5234716682e7ebef81d36cc6d157eedae700e0df209da9034d04887fc
DIST rdesktop-1.8.3.tar.gz 320212 BLAKE2B daca0b78a8fcd0461f1c3251135bd980aaafacf8e0cd51ab731b576adb23006ec9f51858586e7e3a1a7f192b7830308e585984b4a31fb013748f8c6b3a8c47bb SHA512 06b94ad3b09430b05e424ef31a3e6f2388190b4920e348603cb66a414244896e0dc8906b9f12920e9406cf153ffa7f6507b23bf6713c3a675c0540a8ef57902d
+DIST rdesktop-1.9.0.tar.gz 368980 BLAKE2B c3545e1c0f8ff04adeb8f36e24684a0719a4d4bb0176491a1826b3c5c2976a96d96d773280ca5b27b936aa5f79957e7faec77be996048115d8f8c0a3f0cc0d6d SHA512 e101147b496ae70118c2756bf120007d4748aad9d9917d9ebc0878ffaf35764500861c548ef0528722777555c78e1d3d146b6f3691daa2b8657b0d3a541094f5
EBUILD rdesktop-1.6.0-r2.ebuild 1954 BLAKE2B ab7b5fd6c2fb747d1b38c76bbb2bd3a88316619be97412f215c0b9a20205d7f5f57e6cc8a32460bfba5321665dc69f3bc64e11ab4086982db73732770f273707 SHA512 703d971ed4b02dde176d4bd4d23816f88cd09bd0d0d99463ffa7d6fe1c0f83b7ccb9716c6000657aa2b62b8dee69cba96ec931cc09339d66f8ea94961172faa1
EBUILD rdesktop-1.7.1-r1.ebuild 2402 BLAKE2B 8b8edc1ea4ef2d9f4a2139e901ee6fbf4aaca8e5eeeeae5f1311257322a05081552e13670b8c06ce0e82b22c9f68a524b575d80c283c80c1e24f8191f3d7a191 SHA512 8c6731a4013a88a2fc1a16d7e5a68991cb0704854337488899ddc3e55e01a23e2b018cb6b0bc2fe69bb8e970e8adb0e98e0f204b2e56ea0d9ddd493b4291639b
EBUILD rdesktop-1.8.3-r3.ebuild 1995 BLAKE2B 3be063e6b53de616c8f6b78892df3370242c23f0cc7b83fefab94c8b429c15afd378e0f1d70f12b86761ac2a2991d46e5fd4e6035d6ff61b6dc35ef2c2d731bd SHA512 d51758b3c53e163b0b9aa0b75e087de543a442a6136b96e2ab4b50a53002172148004061314c05a6c18d360ace20feca0f88b10a3e29ad8953133b5443dc93af
+EBUILD rdesktop-1.9.0.ebuild 2003 BLAKE2B a426fd444815129abbe6de703f6e1dd97314863d1ff00998c74ba76dde3332f30f6d14cf9242973a30cee92473cf87c3117a7aefd1247aa965e82e684b60c70a SHA512 7a412105cb7f4678b436a2c96e2c46ed9e9f55a3c5a0748496e9d8efef8be52f271a2d86015d677ff2dcd5f4334f9d6e99a2915a70b7dd89b6cc51e8566d7f31
diff --git a/net-misc/rdesktop/rdesktop-1.9.0.ebuild b/net-misc/rdesktop/rdesktop-1.9.0.ebuild
new file mode 100644
index 0000000..140cc89
--- /dev/null
+++ b/net-misc/rdesktop/rdesktop-1.9.0.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils
+
+MY_PV=${PV/_/-}
+
+DESCRIPTION="A Remote Desktop Protocol Client"
+HOMEPAGE="http://rdesktop.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
+IUSE="alsa ao debug ipv6 kerberos libressl libsamplerate oss pcsc-lite xrandr"
+
+S=${WORKDIR}/${PN}-${MY_PV}
+
+RDEPEND="
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:= )
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXau
+ x11-libs/libXdmcp
+ alsa? ( media-libs/alsa-lib )
+ ao? ( >=media-libs/libao-0.8.6 )
+ kerberos? ( net-libs/libgssglue )
+ libsamplerate? ( media-libs/libsamplerate )
+ pcsc-lite? ( >=sys-apps/pcsc-lite-1.6.6 )
+ xrandr? ( x11-libs/libXrandr )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ x11-libs/libXt"
+
+src_prepare() {
+ # Prevent automatic stripping
+ local strip="$(echo '$(STRIP) $(DESTDIR)$(bindir)/rdesktop')"
+ sed -i -e "s:${strip}::" Makefile.in \
+ || die "sed failed in Makefile.in"
+
+ # Automagic dependencies
+ epatch "${FILESDIR}"/${PN}-1.6.0-sound_configure.patch
+ epatch "${FILESDIR}"/${PN}-1.8.3-xrandr_configure.patch
+
+#SDS
+# epatch "${FILESDIR}"/rdesktop171-ds-xinerama.patch
+#EDS
+
+ epatch_user
+
+ eautoreconf
+}
+
+src_configure() {
+ if use ao; then
+ sound_conf=$(use_with ao sound libao)
+ else if use alsa; then
+ sound_conf=$(use_with alsa sound alsa)
+ else
+ sound_conf=$(use_with oss sound oss)
+ fi
+ fi
+
+ econf \
+ --with-openssl="${EPREFIX}"/usr \
+ $(use_with debug) \
+ $(use_with ipv6) \
+ $(use_with libsamplerate) \
+ $(use_with xrandr) \
+ $(use_enable kerberos credssp) \
+ $(use_enable pcsc-lite smartcard) \
+ ${sound_conf}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc doc/HACKING doc/TODO doc/keymapping.txt
+}