[arch-commits] Commit in spotifyd/repos/community-x86_64 (PKGBUILD PKGBUILD)

Frederik Schwan freswa at archlinux.org
Wed Jan 13 14:42:10 UTC 2021


    Date: Wednesday, January 13, 2021 @ 14:42:09
  Author: freswa
Revision: 820470

archrelease: copy trunk to community-x86_64

Added:
  spotifyd/repos/community-x86_64/PKGBUILD
    (from rev 820469, spotifyd/trunk/PKGBUILD)
Deleted:
  spotifyd/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   75 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 40 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-13 14:42:07 UTC (rev 820469)
+++ PKGBUILD	2021-01-13 14:42:09 UTC (rev 820470)
@@ -1,35 +0,0 @@
-# Maintainer: Frederik Schwan <freswa at archlinux dot org>
-# Contributor: Bert Peters <bert at bertptrs.nl>
-# Contributor: Varakh <varakh at varakh.de>
-# Contributor: Florian Klink <flokli at flokli.de>
-
-pkgbase=spotifyd
-pkgname=('spotifyd')
-pkgver=0.2.25
-pkgrel=1
-pkgdesc='Leightweigt spotify streaming daemon with spotify connect support'
-arch=('x86_64')
-url='https://github.com/Spotifyd/spotifyd'
-license=('GPL3')
-depends=('alsa-lib' 'libogg' 'libpulse' 'dbus')
-makedepends=('cargo')
-source=("https://github.com/Spotifyd/spotifyd/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
-b2sums=('dd70d3c9f508afd5cfadfc887b3f8895e50830d903b1266ae9d9a9a99bae4afe0c6d83c1bb7fe8307f200f5194ee1f802a1371e4edcec488e2e58042bb94488a')
-
-
-build() {
-  cd spotifyd-${pkgver}
-  cargo build --release --locked --features pulseaudio_backend,dbus_mpris,dbus_keyring,rodio_backend
-}
-
- check() {
-  cd spotifyd-${pkgver}
-  cargo test --release --locked --target-dir=target
- }
-
-package() {
-  cd spotifyd-${pkgver}
-  cargo install --locked --root "${pkgdir}"/usr --path "${srcdir}"/${pkgbase}-${pkgver} --features pulseaudio_backend,dbus_mpris,dbus_keyring,rodio_backend
-  rm "${pkgdir}"/usr/{.crates.toml,.crates2.json}
-  install -Dm644 -t "${pkgdir}"/usr/lib/systemd/user/ "${srcdir}"/${pkgbase}-${pkgver}/contrib/spotifyd.service
-}

Copied: spotifyd/repos/community-x86_64/PKGBUILD (from rev 820469, spotifyd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-01-13 14:42:09 UTC (rev 820470)
@@ -0,0 +1,40 @@
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+# Contributor: Bert Peters <bert at bertptrs.nl>
+# Contributor: Varakh <varakh at varakh.de>
+# Contributor: Florian Klink <flokli at flokli.de>
+
+pkgbase=spotifyd
+pkgname=('spotifyd')
+pkgver=0.2.25
+pkgrel=2
+pkgdesc='Leightweigt spotify streaming daemon with spotify connect support'
+arch=('x86_64')
+url='https://github.com/Spotifyd/spotifyd'
+license=('GPL3')
+depends=('alsa-lib' 'libogg' 'libpulse' 'dbus')
+makedepends=('rustup')
+source=("https://github.com/Spotifyd/spotifyd/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+b2sums=('dd70d3c9f508afd5cfadfc887b3f8895e50830d903b1266ae9d9a9a99bae4afe0c6d83c1bb7fe8307f200f5194ee1f802a1371e4edcec488e2e58042bb94488a')
+
+prepare() {
+  cd spotifyd-${pkgver}
+  # fix FS#69308
+  echo "1.47.0" > rust-toolchain
+}
+
+build() {
+  cd spotifyd-${pkgver}
+  cargo build --release --locked --features pulseaudio_backend,dbus_mpris,dbus_keyring,rodio_backend
+}
+
+ check() {
+  cd spotifyd-${pkgver}
+  cargo test --release --locked --target-dir=target
+ }
+
+package() {
+  cd spotifyd-${pkgver}
+  cargo install --locked --root "${pkgdir}"/usr --path "${srcdir}"/${pkgbase}-${pkgver} --features pulseaudio_backend,dbus_mpris,dbus_keyring,rodio_backend
+  rm "${pkgdir}"/usr/{.crates.toml,.crates2.json}
+  install -Dm644 -t "${pkgdir}"/usr/lib/systemd/user/ "${srcdir}"/${pkgbase}-${pkgver}/contrib/spotifyd.service
+}



More information about the arch-commits mailing list