75 lines
1.8 KiB
Bash
75 lines
1.8 KiB
Bash
# Maintainer: Christian Schendel <doppelhelix@gmail.com>
|
|
# Contributor: Nico <d3sox at protonmail dot com>
|
|
|
|
pkgname=kwin-effects-forceblur
|
|
pkgver=1.5.0
|
|
pkgrel=11
|
|
pkgdesc="KWin Blur effect fork with window class force blur feature (Wayland & X11)"
|
|
arch=(
|
|
x86_64
|
|
)
|
|
url="https://github.com/taj-ny/kwin-effects-forceblur"
|
|
license=(
|
|
GPL-3.0-or-later
|
|
)
|
|
depends=(
|
|
gcc-libs
|
|
glibc
|
|
kcmutils
|
|
kcrash
|
|
kdecoration
|
|
kglobalaccel
|
|
ki18n
|
|
kio
|
|
kconfig
|
|
kcoreaddons
|
|
knotifications
|
|
kwidgetsaddons
|
|
'kwin=6.5.4'
|
|
libepoxy libepoxy.so
|
|
'qt6-base=6.10.1'
|
|
)
|
|
#optdepends=(
|
|
# 'kwin-x11: for outdated X11 sessions'
|
|
#)
|
|
makedepends=(
|
|
appstream
|
|
extra-cmake-modules
|
|
git
|
|
kwin-x11
|
|
qt6-tools
|
|
vulkan-headers
|
|
)
|
|
provides=(kwin-effects-better-blur)
|
|
source=(
|
|
"$pkgname-$pkgver::git+$url.git#tag=v$pkgver"
|
|
"239.patch"
|
|
"$pkgname.install")
|
|
install="$pkgname.install"
|
|
b2sums=('ccce168b60300b0480f02fed094a74f761fc7ad49062c3a4bf30c8bbfa14c5b83b41495fbd7d9669ff771c2c7d981a993dc988cd3791ef4586288eb25fa28c98'
|
|
'fd5d0eced9d7463df4e4af08c88721e6141ad6248eb599a2107a15b60150f257da597f5f83861a6b7b4bb1e1e51a0e05aee277a13170d46cb5c5fbcc414bd7bd'
|
|
'5de5efda9bdc11103a6b5ada6fd1f5907920cb55bd129bc3bcc55f9424d5703031a7a6696fa20ffabe456bd66881ccfa93d804c4b88ed9d7ca2f3f8d6c5005a7')
|
|
|
|
prepare() {
|
|
patch -d $pkgname-$pkgver -Np1 -i ../239.patch
|
|
}
|
|
|
|
build() {
|
|
local cmake_options=(
|
|
-B build
|
|
-S "$pkgname-$pkgver"
|
|
-DCMAKE_BUILD_TYPE='None'
|
|
-DCMAKE_INSTALL_PREFIX='/usr'
|
|
-DBETTERBLUR_WAYLAND='ON'
|
|
-DBETTERBLUR_X11='OFF'
|
|
)
|
|
cmake "${cmake_options[@]}"
|
|
cmake --build build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname" "$pkgname-$pkgver"/*.md
|
|
}
|
|
|
|
# vim: set ft=sh ts=4 sw=4 et:
|