blob: abcc6ac991e14b4cb264792b3c72758363deb9da (
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
45
46
47
48
49
50
51
52
53
54
|
# Maintainer: Radiolin <anton.osi2011@gmail.com>
# Co-maintainer: Nebulosa <nebulosa2007 at yandex dot ru>
pkgname=cassette-git
pkgver=0.2.0.r36.g82c6937
pkgrel=1
pkgdesc="GTK4/Adwaita application that allows you to use Yandex Music service on Linux operating systems"
arch=(aarch64 x86_64)
url="https://gitlab.gnome.org/Rirusha/${pkgname%-git}"
license=(GPL-3.0-or-later)
depends=(
cairo
dconf
json-glib
gdk-pixbuf2
glibc
glib2
gstreamer
gst-plugins-good
gtk4
hicolor-icon-theme
libadwaita
libgee
libsoup3
libxml2
sqlite
webkitgtk-6.0
xdg-desktop-portal-impl
)
makedepends=(
blueprint-compiler
git
meson
vala
)
provides=(${pkgname%-git})
conflicts=(${pkgname%-git})
options=(!debug)
source=(${pkgname%-git}::git+$url.git)
b2sums=('SKIP')
pkgver() {
git -C ${pkgname%-git} describe --long --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//'
}
build() {
arch-meson -Dis_devel=true ${pkgname%-git} build
meson configure build --no-pager
meson compile -C build
}
package() {
meson install -C build --destdir "$pkgdir"
}
|