[arch-commits] Commit in deepin-api/repos (3 files)

Felix Yan felixonmars at archlinux.org
Wed Apr 29 11:40:13 UTC 2020


    Date: Wednesday, April 29, 2020 @ 11:40:12
  Author: felixonmars
Revision: 622241

archrelease: copy trunk to community-staging-x86_64

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

---------------------+
 PKGBUILD            |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 deepin-api.sysusers |    2 ++
 2 files changed, 48 insertions(+)

Copied: deepin-api/repos/community-staging-x86_64/PKGBUILD (from rev 622240, deepin-api/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-04-29 11:40:12 UTC (rev 622241)
@@ -0,0 +1,46 @@
+# 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=5.1.11.1
+pkgrel=1
+pkgdesc='Golang bindings for dde-daemon'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/dde-api"
+license=('GPL3')
+# bc: used in adjust-grub-theme
+depends=('bc' '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=('4b4e38f038f15e0a9c855feda2576accff666101c427d5476958cd8ce8a480e75e0c02a949e0013c61468f37ede4674f95225e0b9d30d5c4ba1d2b8c574d4789'
+            '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 github.com/mattn/go-sqlite3 github.com/gosexy/gettext
+}
+
+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-staging-x86_64/deepin-api.sysusers (from rev 622240, deepin-api/trunk/deepin-api.sysusers)
===================================================================
--- community-staging-x86_64/deepin-api.sysusers	                        (rev 0)
+++ community-staging-x86_64/deepin-api.sysusers	2020-04-29 11:40:12 UTC (rev 622241)
@@ -0,0 +1,2 @@
+u deepin-sound-player - "Deepin Sound Player"
+g deepin-sound-player -


More information about the arch-commits mailing list