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