Skip to content

Commit 8b1edf5

Browse files
committed
fix: hypridle
1 parent c52de16 commit 8b1edf5

File tree

3 files changed

+14
-8
lines changed

3 files changed

+14
-8
lines changed

srcpkgs/hypridle/template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ _apply_patch() {
4949
}
5050

5151
pre_configure() {
52-
# _apply_patch -p1 ${FILESDIR}/cmake.patch
52+
_apply_patch -p1 ${FILESDIR}/systemd.patch
5353

5454
if [ "$build_option_clang" ]; then
5555
export CC=clang

srcpkgs/xdg-desktop-portal-hyprland/template

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Template file for 'xdg-desktop-portal-hyprland'
22
pkgname=xdg-desktop-portal-hyprland
3-
version=1.3.6
3+
version=1.3.9
44
revision=1
55
build_style=cmake
6-
hostmakedepends="cmake pkg-config git"
6+
configure_args=" --no-warn-unused-cli -DSYSTEMD_SERVICES=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib"
7+
hostmakedepends="cmake pkg-config"
78
makedepends="
8-
basu-devel
99
hyprlang-devel
1010
hyprutils-devel
1111
hyprland-protocols
@@ -14,13 +14,13 @@ makedepends="
1414
wayland-devel
1515
wayland-protocols
1616
pipewire-devel
17+
libpipewire
1718
libgbm-devel
1819
libdrm-devel
1920
elogind-devel
2021
qt6-base-devel
2122
"
2223
depends="
23-
basu
2424
hyprlang
2525
hyprutils
2626
sdbus-cpp
@@ -35,11 +35,17 @@ maintainer="hesam-init <hesam.init@gmail.com>"
3535
license="BSD-3-Clause"
3636
homepage="https://github.com/hyprwm/xdg-desktop-portal-hyprland"
3737
distfiles="https://github.com/hyprwm/xdg-desktop-portal-hyprland/archive/refs/tags/v${version}.tar.gz"
38-
checksum="cf9742c5a6df3de58abf631f01d58c5df0db417004aa8e6852f6533cc8f2938e"
38+
checksum="3f7d94fd408ed5e3a9b639d3dd8502e2169decc34f285e8552434da5fddf497e"
3939

40-
build_options="clang"
41-
build_options_default="clang"
40+
build_options="clang gcc"
41+
build_options_default="gcc"
4242
desc_option_clang="Use clang to build"
43+
desc_option_gcc="Use gcc to build"
44+
45+
if [ "$build_option_gcc" ]; then
46+
hostmakedepends+=" gcc"
47+
makedepends+=" glibc-devel libgcc-devel fmt-devel"
48+
fi
4349

4450
if [ "$build_option_clang" ]; then
4551
hostmakedepends+=" clang19"

0 commit comments

Comments
 (0)