Magellan Linux

Contents of /trunk/extras/x2goclient/x2goclient-4.1.2.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 31402 - (show annotations) (download)
Tue Jul 3 10:24:55 2018 UTC (5 years, 9 months ago) by niro
File size: 1247 byte(s)
-fixed UP2DATE
1 # $Id$
2
3 PNAME="x2goclient"
4 PVER="4.1.2.1"
5 PBUILD="r1"
6
7 PCAT="net-misc"
8
9 DESCRIPTION="Client application to launch server-side X2Go sessions."
10 HOMEPAGE="http://www.x2go.org"
11
12 DEPEND="${COMMON_DEPEND}
13 ${CLIENT_DEPEND}"
14
15
16 DEPEND=">= x11-libs/qt4-gui-4.8
17 >= x11-libs/qt4-svg-4.8
18 >= x11-libs/libXpm-3.5
19 >= net-libs/libssh-0.7
20 >= x11-apps/xauth-1
21 >= net-print/libcups-2.2
22 >= net-misc/nxcomp-${PVER}
23 >= net-misc/nxproxy-${PVER}
24 >= net-nds/libldap-2.4
25 >= x11-themes/hicolor-icon-theme-0.15"
26
27 SRCFILE="${PNAME}-${PVER}.tar.gz"
28 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
29
30 sminclude mtools xdg qt4
31
32 SRC_URI=(
33 https://code.x2go.org/releases/source/${PNAME}/${SRCFILE}
34 mirror://${PNAME}/${SRCFILE}
35 )
36
37 UP2DATE="updatecmd https://code.x2go.org/releases/source/x2goclient/ | highesttarball gz"
38
39 src_prepare()
40 {
41 munpack ${SRCFILE} || die
42 cd ${SRCDIR}
43
44 # fix broken Makefile
45 sed -i "s:-o root -g root ::g" Makefile || die
46
47 # be compat with our qt4
48 sed -i -e "s:lrelease-qt4:lrelease:g" -e "s:qmake-qt4:qmake:g" Makefile || die
49 }
50
51 src_compile()
52 {
53 cd ${SRCDIR}
54 mmake PREFIX=/usr || die
55 }
56
57 src_install()
58 {
59 cd ${SRCDIR}
60 mmake PREFIX=/usr DESTDIR=${BINDIR} install || die
61 minstalldocs AUTHORS ChangeLog COPYING* HOWTO* LICENSE README* VERSION || die
62 }