Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 31401 - (hide annotations) (download)
Tue Jul 3 10:23:10 2018 UTC (5 years, 10 months ago) by niro
File size: 1250 byte(s)
-plugins were deprecated by upstream and removed from the sources
1 niro 31400 # $Id$
2    
3     PNAME="x2goclient"
4     PVER="4.1.2.1"
5     PBUILD="r1"
6    
7 niro 31401 PCAT="net-misc"
8 niro 31400
9 niro 31401 DESCRIPTION="Client application to launch server-side X2Go sessions."
10 niro 31400 HOMEPAGE="http://www.x2go.org"
11    
12 niro 31401 DEPEND="${COMMON_DEPEND}
13     ${CLIENT_DEPEND}"
14    
15    
16     DEPEND=">= x11-libs/qt4-gui-4.8
17 niro 31400 >= 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 niro 31401 >= net-misc/nxproxy-${PVER}
24     >= net-nds/libldap-2.4
25 niro 31400 >= 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 ${HOMEPAGE}/sources.php | grep nx-X11 | sed 's/.*nx-X11-\(.*\)-.*/\1/;q'"
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 niro 31401 src_install()
58 niro 31400 {
59     cd ${SRCDIR}
60 niro 31401 mmake PREFIX=/usr DESTDIR=${BINDIR} install || die
61 niro 31400 minstalldocs AUTHORS ChangeLog COPYING* HOWTO* LICENSE README* VERSION || die
62     }