[arch-commits] Commit in startdde/trunk (PKGBUILD)

Felix Yan fyan at archlinux.org
Thu Dec 17 06:56:36 UTC 2015


    Date: Thursday, December 17, 2015 @ 07:56:36
  Author: fyan
Revision: 153524

upgpkg: startdde 2.92.2.20151217-1

Modified:
  startdde/trunk/PKGBUILD

----------+
 PKGBUILD |   27 +++++++++++++++++++--------
 1 file changed, 19 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-12-17 06:56:02 UTC (rev 153523)
+++ PKGBUILD	2015-12-17 06:56:36 UTC (rev 153524)
@@ -4,21 +4,22 @@
 # Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
 
 pkgname=startdde
-pkgver=2.92.2
-_commit=6ff8ddf7ece1551fab633d82a0e9a58b0f1cbd52
+pkgver=2.92.2.20151217
+_commit=63ad56eb0826365dc1629c028ceb66fff36d680b
 #_golibver=0.4.3
-_golibrev=902e89b94c9d657f523bcdabad399dc789dcf86e
+_golibrev=198ee129310023cc693ff79dfb5a0f2deb54f134
 #_deepinapiver=2.92.2
-_deepinapirev=32804cad060510fc0e61da2106dc5f14fcc8c56b
+_deepinapirev=e67977faf52aaf6c88b9faa71be9a88d574e4a45
 #_dbusfactoryver=2.92.2
-_dbusfactoryrev=bb43480b94f666f1eb4b139d7e9710e13ee5aee6
+_dbusfactoryrev=2141b28feabadb94c20721f8f7ee2a2d5d373227
+_girgeneratorrev=55cc72169a21e1e9a284926b9d4c0423c5a0afb1
 pkgrel=1
 pkgdesc="starter of deepin desktop environment"
 arch=('i686' 'x86_64')
 url="https://github.com/linuxdeepin/startdde"
 license=('GPL3')
-depends=('gcc-go' 'deepin-daemon' 'deepin-wm-switcher')
-makedepends=('cmake' 'coffee-script' 'deepin-dbus-generator' 'python2' 'webkitgtk' 'git')
+depends=('gcc-libs>=5.3.0-3' 'deepin-daemon' 'deepin-wm-switcher')
+makedepends=('cmake' 'coffee-script' 'deepin-dbus-generator' 'deepin-gir-generator' 'gcc-go' 'python2' 'webkitgtk' 'git')
 groups=('deepin')
 source=("git+https://github.com/linuxdeepin/startdde.git#commit=$_commit"
         #"git+https://github.com/linuxdeepin/go-lib.git#tag=$_golibver"
@@ -26,13 +27,18 @@
         #"git+https://github.com/linuxdeepin/dde-api.git#tag=$_deepinapiver"
         "git+https://github.com/linuxdeepin/dde-api.git#commit=$_deepinapirev"
         #"git+https://github.com/linuxdeepin/dbus-factory.git#tag=$_dbusfactoryver"
-        "git+https://github.com/linuxdeepin/dbus-factory.git#commit=$_dbusfactoryrev")
+        "git+https://github.com/linuxdeepin/dbus-factory.git#commit=$_dbusfactoryrev"
+        "git+https://github.com/linuxdeepin/go-gir-generator.git#commit=$_girgeneratorrev")
 sha256sums=('SKIP'
             'SKIP'
             'SKIP'
+            'SKIP'
             'SKIP')
 
 prepare() {
+  sed -i "s|\"\${GOLDFLAGS}\"|\"\${GOLDFLAGS} $CFLAGS $LDFLAGS\"|" startdde/Makefile
+  sed -i 's| generator$||' go-gir-generator/makefile
+
   export GOPATH="$srcdir/build"
   mkdir -p build/src/pkg.deepin.io/{lib,dde/api}
   cp -a go-lib/* build/src/pkg.deepin.io/lib
@@ -45,6 +51,11 @@
   cd "$srcdir/dbus-factory"
   make install-golang
 
+  cd "$srcdir/go-gir-generator"
+  make GENERATOR=gir-generator build
+  make copyfile
+  cp -r out/src/gir "$GOPATH/src"/
+
   cd "$srcdir/startdde"
   make USE_GCCGO=1
 }



More information about the arch-commits mailing list