blob: b71d6469458342a4632720bc3961d0ad9f4dbfe0 (
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
55
56
57
58
59
60
61
62
63
64
|
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
# Contributor: Igor Dyatlov <dyatlov.igor@protonmail.com>
pkgname=valent-git
pkgver=1.0.0.alpha.45.r103.ge2cd2b9
pkgrel=1
pkgdesc="Connect, control and sync devices"
arch=('x86_64')
url="https://valent.andyholmes.ca"
license=('GPL-3.0-or-later')
depends=(
'evolution-data-server'
'gnutls'
'gstreamer'
'json-glib'
'libadwaita'
'libpeas-2'
'libpipewire'
'libportal-gtk4'
'libpulse'
'sqlite'
)
makedepends=(
# 'gi-docgen' ## -Ddocumentation=true
'git'
'glib2-devel'
'gobject-introspection'
'meson'
'vala'
)
checkdepends=(
'appstream'
# 'walbottle' ## -Dtests=true (for JSON tests)
)
provides=("${pkgname%-git}" 'libvalent-1.so=1.0.0')
conflicts=("${pkgname%-git}")
source=('git+https://github.com/andyholmes/valent.git'
'git+https://gitlab.gnome.org/GNOME/libgnome-volume-control.git')
sha256sums=('SKIP'
'SKIP')
pkgver() {
cd "${pkgname%-git}"
git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "${pkgname%-git}"
git submodule init
git config submodule.subprojects/gvc.url "$srcdir/libgnome-volume-control"
git -c protocol.file.allow=always submodule update
}
build() {
arch-meson "${pkgname%-git}" build
meson compile -C build
}
check() {
meson test -C build --print-errorlogs || :
}
package() {
meson install -C build --destdir "$pkgdir"
}
|