blob: a624cb5678d745cbc64d11d502e445f8d7cdaf22 (
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
|
# Maintainer: Radiolin <anton.osi2011@gmail.com>
# Co-maintainer: Nebulosa <nebulosa2007 at yandex dot ru>
pkgname=cassette-git
pkgver=0.2.0.r40.gfd453e7
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-only)
depends=(
cairo
dconf
gdk-pixbuf2
glibc
glib2
gst-plugins-good
"gtk4>=1:4.15"
hicolor-icon-theme
"libadwaita>=1:1.6"
libgee
libxml2
sqlite
webkitgtk-6.0
)
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/^ver.//'
}
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"
}
|