Commit 531aad07
0
files
+0
added
-0
deleted
@@ -1,6 +1,6 @@
1
1
pkgname: hyprland
2
2
pkgver: '0.56.2'
3
-pkgrel: '2'
3
+pkgrel: '3'
4
4
pkgdesc: 'Dynamic tiling Wayland compositor (Hyprland)'
5
5
url: 'https://hyprland.org'
6
6
arch: x86_64
@@ -36,24 +36,31 @@ depends:
36
36
- xcb-util
37
37
- xcb-util-wm
38
38
- xcb-util-errors
39
-- tomlplusplus
40
39
- muparser
40
+- tomlplusplus
41
41
makedepends:
42
42
- meson
43
43
- ninja
44
44
- cmake
45
45
- pkgconf
46
+- git
46
47
- hyprwayland-scanner
47
48
- wayland-protocols
48
49
- hyprland-protocols
49
-- tomlplusplus
50
50
- muparser
51
+- tomlplusplus
51
52
source:
52
53
- 'https://github.com/hyprwm/Hyprland/archive/refs/tags/v${pkgver}.tar.gz'
53
54
sha256sums:
54
55
- SKIP
55
56
build: |
56
57
cd ${pkgname}-${pkgver}
58
+ # Archiwum GitHub nie zawiera submodulow git. CMake robi add_subdirectory(udis86),
59
+ # wiec dostarczamy go recznie (hyprland-protocols jest z pakietu przez pkg-config).
60
+ if [ ! -f subprojects/udis86/CMakeLists.txt ]; then
61
+ rm -rf subprojects/udis86
62
+ git clone --depth 1 https://github.com/canihavesomecoffee/udis86 subprojects/udis86
63
+ fi
57
64
cmake -B build -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_BUILD_TYPE=Release
58
65
cmake --build build
59
66
package: |