Skip to content

Commit ae0581b

Browse files
committed
test: hyprpaper build
1 parent 697edda commit ae0581b

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,10 @@ jobs:
9090
./xbps-src pkg -j$(nproc) -m masterdir-${{ matrix.arch }} hyprgraphics
9191
./xbps-src pkg -j$(nproc) -m masterdir-${{ matrix.arch }} hyprwayland-scanner
9292
./xbps-src pkg -j$(nproc) -m masterdir-${{ matrix.arch }} aquamarine
93-
# ./xbps-src pkg -j$(nproc) -m masterdir-${{ matrix.arch }} hyprpaper
93+
./xbps-src pkg -j$(nproc) -m masterdir-${{ matrix.arch }} hyprland-protocols
94+
./xbps-src pkg -j$(nproc) -m masterdir-${{ matrix.arch }} hyprpaper
9495
# ./xbps-src pkg -j$(nproc) -m masterdir-${{ matrix.arch }} hyprlock
9596
# ./xbps-src pkg -j$(nproc) -m masterdir-${{ matrix.arch }} hypridle
96-
# ./xbps-src pkg -j$(nproc) -m masterdir-${{ matrix.arch }} hyprland-protocols
9797
# ./xbps-src pkg -j$(nproc) -m masterdir-${{ matrix.arch }} hyprland
9898
9999
- name: show built packages

srcpkgs/hyprpaper/template

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,15 @@ homepage="https://github.com/hyprwm/hyprpaper"
2727
distfiles="https://github.com/hyprwm/hyprpaper/archive/refs/tags/v${version}.tar.gz"
2828
checksum="a2375dae58d29293b942a60cd465771b2c3c85cfcac628ec4897f11e7008666f"
2929

30-
build_options="clang"
31-
build_options_default="clang"
30+
build_options="clang gcc"
31+
build_options_default="gcc"
3232
desc_option_clang="Use clang to build"
33+
desc_option_gcc="Use gcc to build"
34+
35+
if [ "$build_option_gcc" ]; then
36+
hostmakedepends+=" gcc"
37+
makedepends+=" libgcc-devel fmt-devel"
38+
fi
3339

3440
if [ "$build_option_clang" ]; then
3541
hostmakedepends+=" clang19"

0 commit comments

Comments
 (0)