blob: ac228e03e58157ba01f8cd22ff6f058fde8142c7 (
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
|
# Maintainer: 'Radiolin' <anton.osi2011@gmail.com>
# Co-maintainer: Nebulosa <nebulosa2007 at yandex dot ru>
pkgname=cassette
pkgver=0.2.0
pkgrel=6
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^}"
license=(GPL-3.0-or-later)
depends=(
cairo
dconf
gdk-pixbuf2
glibc
glib2
gst-plugins-good
gstreamer
gtk4
json-glib
hicolor-icon-theme
libadwaita
libsoup3
libgee
libxml2
sqlite
webkitgtk-6.0
)
makedepends=(
blueprint-compiler
meson
vala
)
options=(!debug)
source=($url/-/archive/ver-$pkgver/${pkgname^}-ver-$pkgver.tar.gz)
b2sums=('81972f10843cecfc7adccc4493fc4dbd722b3d74fb54d18daf393d56a06d6e65f08720d94388b152af552afecdf2dbf888845148d858fa672d4f7d8e81c82c23')
prepare(){
#Quick fix after release: https://gitlab.gnome.org/Rirusha/Cassette/-/commit/64d69b910177675b3cbce398a18b605d14928be0
sed -i 's/Categories=Audio/Categories=GNOME;GTK;Music;Audio;AudioVideo;/' ${pkgname^}-ver-$pkgver/data/io.github.Rirusha.Cassette.desktop.in
}
build() {
arch-meson ${pkgname^}-ver-$pkgver build
meson configure build --no-pager
meson compile -C build
}
package() {
meson install -C build --destdir "$pkgdir"
}
|