blob: 3a867408f105c57ac6355191c04fe4374e5b5175 (
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
|
# Maintainer: guglovich <your@email.com>
# Created with assistance from Claude (Anthropic)
pkgname=iris-yummy-anime
pkgver=0.2.4.1
pkgrel=1
pkgdesc="GTK4 client for Yummy Anime streaming service"
arch=('x86_64')
url="https://altlinux.space/alt-gnome/iris"
license=('GPL-3.0-only')
provides=('yummy-anime-gtk')
replaces=('yummy-anime-gtk')
depends=(
'gtk4'
'libadwaita'
'json-glib'
'webkitgtk-6.0'
'libwebp'
)
makedepends=(
'meson'
'ninja'
'vala'
'blueprint-compiler'
'git'
)
options=('!debug')
source=(
"${pkgname}::git+https://altlinux.space/alt-gnome/iris.git#tag=${pkgver}"
"libapi-base::git+https://altlinux.space/rirusha/libapi-base.git"
)
b2sums=('SKIP'
'SKIP')
prepare() {
cd "${pkgname}"
# Link libapi-base subproject so meson does not need network during build.
mkdir -p subprojects
ln -sf "${srcdir}/libapi-base" subprojects/libapi-base
}
build() {
arch-meson "${pkgname}" build \
-Dis_devel=false \
--wrap-mode=nodownload
meson compile -C build
}
package() {
meson install -C build --destdir "${pkgdir}"
}
|