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

Felix Yan felixonmars at archlinux.org
Tue Sep 8 20:58:04 UTC 2020


    Date: Tuesday, September 8, 2020 @ 20:58:04
  Author: felixonmars
Revision: 701317

archrelease: copy trunk to community-x86_64

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

---------------------+
 PKGBUILD            |  114 +++++++++++++++++++++++++-------------------------
 deepin-api.install  |   32 +++++++-------
 deepin-api.sysusers |    2 
 3 files changed, 74 insertions(+), 74 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-08 20:57:49 UTC (rev 701316)
+++ PKGBUILD	2020-09-08 20:58:04 UTC (rev 701317)
@@ -1,57 +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=5.3.0.10
-pkgrel=1
-pkgdesc='Golang bindings for dde-daemon'
-arch=('x86_64')
-url="https://github.com/linuxdeepin/dde-api"
-license=('GPL3')
-# alsa-utils: alsactl used in sound-theme-player
-# bc: used in adjust-grub-theme
-# fontconfig: fc-match used in adjust-grub-theme
-# librsvg: rsvg-convert used in adjust-grub-theme
-# util-linux: rfkill used in device
-depends=('alsa-utils' 'bc' 'fontconfig' 'glib2' 'gdk-pixbuf2' 'gtk3' 'libcanberra-pulse' 'librsvg'
-         'libxi' 'libxfixes' 'poppler-glib' 'util-linux' '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')
-install=deepin-api.install
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-api/archive/$pkgver.tar.gz"
-        deepin-api.sysusers)
-sha512sums=('6df4e5c3d17ba8fb1d5ea3a3cf6c06b14e5b15c8789eefb7aa5e15f7dd24a64db6a3ded23d24508a7cdf5bcd280934628774ac5d2ef50cefdc4abc4fcd6ded9b'
-            'e894eb3928af9e244fa78010fdf16c8abb6ce18df114cf05327d02b18774d6ba5b023e4dfa0d07042f4e44a5c6e2ddb55b07f3e0db466a0e6169b52465fdefd6')
-
-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 github.com/godbus/dbus github.com/fsnotify/fsnotify
-
-  go get github.com/disintegration/imaging github.com/fogleman/gg github.com/mattn/go-sqlite3 github.com/gosexy/gettext github.com/rickb777/date
-}
-
-build(){
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
-
-  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 701316, deepin-api/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-08 20:58:04 UTC (rev 701317)
@@ -0,0 +1,57 @@
+# 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.3.0.11
+pkgrel=1
+pkgdesc='Golang bindings for dde-daemon'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/dde-api"
+license=('GPL3')
+# alsa-utils: alsactl used in sound-theme-player
+# bc: used in adjust-grub-theme
+# fontconfig: fc-match used in adjust-grub-theme
+# librsvg: rsvg-convert used in adjust-grub-theme
+# util-linux: rfkill used in device
+depends=('alsa-utils' 'bc' 'fontconfig' 'glib2' 'gdk-pixbuf2' 'gtk3' 'libcanberra-pulse' 'librsvg'
+         'libxi' 'libxfixes' 'poppler-glib' 'util-linux' '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')
+install=deepin-api.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-api/archive/$pkgver.tar.gz"
+        deepin-api.sysusers)
+sha512sums=('e21dfc527e97b4c7cbf519be9c017549b44b412fe0776969f320c26fc27aa24411396dc7ac81ba3c8bd2e24d1d690abe2ee83eb0bbe96011d2e4afbea5948cd2'
+            'e894eb3928af9e244fa78010fdf16c8abb6ce18df114cf05327d02b18774d6ba5b023e4dfa0d07042f4e44a5c6e2ddb55b07f3e0db466a0e6169b52465fdefd6')
+
+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 github.com/godbus/dbus github.com/fsnotify/fsnotify
+
+  go get github.com/disintegration/imaging github.com/fogleman/gg github.com/mattn/go-sqlite3 github.com/gosexy/gettext github.com/rickb777/date
+}
+
+build(){
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+
+  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.install
===================================================================
--- deepin-api.install	2020-09-08 20:57:49 UTC (rev 701316)
+++ deepin-api.install	2020-09-08 20:58:04 UTC (rev 701317)
@@ -1,16 +0,0 @@
-post_install() {
-  # We need to know uid and gid to create /var/lib/deepin-sound-player with proper
-  # permissions. So keep systemd-sysusers invocation here despite having
-  # pacman hooks.
-  systemd-sysusers deepin-sound-player.conf
-  mkdir -p var/lib/deepin-sound-player
-  chown -R deepin-sound-player:deepin-sound-player var/lib/deepin-sound-player
-}
-
-post_upgrade() {
-  if (( $(vercmp $2 5.2.0.1-2) < 0)); then
-    usermod -d /var/lib/deepin-sound-player deepin-sound-player
-    mkdir -p var/lib/deepin-sound-player
-    chown -R deepin-sound-player:deepin-sound-player var/lib/deepin-sound-player
-  fi
-}

Copied: deepin-api/repos/community-x86_64/deepin-api.install (from rev 701316, deepin-api/trunk/deepin-api.install)
===================================================================
--- deepin-api.install	                        (rev 0)
+++ deepin-api.install	2020-09-08 20:58:04 UTC (rev 701317)
@@ -0,0 +1,16 @@
+post_install() {
+  # We need to know uid and gid to create /var/lib/deepin-sound-player with proper
+  # permissions. So keep systemd-sysusers invocation here despite having
+  # pacman hooks.
+  systemd-sysusers deepin-sound-player.conf
+  mkdir -p var/lib/deepin-sound-player
+  chown -R deepin-sound-player:deepin-sound-player var/lib/deepin-sound-player
+}
+
+post_upgrade() {
+  if (( $(vercmp $2 5.2.0.1-2) < 0)); then
+    usermod -d /var/lib/deepin-sound-player deepin-sound-player
+    mkdir -p var/lib/deepin-sound-player
+    chown -R deepin-sound-player:deepin-sound-player var/lib/deepin-sound-player
+  fi
+}

Deleted: deepin-api.sysusers
===================================================================
--- deepin-api.sysusers	2020-09-08 20:57:49 UTC (rev 701316)
+++ deepin-api.sysusers	2020-09-08 20:58:04 UTC (rev 701317)
@@ -1 +0,0 @@
-u deepin-sound-player - "Deepin Sound Player" /var/lib/deepin-sound-player

Copied: deepin-api/repos/community-x86_64/deepin-api.sysusers (from rev 701316, deepin-api/trunk/deepin-api.sysusers)
===================================================================
--- deepin-api.sysusers	                        (rev 0)
+++ deepin-api.sysusers	2020-09-08 20:58:04 UTC (rev 701317)
@@ -0,0 +1 @@
+u deepin-sound-player - "Deepin Sound Player" /var/lib/deepin-sound-player



More information about the arch-commits mailing list