summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD12
2 files changed, 12 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e8afabbea27..141c664946d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
pkgbase = shortwave-git
pkgdesc = Find and listen to internet radio stations
- pkgver = 2.0.1.r46.g28c41ef
- pkgrel = 2
+ pkgver = 2.0.1.r51.ga6841fa
+ pkgrel = 1
url = https://gitlab.gnome.org/World/Shortwave
arch = x86_64
arch = aarch64
license = GPL3
+ makedepends = cargo
makedepends = git
makedepends = meson
- makedepends = rust
makedepends = wayland-protocols
depends = gst-plugins-bad
depends = gtk4
diff --git a/PKGBUILD b/PKGBUILD
index 1b9b7aea22e..6ea59ef8ec1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,14 @@
# Maintainer: Mark Wagie <mark dot wagie at tutanota dot com>
# Contributor: Philip Goto <philip.goto@gmail.com>
pkgname=shortwave-git
-pkgver=2.0.1.r46.g28c41ef
-pkgrel=2
+pkgver=2.0.1.r51.ga6841fa
+pkgrel=1
pkgdesc="Find and listen to internet radio stations"
arch=('x86_64' 'aarch64')
url="https://gitlab.gnome.org/World/Shortwave"
license=('GPL3')
depends=('gst-plugins-bad' 'gtk4' 'libadwaita')
-makedepends=('git' 'meson' 'rust' 'wayland-protocols')
+makedepends=('cargo' 'git' 'meson' 'wayland-protocols')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("${pkgname%-git}::git+https://gitlab.gnome.org/World/Shortwave.git")
@@ -19,7 +19,13 @@ pkgver() {
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
+prepare() {
+ cd "$srcdir/${pkgname%-git}"
+ cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+}
+
build() {
+ export RUSTUP_TOOLCHAIN=stable
arch-meson "${pkgname%-git}" build -Dprofile=development
meson compile -C build
}