[arch-commits] Commit in deepin-api/repos/community-x86_64 (4 files)

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


    Date: Friday, March 1, 2019 @ 16:50:22
  Author: felixonmars
Revision: 437288

archrelease: copy trunk to community-x86_64

Added:
  deepin-api/repos/community-x86_64/PKGBUILD
    (from rev 437287, deepin-api/trunk/PKGBUILD)
  deepin-api/repos/community-x86_64/deepin-api.sysusers
    (from rev 437287, deepin-api/trunk/deepin-api.sysusers)
Deleted:
  deepin-api/repos/community-x86_64/PKGBUILD
  deepin-api/repos/community-x86_64/deepin-api.sysusers

---------------------+
 PKGBUILD            |   93 ++++++++++++++++++++++++--------------------------
 deepin-api.sysusers |    4 +-
 2 files changed, 47 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-01 16:49:48 UTC (rev 437287)
+++ PKGBUILD	2019-03-01 16:50:22 UTC (rev 437288)
@@ -1,48 +0,0 @@
-# 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.17.0
-pkgrel=1
-pkgdesc='Golang bindings for dde-daemon'
-arch=('x86_64')
-url="https://github.com/linuxdeepin/dde-api"
-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')
-groups=('deepin')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-api/archive/$pkgver.tar.gz"
-        deepin-api.sysusers)
-sha512sums=('09471031492188e98a355856239e8ed2d9ceca061181bb7d58e67c4d05a7672526e93121231ffb1081b6325c7407bb8cf6dd46a84805b4e60ebcccfebb74779a'
-            '548b4c8d06a10f0103d84fe6b68532ca71aae53347a6ad85dad1d274844146c9861d1bf6ce8e5518ea1b043aa082d705c534f0a4c0feb16a031537cee6befb08')
-
-prepare() {
-  export GOPATH="$srcdir/build:/usr/share/gocode"
-  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
-
-  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
-}
-
-build(){
-  cd dde-api-$pkgver
-  make
-}
-
-package() {
-  cd dde-api-$pkgver
-  make DESTDIR="$pkgdir" SYSTEMD_LIB_DIR=/usr/lib install
-
-  install -Dm644 ../deepin-api.sysusers "$pkgdir"/usr/lib/sysusers.d/deepin-api.conf
-}

Copied: deepin-api/repos/community-x86_64/PKGBUILD (from rev 437287, deepin-api/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-01 16:50:22 UTC (rev 437288)
@@ -0,0 +1,45 @@
+# 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.17.1
+pkgrel=1
+pkgdesc='Golang bindings for dde-daemon'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/dde-api"
+license=('GPL3')
+depends=('glib2' 'gdk-pixbuf2' 'gtk3' 'libcanberra-pulse' 'libxi' 'libxfixes' 'rfkill'
+         'poppler-glib' 'xcur2png' 'blur-effect')
+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=('c95a3d2e50581633473350f3f05923d1a2b8ebeb5af740cdd41e91e6cfad4dca8fa53d62e1999232945933b8a6fa8b700142841db7ba1feb20ca7dc5cb05f06f'
+            '548b4c8d06a10f0103d84fe6b68532ca71aae53347a6ad85dad1d274844146c9861d1bf6ce8e5518ea1b043aa082d705c534f0a4c0feb16a031537cee6befb08')
+
+prepare() {
+  export GOPATH="$srcdir/build:/usr/share/gocode"
+  mkdir -p build/src/pkg.deepin.io/dde/api
+  cp -a dde-api-$pkgver/* build/src/pkg.deepin.io/dde/api/
+
+  # golang-deepin-lib's dependency, remove when go packaging resumes
+  go get github.com/cryptix/wav
+
+  go get github.com/disintegration/imaging github.com/fogleman/gg
+}
+
+build(){
+  cd dde-api-$pkgver
+  make
+}
+
+package() {
+  cd dde-api-$pkgver
+  make DESTDIR="$pkgdir" SYSTEMD_LIB_DIR=/usr/lib install
+
+  install -Dm644 ../deepin-api.sysusers "$pkgdir"/usr/lib/sysusers.d/deepin-api.conf
+}

Deleted: deepin-api.sysusers
===================================================================
--- deepin-api.sysusers	2019-03-01 16:49:48 UTC (rev 437287)
+++ deepin-api.sysusers	2019-03-01 16:50:22 UTC (rev 437288)
@@ -1,2 +0,0 @@
-u deepin-sound-player - "Deepin Sound Player"
-g deepin-sound-player -

Copied: deepin-api/repos/community-x86_64/deepin-api.sysusers (from rev 437287, deepin-api/trunk/deepin-api.sysusers)
===================================================================
--- deepin-api.sysusers	                        (rev 0)
+++ deepin-api.sysusers	2019-03-01 16:50:22 UTC (rev 437288)
@@ -0,0 +1,2 @@
+u deepin-sound-player - "Deepin Sound Player"
+g deepin-sound-player -


More information about the arch-commits mailing list