fix(pkg): declare gtk4 build deps for GTK rust apps
All checks were successful
Build and publish packages / build-and-publish (push) Successful in 16m7s

moongreet/moonlock/moonset link against gtk4 headers at build time.
The CI workflow runs `makepkg -sfd` and only installs makedepends
explicitly — with gtk4 listed only in depends, the build container
had no cairo.pc / gtk4.pc and cairo-sys-rs failed to find the
system library. Add gtk4, gtk4-layer-shell, pkgconf (plus
gtk-session-lock + pam for moonlock) to makedepends.

This previously only worked because repeated `makepkg -s` runs
left the libs installed in the act_runner container filesystem.
Recreating the runner today exposed the latent gap.
This commit is contained in:
nevaforget 2026-04-21 10:03:22 +02:00
parent 07be812dbb
commit 8d056eac0f
6 changed files with 24 additions and 2 deletions

View File

@ -8,6 +8,9 @@ pkgbase = moongreet-git
license = MIT
makedepends = git
makedepends = cargo
makedepends = gtk4
makedepends = gtk4-layer-shell
makedepends = pkgconf
depends = gtk4
depends = gtk4-layer-shell
depends = greetd

View File

@ -18,6 +18,9 @@ depends=(
makedepends=(
'git'
'cargo'
'gtk4'
'gtk4-layer-shell'
'pkgconf'
)
provides=('moongreet')
conflicts=('moongreet')

View File

@ -1,12 +1,17 @@
pkgbase = moonlock-git
pkgdesc = A secure Wayland lockscreen with GTK4, PAM and fingerprint support
pkgver = 0.6.9.r1.g3f4448c
pkgrel = 1
pkgrel = 5
url = https://gitea.moonarch.de/nevaforget/moonlock
arch = x86_64
license = MIT
makedepends = git
makedepends = cargo
makedepends = gtk4
makedepends = gtk4-layer-shell
makedepends = gtk-session-lock
makedepends = pam
makedepends = pkgconf
depends = gtk4
depends = gtk4-layer-shell
depends = gtk-session-lock

View File

@ -20,6 +20,11 @@ depends=(
makedepends=(
'git'
'cargo'
'gtk4'
'gtk4-layer-shell'
'gtk-session-lock'
'pam'
'pkgconf'
)
optdepends=(
'fprintd: fingerprint authentication support'

View File

@ -1,12 +1,15 @@
pkgbase = moonset-git
pkgdesc = A Wayland session power menu with GTK4 and Layer Shell
pkgver = 0.8.2.r0.gd030f13
pkgrel = 1
pkgrel = 2
url = https://gitea.moonarch.de/nevaforget/moonset
arch = x86_64
license = MIT
makedepends = git
makedepends = cargo
makedepends = gtk4
makedepends = gtk4-layer-shell
makedepends = pkgconf
depends = gtk4
depends = gtk4-layer-shell
provides = moonset

View File

@ -17,6 +17,9 @@ depends=(
makedepends=(
'git'
'cargo'
'gtk4'
'gtk4-layer-shell'
'pkgconf'
)
provides=('moonset')
conflicts=('moonset')