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

Felix Yan felixonmars at archlinux.org
Fri Mar 1 16:49:49 UTC 2019


    Date: Friday, March 1, 2019 @ 16:49:48
  Author: felixonmars
Revision: 437287

upgpkg: deepin-api 3.17.1-1

Modified:
  deepin-api/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-01 16:34:22 UTC (rev 437286)
+++ PKGBUILD	2019-03-01 16:49:48 UTC (rev 437287)
@@ -3,7 +3,7 @@
 # Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
 
 pkgname=deepin-api
-pkgver=3.17.0
+pkgver=3.17.1
 pkgrel=1
 pkgdesc='Golang bindings for dde-daemon'
 arch=('x86_64')
@@ -11,14 +11,14 @@
 license=('GPL3')
 depends=('glib2' 'gdk-pixbuf2' 'gtk3' 'libcanberra-pulse' 'libxi' 'libxfixes' 'rfkill'
          'poppler-glib' 'xcur2png' 'blur-effect')
-makedepends=('git' 'deepin-gettext-tools' 'deepin-dbus-factory' 'deepin-gir-generator'
-             'deepin-go-lib' 'deepin-go-dbus-factory' 'bzr' 'go-pie')
-conflicts=('dde-api')
-replaces=('dde-api')
+makedepends=('git' 'deepin-gettext-tools' 'golang-deepin-gir' 'golang-deepin-lib'
+             'golang-github-linuxdeepin-go-dbus-factory' 'golang-github-linuxdeepin-go-x11-client'
+             'golang-github-nfnt-resize' 'bzr' 'go-pie')
+provides=('golang-deepin-dde-api')
 groups=('deepin')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-api/archive/$pkgver.tar.gz"
         deepin-api.sysusers)
-sha512sums=('09471031492188e98a355856239e8ed2d9ceca061181bb7d58e67c4d05a7672526e93121231ffb1081b6325c7407bb8cf6dd46a84805b4e60ebcccfebb74779a'
+sha512sums=('c95a3d2e50581633473350f3f05923d1a2b8ebeb5af740cdd41e91e6cfad4dca8fa53d62e1999232945933b8a6fa8b700142841db7ba1feb20ca7dc5cb05f06f'
             '548b4c8d06a10f0103d84fe6b68532ca71aae53347a6ad85dad1d274844146c9861d1bf6ce8e5518ea1b043aa082d705c534f0a4c0feb16a031537cee6befb08')
 
 prepare() {
@@ -26,13 +26,10 @@
   mkdir -p build/src/pkg.deepin.io/dde/api
   cp -a dde-api-$pkgver/* build/src/pkg.deepin.io/dde/api/
 
-  # https://github.com/niemeyer/gopkg/issues/50
-  git config --global http.https://gopkg.in.followRedirects true
+  # golang-deepin-lib's dependency, remove when go packaging resumes
+  go get github.com/cryptix/wav
 
-  cd "$srcdir"/dde-api-$pkgver
-  make build-dep
-  go get gopkg.in/alecthomas/kingpin.v2 github.com/nfnt/resize github.com/cryptix/wav \
-         golang.org/x/net/context github.com/fogleman/gg
+  go get github.com/disintegration/imaging github.com/fogleman/gg
 }
 
 build(){


More information about the arch-commits mailing list