Package Details: kwin-effects-glass-git r564.a2f8a79-1

Git Clone URL: https://aur.archlinux.org/kwin-effects-glass-git.git (read-only, click to copy)
Package Base: kwin-effects-glass-git
Description: Fork of Plasma 6 blur effect with force blur, rounded corners, refraction (Wayland 6.6+)
Upstream URL: https://github.com/4v3ngR/kwin-effects-glass
Keywords: blur desktop-effects kde kwin kwin-effects
Licenses: GPL-3.0-or-later
Provides: kwin-effects-glass
Submitter: avitretiak
Maintainer: avitretiak
Last Packager: avitretiak
Votes: 6
Popularity: 0.52
First Submitted: 2025-12-15 22:30 (UTC)
Last Updated: 2026-06-23 19:23 (UTC)

Latest Comments

1 2 Next › Last »

avitretiak commented on 2026-06-23 19:23 (UTC)

Thank you @JimMoen, updated the PKGBUILD.

JimMoen commented on 2026-06-23 10:15 (UTC)

vulkan-headers should be added as makedepends for kwin-6.7

Marks commented on 2026-06-19 19:46 (UTC)

Ah, that worked. I wasn't fully aware -git packages worked that way, thanks!

avitretiak commented on 2026-06-19 19:34 (UTC) (edited on 2026-06-19 20:04 (UTC) by avitretiak)

An MR to fix Plasma 6.7 compatibility was merged upstream earlier today, try an explicit re-install! As this is a -git package you always get the latest from the github repo irrespective of the version displayed on the AUR.

Marks commented on 2026-06-19 18:50 (UTC)

Would it be possible to update this package to the newest release for plasma 6.7 compatibility?

avitretiak commented on 2026-04-14 14:26 (UTC)

Thank you @mazix! Updated the PKGBUILD to follow these guidelines.

mazix commented on 2026-04-12 11:27 (UTC)

Build fails on pkgver(): ${startdir}/src/kwin-effects-glass does not exist

The PKGBUILD uses ${startdir} to reference the extracted sources and build directory:

pkgver() {
cd "${startdir}/src/kwin-effects-glass"
...
} build() {
local _build="${startdir}/build" cmake -B "$_build" -S "${startdir}/src/kwin-effects-glass" ...
}
package() {
DESTDIR="${pkgdir}" cmake --install "${startdir}/build"
}

This breaks whenever BUILDDIR is set in makepkg.conf (or via env), which is the default on many setups (e.g. BUILDDIR=/tmp/makepkg). In that case $srcdir points to $BUILDDIR/$pkgname/src, not $startdir/src, so the cd in pkgver() fails immediately with:

PKGBUILD: line 18: cd: /path/to/aur/dir/src/kwin-effects-glass: No such file or directory ==> ERROR: pkgver() failed.

Per the https://wiki.archlinux.org/title/PKGBUILD#Package_functions, $startdir is deprecated and should not be used inside
pkgver()/build()/package(). Use $srcdir and $pkgdir instead.

Suggested fix:

pkgver() { cd "$srcdir/kwin-effects-glass"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" }
build() {
cmake -B "$srcdir/build" -S "$srcdir/kwin-effects-glass" \
-W no-dev \
-D CMAKE_BUILD_TYPE=None \
-D CMAKE_INSTALL_PREFIX=/usr
cmake --build "$srcdir/build"
}
package() {
DESTDIR="$pkgdir" cmake --install "$srcdir/build" }

This builds cleanly regardless of whether BUILDDIR is set.

avitretiak commented on 2026-03-15 00:15 (UTC) (edited on 2026-03-15 19:33 (UTC) by avitretiak)

@leo_sk

I switched the PKGBUILD to build Wayland only by default (GLASS_X11=OFF). This avoids the current X11 build failure on Arch/CachyOS.

The X11 target pulls headers from /usr/include/kwin-x11, which still expose the older effects API (QRegion, no RenderView). The code expects the newer Region/RenderView API, so the X11 build errors out with “Region/RenderView not declared” and signature mismatches.

This is an AUR-side workaround so the effect builds on current Plasma. Once upstream resolves X11 compatibility, we can drop the flag. If you still see issues, please include your KWin version and the tail of the build log or report upstream, thank you!

EDIT: Upstream is fixed (X11 disabled, no longer supported), PKGBUILD was reverted

avitretiak commented on 2026-03-14 18:19 (UTC) (edited on 2026-03-14 18:21 (UTC) by avitretiak)

Thanks for the report!

Seems to be broken upstream in the last 24hs sadly, we can work-around this for now by building against the last known-good commit locally, if it remains broken I can pin the pkgbuild, but ideally this package tracks the latest from main.

Change source line from:
source=("$pkgname::git+${url}.git")
To:
source=("$pkgname::git+${url}.git#commit=0394fb5be94b36d83618b413358c2fc89442776e")