blob: 215b8f0a28f6db6e77266d2abf12bf899c760603 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Maintainer: robertfoster
pkgname=resonance-git
pkgver=r59.147cb39
pkgrel=1
pkgdesc='An intuitive music player application written in Rust & Python, with a clean user interface built using GTK4'
arch=(x86_64 i686 arm armv6h armv7h aarch64)
url='https://github.com/nate-xyz/resonance'
license=('GPL3')
depends=(
gst-plugins-bad
gst-plugins-base
gst-plugins-base-libs
gstreamer
gtk4
libadwaita
python-loguru
python-mutagen
python-tqdm
)
makedepends=(
git
meson
rust
)
conflicts=("${pkgname%%-git}")
provides=("${pkgname%%-git}")
source=("${pkgname%%-git}::git+${url}")
sha512sums=('SKIP')
pkgver() {
cd "${pkgname%%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
# printf "%s" "$(git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g')"
}
build() {
arch-meson "${pkgname%%-git}" build
meson compile -C build
}
package() {
DESTDIR="${pkgdir}" meson install -C build
}
|