Magellan Linux

Diff of /trunk/extras/tigervnc/tigervnc-1.7.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 29078 by niro, Tue May 16 07:49:48 2017 UTC revision 29079 by niro, Mon May 22 12:09:43 2017 UTC
# Line 4  PNAME="tigervnc" Line 4  PNAME="tigervnc"
4  PVER="1.7.1"  PVER="1.7.1"
5  PBUILD="r1"  PBUILD="r1"
6    
7  SPLIT_PACKAGES="tigervnc-common tigervnc-server tigervnc-xserver-module tigervnc-server-applet tigervnc"  # enable java=1, disable java=0
8    ENABLE_JAVA_APPLET=0
9    
10    SPLIT_PACKAGES="tigervnc-common tigervnc-server tigervnc-xserver-module"
11    if [[ ${ENABLE_JAVA_APPLET} = 1 ]]
12    then
13     SPLIT_PACKAGES+=" tigervnc-server-applet"
14    fi
15    SPLIT_PACKAGES+=" tigervnc"
16    
17  PCAT="net-misc"  PCAT="net-misc"
18  HOMEPAGE="http://www.tigervnc.com/"  HOMEPAGE="http://www.tigervnc.com/"
# Line 46  MODULE_DEPEND=">= virtual/X-ABI-EXTENSIO Line 54  MODULE_DEPEND=">= virtual/X-ABI-EXTENSIO
54   >= virtual/X-ABI-VIDEODRV-23   >= virtual/X-ABI-VIDEODRV-23
55   >= virtual/X-ABI-XINPUT-24.1"   >= virtual/X-ABI-XINPUT-24.1"
56    
57  APPLET_DEPEND=">= virtual/java"  if [[ ${ENABLE_JAVA_APPLET} = 1 ]]
58    then
59     APPLET_DEPEND=">= virtual/java"
60    else
61     APPLET_DEPEND=""
62    fi
63    
64  SDEPEND="${COMMON_DEPEND}  SDEPEND="${COMMON_DEPEND}
65   ${COMMON_FONTS_DEPEND}   ${COMMON_FONTS_DEPEND}
# Line 119  split_info_tigervnc() Line 132  split_info_tigervnc()
132   DESCRIPTION="TigerVNC is a suite of VNC servers and clients that have a focus on performance and remote display functionality."   DESCRIPTION="TigerVNC is a suite of VNC servers and clients that have a focus on performance and remote display functionality."
133   DEPEND="== net-misc/tigervnc-common-${PVER}   DEPEND="== net-misc/tigervnc-common-${PVER}
134   == net-misc/tigervnc-server-${PVER}   == net-misc/tigervnc-server-${PVER}
135   == net-misc/tigervnc-xserver-module-${PVER}   == net-misc/tigervnc-xserver-module-${PVER}"
136   == net-misc/tigervnc-server-applet-${PVER}"   if [[ ${ENABLE_JAVA_APPLET} = 1 ]]
137     then
138     DEPEND="${DEPEND}
139     == net-misc/tigervnc-server-applet-${PVER}"
140     fi
141    
142   PKGTYPE="virtual"   PKGTYPE="virtual"
143    
# Line 217  src_compile() Line 234  src_compile()
234   cd ${SRCDIR}/media   cd ${SRCDIR}/media
235   mmake -j1 || die   mmake -j1 || die
236    
237   # build the java applet   if [[ ${ENABLE_JAVA_APPLET} = 1 ]]
238   cd ${SRCDIR}/java   then
239     # build the java applet
240   # cmake_configure does not work because of LIBDIR definition   cd ${SRCDIR}/java
241   cmake \  
242   -DCMAKE_VERBOSE_MAKEFILE=ON \   # cmake_configure does not work because of LIBDIR definition
243   -DCMAKE_BUILD_TYPE=Release \   cmake \
244   -DCMAKE_INSTALL_PREFIX=/usr \   -DCMAKE_VERBOSE_MAKEFILE=ON \
245   ${SRCDIR}/java \   -DCMAKE_BUILD_TYPE=Release \
246   || die   -DCMAKE_INSTALL_PREFIX=/usr \
247     ${SRCDIR}/java \
248     || die
249    
250   mmake -j1 || die   mmake -j1 || die
251     fi
252  }  }
253    
254  src_install_tigervnc-common()  src_install_tigervnc-common()

Legend:
Removed from v.29078  
changed lines
  Added in v.29079