Contents of /smage/trunk/extras/rdesktop/rdesktop-1.9.0-r1.smage2
Parent Directory | Revision Log
Revision 14401 -
(show annotations)
(download)
Fri Jul 10 09:39:03 2020 UTC (4 years, 2 months ago) by niro
File size: 1702 byte(s)
Fri Jul 10 09:39:03 2020 UTC (4 years, 2 months ago) by niro
File size: 1702 byte(s)
-disabled
1 | # $Id$ |
2 | |
3 | PNAME="rdesktop" |
4 | PVER="1.9.0" |
5 | PBUILD="r1" |
6 | |
7 | STATE="disabled" |
8 | PCAT="net-misc" |
9 | |
10 | DESCRIPTION="A remote desktop protocol client for RDP 4/5." |
11 | HOMEPAGE="http://rdesktop.sourceforge.net/" |
12 | |
13 | DEPEND=">= x11-libs/libX11-1.6 |
14 | >= x11-libs/libXext-1.3 |
15 | >= x11-libs/libXau-1 |
16 | >= x11-libs/libXdmcp-1 |
17 | >= x11-libs/libXfixes-5 |
18 | >= x11-libs/libXrandr-1 |
19 | >= x11-libs/libXcursor-1 |
20 | >= dev-libs/openssl-1.1 |
21 | >= media-libs/libsamplerate-0.1.9 |
22 | >= sys-apps/pcsc-lite-1.8" |
23 | |
24 | SDEPEND=">= virtual/sed |
25 | >= x11-libs/libXt-1 |
26 | >= x11-libs/libX11-dev-1.6 |
27 | >= x11-libs/libXext-dev-1.3 |
28 | >= x11-libs/libXau-dev-1 |
29 | >= x11-libs/libXdmcp-dev-1 |
30 | >= x11-libs/libXfixes-dev-5 |
31 | >= x11-libs/libXrandr-dev-1 |
32 | >= x11-libs/libXcursor-dev-1 |
33 | >= dev-libs/openssl-dev-1.1 |
34 | >= media-libs/libsamplerate-dev-0.1.9 |
35 | >= sys-apps/pcsc-lite-dev-1.8" |
36 | |
37 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
38 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
39 | |
40 | ALX_PKG_KEEP="usr/bin/rdesktop |
41 | usr/share/rdesktop/keymaps/common |
42 | usr/share/rdesktop/keymaps/modifiers |
43 | usr/share/rdesktop/keymaps/de" |
44 | msetfeature "!check" # no check target in Makefile |
45 | sminclude mbuild alx-split |
46 | |
47 | SRC_URI=( |
48 | https://github.com/${PNAME}/${PNAME}/releases/download/v${PVER}/${SRCFILE} |
49 | mirror://${PNAME}/${SRCFILE} |
50 | ) |
51 | |
52 | UP2SEPERATOR="v" |
53 | UP2EXCLUDE="rdesktop-" |
54 | UP2DATE="updatecmd https://github.com/${PNAME}/${PNAME}/releases | highesttarball gz" |
55 | |
56 | src_prepare() |
57 | { |
58 | munpack ${SRCFILE} || die |
59 | cd ${SRCDIR} |
60 | |
61 | cd ${SRCDIR} |
62 | |
63 | # force use of our CFLAGS |
64 | sed -i -e '/-O2/c\' -e 'cflags="$cflags ${CFLAGS}"' configure || die |
65 | } |
66 | |
67 | src_compile() |
68 | { |
69 | cd ${SRCDIR} |
70 | |
71 | mconfigure \ |
72 | --with-openssl=/usr \ |
73 | --with-sound \ |
74 | --without-debug \ |
75 | --with-ipv6 \ |
76 | --disable-credssp \ |
77 | --enable-smartcard \ |
78 | || die |
79 | |
80 | mmake || die |
81 | } |