Magellan Linux

Contents of /branches/R11-unstable/extras/x2goclient/x2goclient-4.1.2.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32369 - (show annotations) (download)
Mon Apr 29 12:22:22 2019 UTC (5 years ago) by niro
File size: 1201 byte(s)
-release branches/R11-unstable
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=">= x11-libs/qt4-gui-4.8
13 >= x11-libs/qt4-svg-4.8
14 >= x11-libs/libXpm-3.5
15 >= net-libs/libssh-0.7
16 >= x11-apps/xauth-1
17 >= net-print/libcups-2.2
18 >= net-misc/nxcomp-${PVER}
19 >= net-misc/nxproxy-${PVER}
20 >= net-nds/libldap-2.4
21 >= x11-themes/hicolor-icon-theme-0.15"
22
23 SRCFILE="${PNAME}-${PVER}.tar.gz"
24 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
25
26 sminclude mtools xdg qt4
27
28 SRC_URI=(
29 https://code.x2go.org/releases/source/${PNAME}/${SRCFILE}
30 mirror://${PNAME}/${SRCFILE}
31 )
32
33 UP2DATE="updatecmd https://code.x2go.org/releases/source/x2goclient/ | highesttarball gz"
34
35 src_prepare()
36 {
37 munpack ${SRCFILE} || die
38 cd ${SRCDIR}
39
40 # fix broken Makefile
41 sed -i "s:-o root -g root ::g" Makefile || die
42
43 # be compat with our qt4
44 sed -i -e "s:lrelease-qt4:lrelease:g" -e "s:qmake-qt4:qmake:g" Makefile || die
45 }
46
47 src_compile()
48 {
49 cd ${SRCDIR}
50 mmake PREFIX=/usr || die
51 }
52
53 src_install()
54 {
55 cd ${SRCDIR}
56 mmake PREFIX=/usr DESTDIR=${BINDIR} install || die
57 minstalldocs AUTHORS ChangeLog COPYING* HOWTO* LICENSE README* VERSION || die
58 }