Add 'plasma5-wallpapers-wallpaper-engine/' from commit '3112b7987d7cdcd1fc6eeb6b9dd1f2fd36d99899'

git-subtree-dir: plasma5-wallpapers-wallpaper-engine
git-subtree-mainline: 35ea7cbe48
git-subtree-split: 3112b7987d
This commit is contained in:
Manuel 2022-10-18 00:00:01 +02:00
commit 32e592d220
2 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,24 @@
pkgbase = plasma5-wallpapers-wallpaper-engine
pkgdesc = A KDE wallpaper plugin integrating wallpaper engine
pkgver = 0.5.4
pkgrel = 2
url = https://github.com/catsout/wallpaper-engine-kde-plugin
arch = x86_64
license = GPL2
makedepends = extra-cmake-modules
makedepends = qt5-webchannel
makedepends = mpv
makedepends = vulkan-headers
depends = gst-libav
depends = python-websockets
depends = plasma-framework
depends = qt5-declarative
depends = qt5-websockets
optdepends = qt5-webchannel: for web support
optdepends = mpv: alternative video backend
source = https://github.com/catsout/wallpaper-engine-kde-plugin/archive/v0.5.4.tar.gz
source = https://github.com/KhronosGroup/glslang/archive/11.10.0.tar.gz
sha256sums = 83354734f7ea36e7077206506dd05f0e6877eb51294b820fdbdc398255c6f803
sha256sums = 8ffc19c435232d09299dd2c91e247292b3508c1b826a3497c60682e4bbf2d602
pkgname = plasma5-wallpapers-wallpaper-engine

View File

@ -0,0 +1,33 @@
# Maintainer: Manuel Hüsers <aur@huesers.de>
pkgname=plasma5-wallpapers-wallpaper-engine
_pkgname=wallpaper-engine-kde-plugin
pkgver=0.5.4
_pkgver_glslang=11.10.0
pkgrel=2
pkgdesc='A KDE wallpaper plugin integrating wallpaper engine'
arch=('x86_64')
url='https://github.com/catsout/wallpaper-engine-kde-plugin'
license=('GPL2')
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'
'mpv: alternative video backend')
source=("https://github.com/catsout/${_pkgname}/archive/v${pkgver}.tar.gz"
"https://github.com/KhronosGroup/glslang/archive/${_pkgver_glslang}.tar.gz")
sha256sums=('83354734f7ea36e7077206506dd05f0e6877eb51294b820fdbdc398255c6f803'
'8ffc19c435232d09299dd2c91e247292b3508c1b826a3497c60682e4bbf2d602')
prepare() {
mv -T "glslang-${_pkgver_glslang}" "${_pkgname}-${pkgver}/src/backend_scene/third_party/glslang"
}
build() {
cmake -B build -S "${_pkgname}-${pkgver}" \
-DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}