blob: f11bf335a72c2915ccbf221fef40e4fb7cde0410 (
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
65
66
|
# Maintainer: Nebulosa <nebulosa2007-at-yandex-dot-ru>
pkgname=gsconnect
pkgver=57
pkgrel=3
pkgdesc="KDE Connect implementation. CLI usage without Gnome environment"
arch=(x86_64)
url="https://github.com/GSConnect/gnome-shell-extension-$pkgname"
license=('GPL-2.0-or-later OR MPL-2.0 OR GPL-3.0-only')
depends=(
dbus
dconf
gjs
glib2
gobject-introspection
hicolor-icon-theme
libpulse
)
makedepends=(
appstream
desktop-file-utils
eslint
flake8
git
gtk-update-icon-cache
meson
python-black
)
optdepends=(
'evolution-data-server: contacts integration'
'gsound: sound effects'
'nemo-python: Nemo integration'
'python-nautilus: Nautilus integration'
'python-pydbus: for fetch gsconnect status for Waybar'
'waybar: highly customizable wayland bar'
'wl-clipboard: command-line copy/paste utilities for wayland'
'wtype: xdotool type for wayland'
'ydotool: generic command-line automation tool'
)
conflicts=(gnome-shell-extension-$pkgname)
options=(!debug)
source=(
$url/archive/v$pkgver/$pkgname-$pkgver.tar.gz
$pkgname.service
gvc::git+https://github.com/JingMatrix/gvc.git
)
b2sums=(
'ca3df3335d6f3d204bfad714b096d5777e6578aa643d0b88b4dafadde8d7118a3480ec31d55b1abf9e96a616e76aa8e91503df8f8c5cc7307abcf7fc20f6f005'
'ecd31b50393dbbf23b5f33d16d11573200ce28fd818b99e3f54f269287c505b724fc55f0135809c679629842448b29f7986bed309baa6193aaf1211f144171b4'
'SKIP'
)
build() {
arch-meson gvc gvc-build
meson compile -C gvc-build
arch-meson -Dinstalled_tests=false\
-Dfirewalld=true\
gnome-shell-extension-$pkgname-$pkgver gsconnect-build
meson compile -C gsconnect-build
}
package() {
DESTDIR="$pkgdir" meson install -C gvc-build
DESTDIR="$pkgdir" meson install -C gsconnect-build
install -vDm644 $pkgname.service -t "$pkgdir"/usr/lib/systemd/user/
}
|