Date: Monday, September 19, 2016 @ 21:20:05
  Author: andyrtr
Revision: 276723

prepare qt5 port

Modified:
  x2goclient/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2016-09-19 20:32:38 UTC (rev 276722)
+++ PKGBUILD    2016-09-19 21:20:05 UTC (rev 276723)
@@ -6,11 +6,14 @@
 pkgbase=x2goclient
 pkgname=('x2goclient' 'x2goplugin' 'x2goplugin-provider')
 pkgver=4.0.5.2
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
 license=('GPL2')
 url="http://www.x2go.org";
-makedepends=('qt4' 'libldap' 'libcups' 'nxproxy' 'libssh' 'libxpm' 'man2html' 
'hicolor-icon-theme' 'xdg-utils' 'xorg-xauth')
+makedepends=('qt4'
+             #'qt5-x11extras' 'qt5-tools' 'qt5-svg' 'phonon-qt5'
+             'libldap' 'libcups' 'nxproxy' 'libssh' 'libxpm' 
+             'man2html' 'hicolor-icon-theme' 'xdg-utils' 'xorg-xauth')
 
source=(http://code.x2go.org/releases/source/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.asc})
 sha256sums=('0d0adfd5c03cef42367a5894948ee804ae13ffb7ed30a608e7c54351addd1530'
           'SKIP')
@@ -20,6 +23,12 @@
 prepare() {
   cd ${pkgname}-${pkgver}
   sed -i "s:-o root -g root ::" Makefile
+  # Qt5 fixes
+#  sed -i "s:qmake-qt4:qmake-qt5:" Makefile
+#  sed -i "s:lrelease-qt4:lrelease-qt5:" Makefile
+#  sed -i "s/CONFIG += qaxserver//" x2goclient.pro # windows-only qt module
+#  sed -i "s:QX11EmbedContainer:QX11Info:g" 
src/{onmainwindow_privat.h,onmainwindow.cpp,onmainwindow.h} # still fails
+
 }
 
 build() {
@@ -29,10 +38,11 @@
 
   make PREFIX=/usr
   make PREFIX=/usr build_man # target broken and making the build hang
-
+  
 #  make PREFIX=/usr build_pluginprovider
 #  make PREFIX=/usr build_client 
 #  make PREFIX=/usr build_plugin
+
 }
 
 package_x2goclient() {

Reply via email to