2022-04-20 22:01:03 +02:00
|
|
|
# Maintainer: Manuel Hüsers <aur@huesers.de>
|
|
|
|
|
|
|
|
pkgname=plasma5-wallpapers-wallpaper-engine
|
|
|
|
_pkgname=wallpaper-engine-kde-plugin
|
2022-07-31 14:32:36 +02:00
|
|
|
pkgver=0.5.4
|
2022-11-23 18:02:43 +01:00
|
|
|
_pkgver_glslang=11.11.0
|
2023-10-20 10:22:36 +02:00
|
|
|
pkgrel=5
|
2022-05-06 22:44:04 +02:00
|
|
|
pkgdesc='A KDE wallpaper plugin integrating wallpaper engine'
|
2022-04-23 17:52:49 +02:00
|
|
|
arch=('x86_64')
|
2022-11-23 18:02:43 +01:00
|
|
|
url="https://github.com/catsout/${_pkgname}"
|
2022-04-20 22:01:03 +02:00
|
|
|
license=('GPL2')
|
2023-10-20 10:22:36 +02:00
|
|
|
depends=('gst-libav' 'python-websockets' 'plasma-framework5' 'qt5-declarative' 'qt5-websockets')
|
2022-04-23 19:42:01 +02:00
|
|
|
makedepends=('extra-cmake-modules' 'qt5-webchannel' 'mpv' 'vulkan-headers')
|
|
|
|
optdepends=('qt5-webchannel: for web support'
|
2022-05-06 22:44:04 +02:00
|
|
|
'mpv: alternative video backend')
|
2022-11-23 17:58:12 +01:00
|
|
|
source=("https://github.com/catsout/${_pkgname}/archive/v${pkgver}/${_pkgname}-${pkgver}.tar.gz"
|
2023-05-28 23:58:32 +02:00
|
|
|
"https://github.com/KhronosGroup/glslang/archive/${_pkgver_glslang}/glslang-${_pkgver_glslang}.tar.gz"
|
|
|
|
'fbda175.patch')
|
2023-10-20 10:22:36 +02:00
|
|
|
sha512sums=('73a0e134430659b457a73e95d8b96b3fd875e44146ec02f5e5662785ecbe8f73a74b642b69a293297e829d6332d7bfba75acaef2c7f6508141d5b60ceadb8e13'
|
|
|
|
'c018271d499efff03540e4572a9c2f1f752c81c87efe7f2e63c2631ac47cecfedffdcfee68eddaf9187603eaae8ccd9a3e5640a022ba9fd7d05950f7827bf8cd'
|
|
|
|
'c386bde62b16a179f37d82cc2bfc86ee4bcd1f410130ad77aaa207a4a65c2d509b663da34feaf826edebd656d73bde36315f1d89df49cf1a22c016f450655aab')
|
2022-04-20 22:01:03 +02:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
mv -T "glslang-${_pkgver_glslang}" "${_pkgname}-${pkgver}/src/backend_scene/third_party/glslang"
|
2023-05-28 23:58:32 +02:00
|
|
|
patch -Np1 -d "${_pkgname}-${pkgver}" < 'fbda175.patch'
|
2022-04-20 22:01:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2022-06-04 23:53:37 +02:00
|
|
|
cmake -B build -S "${_pkgname}-${pkgver}" \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF
|
|
|
|
cmake --build build
|
2022-04-20 22:01:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2022-06-04 23:53:37 +02:00
|
|
|
DESTDIR="$pkgdir" cmake --install build
|
2022-04-20 22:01:03 +02:00
|
|
|
}
|