blob: 992abfb5d21fa5101ce91a82e35b29e4d7c4624a (
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
68
69
70
71
72
73
74
75
76
77
|
# Maintainer: Piroro-hs
pkgname=hyprland-nox
pkgver=0.47.2
pkgrel=1
pkgdesc="An independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks. (w/o XWayland support)"
arch=('x86_64')
url='https://github.com/hyprwm/Hyprland'
license=('BSD-3-Clause')
groups=()
depends=('aquamarine'
'cairo'
'gcc-libs'
'glib2'
'glibc'
'hyprcursor'
'hyprgraphics'
'hyprlang'
'hyprutils'
'libdrm'
'libglvnd'
'libinput'
'libxcursor'
'libxkbcommon'
'mesa'
'pango'
'pixman'
're2'
'tomlplusplus'
'util-linux-libs'
'wayland')
makedepends=('cmake'
'git'
'glaze'
'hyprwayland-scanner'
'ninja'
'python'
'wayland-protocols')
optdepends=('cmake: to build and install plugins using hyprpm'
'cpio: to build and install plugins using hyprpm'
'glaze: to build and install plugins using hyprpm'
'meson: to build and install plugins using hyprpm'
'uwsm: to launch a systemd based session via hyprland-uwsm.desktop'
'hyprland-qtutils: Hyprland might invoke this to show some dialogs and popups if available')
provides=("${pkgname%-nox}")
conflicts=("${pkgname%-nox}")
replaces=()
backup=()
source=("$pkgname::git+$url#tag=v$pkgver"
"${pkgname}_hyprland-protocols::git+https://github.com/hyprwm/hyprland-protocols.git"
"${pkgname}_udis86::git+https://github.com/canihavesomecoffee/udis86.git")
sha256sums=('e53c339962eaa043246878f67ae8ed5d68c779442b542b1602e4ee57ee916815'
'SKIP'
'SKIP')
prepare() {
cd "$srcdir/$pkgname"
git submodule init
git submodule deinit subprojects/tracy
git config submodule.subprojects/hyprland-protocols.url "$srcdir/${pkgname}_hyprland-protocols"
git config submodule.subprojects/udis86.url "$srcdir/${pkgname}_udis86"
git -c protocol.file.allow=always submodule update
}
build() {
cd "$srcdir/$pkgname"
cmake --no-warn-unused-cli -B build -G Ninja -D CMAKE_SKIP_RPATH=YES -D CMAKE_BUILD_TYPE=Release -D NO_XWAYLAND=true
cmake --build build
}
package() {
cd "$srcdir/$pkgname"
cmake --install build --prefix "$pkgdir/usr"
rm -rf "$pkgdir/usr/share/xdg-desktop-portal"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|