arch-packages/PKGBUILD

34 lines
1.2 KiB
Text
Raw Normal View History

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-06-11 22:43:38 +02:00
pkgver=0.5.3
_pkgver_glslang=11.10.0
pkgrel=1
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')
url='https://github.com/catsout/wallpaper-engine-kde-plugin'
2022-04-20 22:01:03 +02:00
license=('GPL2')
2022-04-23 19:42:01 +02:00
depends=('gst-libav' 'python-websockets' 'plasma-framework' 'qt5-declarative' 'qt5-websockets')
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-04-20 22:01:03 +02:00
source=("https://github.com/catsout/${_pkgname}/archive/refs/tags/v${pkgver}.tar.gz"
"https://github.com/KhronosGroup/glslang/archive/refs/tags/${_pkgver_glslang}.tar.gz")
2022-06-11 22:43:38 +02:00
sha256sums=('3278849fe3ec09640ccc0d3f4d88070b5b1b59cd7d5e3e1744e30ad584923184'
'8ffc19c435232d09299dd2c91e247292b3508c1b826a3497c60682e4bbf2d602')
2022-04-20 22:01:03 +02:00
prepare() {
mv -T "glslang-${_pkgver_glslang}" "${_pkgname}-${pkgver}/src/backend_scene/third_party/glslang"
}
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
}