blob: 3c8c52edbf72c237e6c09bf1cda8b417dc6f87ce (
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
67
|
# Maintainer: whysooraj <whysooraj.official@gmail.com>
pkgname=tide-island
pkgver=1.0.38
pkgrel=1
_srcdir=Tide-island-$pkgver
_builddir=build-$pkgver
pkgdesc="A dynamic island for Hyprland and niri using Quickshell"
arch=('x86_64')
url="https://github.com/enhaoswen/Tide-island"
license=('GPL-3.0-only')
depends=(
'qt6-base'
'qt6-declarative'
'qt6-5compat'
'qt6-wayland'
'qt6-connectivity'
'qt6-svg'
'wireplumber'
'pipewire'
'dbus'
'xdg-utils'
'libpulse'
'systemd'
'brightnessctl'
'upower'
'bluez'
'bluez-utils'
'quickshell'
)
makedepends=('cmake')
options=('!debug' '!strip')
optdepends=(
'hyprland: for Hyprland compositor integration'
'niri: for niri compositor integration'
'hyprsunset: for Night Light on Hyprland'
'gammastep: for Night Light on niri or generic Wayland sessions'
'cava: for audio visualizer'
'imagemagick: for wallpaper thumbnails'
'awww: for applying wallpapers from the wallpaper picker'
'python-pywal: for generating colors from the selected wallpaper'
'networkmanager: for wifi control'
'iwd: for wifi control'
'swaync: for the Focus do-not-disturb toggle'
'tlp: for TLP power profile controls'
'polkit: for applying TLP profiles via pkexec'
'sudo: alternative for applying TLP profiles'
'zenity: for Ask-mode TLP password prompts when no Polkit agent is running'
)
conflicts=('tide-island-git')
install='tide-island.install'
source=("$pkgname-$pkgver.tar.xz::https://github.com/enhaoswen/Tide-island/releases/download/$pkgver/tide-island-source.tar.xz")
sha256sums=('ba24fb1cc58c834d4ebc5b8d1513e29dd8c0085f13ed56090a77213c8b4b986d')
build() {
cmake -S "$_srcdir" -B "$_builddir" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
cmake --build "$_builddir"
}
package() {
DESTDIR="$pkgdir" cmake --install "$_builddir"
rm -f "$pkgdir/usr/lib/qt6/qml/TideIsland/tide-island-config-app_qml_module_dir_map.qrc"
chmod +x "$pkgdir/usr/bin/tide-island"
chmod +x "$pkgdir/usr/bin/tide-island-config-app"
chmod +x "$pkgdir/usr/share/tide-island/bin/lyricsmpris"
}
|