[arch-commits] Commit in deepin-api/repos (4 files)
Felix Yan
felixonmars at archlinux.org
Fri Oct 28 05:53:12 UTC 2016
Date: Friday, October 28, 2016 @ 05:53:11
Author: felixonmars
Revision: 193863
archrelease: copy trunk to community-i686, community-x86_64
Added:
deepin-api/repos/community-i686/PKGBUILD
(from rev 193862, deepin-api/trunk/PKGBUILD)
deepin-api/repos/community-x86_64/PKGBUILD
(from rev 193862, deepin-api/trunk/PKGBUILD)
Deleted:
deepin-api/repos/community-i686/PKGBUILD
deepin-api/repos/community-x86_64/PKGBUILD
---------------------------+
/PKGBUILD | 78 ++++++++++++++++++++++++++++++++++++++++++++
community-i686/PKGBUILD | 60 ---------------------------------
community-x86_64/PKGBUILD | 60 ---------------------------------
3 files changed, 78 insertions(+), 120 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2016-10-28 05:52:47 UTC (rev 193862)
+++ community-i686/PKGBUILD 2016-10-28 05:53:11 UTC (rev 193863)
@@ -1,60 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
-# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
-
-pkgname=deepin-api
-pkgver=3.0.14
-_golibver=0.5.1
-_dbusfactoryver=3.0.6
-_girgeneratorver=0.9.6
-pkgrel=3
-pkgdesc='Go-lang bingdings for dde-daemon'
-arch=('i686' 'x86_64')
-url="https://gitcafe.com/Deepin/dde-api"
-license=('GPL3')
-depends=('glib2' 'gdk-pixbuf2' 'gtk3' 'libcanberra-pulse' 'libxi' 'libxfixes' 'rfkill' 'poppler-glib' 'deepin-metacity' 'xcur2png' 'blur-effect') # 'gcc-libs>=5.3.0-3')
-makedepends=('git' 'deepin-dbus-generator' 'deepin-gir-generator' 'bzr' 'go') # 'gcc-go')
-conflicts=('dde-api')
-replaces=('dde-api')
-groups=('deepin')
-source=("git+https://cr.deepin.io/dde/dde-api.git#tag=$pkgver"
- "git+https://cr.deepin.io/go-lib.git#tag=$_golibver"
- "git+https://cr.deepin.io/dbus-factory.git#tag=$_dbusfactoryver"
- "git+https://cr.deepin.io/go-gir-generator.git#tag=$_girgeneratorver")
-sha256sums=('SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP')
-
-prepare() {
- sed -i "s|\"\${LDFLAGS}\"|\"\${LDFLAGS} $CFLAGS $LDFLAGS\"|" dde-api/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
- cp -a dde-api/* build/src/pkg.deepin.io/dde/api/
-
- cd "$srcdir/dde-api"
- make build-dep
- go get gopkg.in/alecthomas/kingpin.v2
-}
-
-build(){
- 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/dde-api"
- make # USE_GCCGO=1
-}
-
-package() {
- cd dde-api
- make DESTDIR="${pkgdir}" SYSTEMD_LIB_DIR=/usr/lib install-binary
-}
Copied: deepin-api/repos/community-i686/PKGBUILD (from rev 193862, deepin-api/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-10-28 05:53:11 UTC (rev 193863)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=deepin-api
+pkgver=3.0.14
+pkgrel=4
+pkgdesc='Go-lang bingdings for dde-daemon'
+arch=('i686' 'x86_64')
+url="https://gitcafe.com/Deepin/dde-api"
+license=('GPL3')
+depends=('glib2' 'gdk-pixbuf2' 'gtk3' 'libcanberra-pulse' 'libxi' 'libxfixes' 'rfkill' 'poppler-glib' 'deepin-metacity' 'xcur2png' 'blur-effect') # 'gcc-libs>=5.3.0-3')
+makedepends=('git' 'deepin-dbus-factory' 'deepin-gir-generator' 'deepin-go-lib' 'bzr' 'go') # 'gcc-go')
+conflicts=('dde-api')
+replaces=('dde-api')
+groups=('deepin')
+source=("git+https://cr.deepin.io/dde/dde-api.git#tag=$pkgver")
+sha256sums=('SKIP')
+
+prepare() {
+ export GOPATH="$srcdir/build:/usr/share/gocode"
+ mkdir -p build/src/pkg.deepin.io/dde/api
+ cp -a dde-api/* build/src/pkg.deepin.io/dde/api/
+
+ cd "$srcdir/dde-api"
+ make build-dep
+ go get gopkg.in/alecthomas/kingpin.v2
+}
+
+build(){
+ cd "$srcdir/dde-api"
+ make # USE_GCCGO=1
+}
+
+package() {
+ cd dde-api
+ make DESTDIR="$pkgdir" SYSTEMD_LIB_DIR=/usr/lib install
+}
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2016-10-28 05:52:47 UTC (rev 193862)
+++ community-x86_64/PKGBUILD 2016-10-28 05:53:11 UTC (rev 193863)
@@ -1,60 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
-# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
-
-pkgname=deepin-api
-pkgver=3.0.14
-_golibver=0.5.1
-_dbusfactoryver=3.0.6
-_girgeneratorver=0.9.6
-pkgrel=3
-pkgdesc='Go-lang bingdings for dde-daemon'
-arch=('i686' 'x86_64')
-url="https://gitcafe.com/Deepin/dde-api"
-license=('GPL3')
-depends=('glib2' 'gdk-pixbuf2' 'gtk3' 'libcanberra-pulse' 'libxi' 'libxfixes' 'rfkill' 'poppler-glib' 'deepin-metacity' 'xcur2png' 'blur-effect') # 'gcc-libs>=5.3.0-3')
-makedepends=('git' 'deepin-dbus-generator' 'deepin-gir-generator' 'bzr' 'go') # 'gcc-go')
-conflicts=('dde-api')
-replaces=('dde-api')
-groups=('deepin')
-source=("git+https://cr.deepin.io/dde/dde-api.git#tag=$pkgver"
- "git+https://cr.deepin.io/go-lib.git#tag=$_golibver"
- "git+https://cr.deepin.io/dbus-factory.git#tag=$_dbusfactoryver"
- "git+https://cr.deepin.io/go-gir-generator.git#tag=$_girgeneratorver")
-sha256sums=('SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP')
-
-prepare() {
- sed -i "s|\"\${LDFLAGS}\"|\"\${LDFLAGS} $CFLAGS $LDFLAGS\"|" dde-api/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
- cp -a dde-api/* build/src/pkg.deepin.io/dde/api/
-
- cd "$srcdir/dde-api"
- make build-dep
- go get gopkg.in/alecthomas/kingpin.v2
-}
-
-build(){
- 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/dde-api"
- make # USE_GCCGO=1
-}
-
-package() {
- cd dde-api
- make DESTDIR="${pkgdir}" SYSTEMD_LIB_DIR=/usr/lib install-binary
-}
Copied: deepin-api/repos/community-x86_64/PKGBUILD (from rev 193862, deepin-api/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2016-10-28 05:53:11 UTC (rev 193863)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=deepin-api
+pkgver=3.0.14
+pkgrel=4
+pkgdesc='Go-lang bingdings for dde-daemon'
+arch=('i686' 'x86_64')
+url="https://gitcafe.com/Deepin/dde-api"
+license=('GPL3')
+depends=('glib2' 'gdk-pixbuf2' 'gtk3' 'libcanberra-pulse' 'libxi' 'libxfixes' 'rfkill' 'poppler-glib' 'deepin-metacity' 'xcur2png' 'blur-effect') # 'gcc-libs>=5.3.0-3')
+makedepends=('git' 'deepin-dbus-factory' 'deepin-gir-generator' 'deepin-go-lib' 'bzr' 'go') # 'gcc-go')
+conflicts=('dde-api')
+replaces=('dde-api')
+groups=('deepin')
+source=("git+https://cr.deepin.io/dde/dde-api.git#tag=$pkgver")
+sha256sums=('SKIP')
+
+prepare() {
+ export GOPATH="$srcdir/build:/usr/share/gocode"
+ mkdir -p build/src/pkg.deepin.io/dde/api
+ cp -a dde-api/* build/src/pkg.deepin.io/dde/api/
+
+ cd "$srcdir/dde-api"
+ make build-dep
+ go get gopkg.in/alecthomas/kingpin.v2
+}
+
+build(){
+ cd "$srcdir/dde-api"
+ make # USE_GCCGO=1
+}
+
+package() {
+ cd dde-api
+ make DESTDIR="$pkgdir" SYSTEMD_LIB_DIR=/usr/lib install
+}
More information about the arch-commits
mailing list