Magellan Linux

Contents of /smage/trunk/extras/rdesktop/rdesktop-1.9.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14356 - (show annotations) (download)
Thu Jul 9 09:45:01 2020 UTC (3 years, 10 months ago) by niro
File size: 1634 byte(s)
auto added: ver bump to 1.8.6-r1
1 # $Id$
2
3 PNAME="rdesktop"
4 PVER="1.9.0"
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 >= x11-libs/libXfixes-5
17 >= x11-libs/libXrandr-1
18 >= x11-libs/libXcursor-1
19 >= dev-libs/openssl-1.1
20 >= media-libs/libsamplerate-0.1.9
21 >= sys-apps/pcsc-lite-1.8"
22
23 SDEPEND=">= virtual/sed
24 >= x11-libs/libXt-1
25 >= x11-libs/libX11-dev-1.6
26 >= x11-libs/libXext-dev-1.3
27 >= x11-libs/libXau-dev-1
28 >= x11-libs/libXdmcp-dev-1
29 >= x11-libs/libXfixes-dev-5
30 >= x11-libs/libXrandr-dev-1
31 >= x11-libs/libXcursor-dev-1
32 >= dev-libs/openssl-dev-1.1
33 >= media-libs/libsamplerate-dev-0.1.9
34 >= sys-apps/pcsc-lite-dev-1.8"
35
36 SRCFILE="${PNAME}-${PVER}.tar.gz"
37 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
38
39 ALX_PKG_KEEP="usr/bin/rdesktop
40 usr/share/rdesktop/keymaps/common
41 usr/share/rdesktop/keymaps/modifiers
42 usr/share/rdesktop/keymaps/de"
43 sminclude mbuild alx-split
44
45 SRC_URI=(
46 https://github.com/${PNAME}/${PNAME}/releases/download/v${PVER}/${SRCFILE}
47 mirror://${PNAME}/${SRCFILE}
48 )
49
50 UP2SEPERATOR="v"
51 UP2EXCLUDE="rdesktop-"
52 UP2DATE="updatecmd https://github.com/${PNAME}/${PNAME}/releases | highesttarball gz"
53
54 src_prepare()
55 {
56 munpack ${SRCFILE} || die
57 cd ${SRCDIR}
58
59 cd ${SRCDIR}
60
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 }