commit c71bf8149687bf1c4237e37f13ce5078394c7852 Author: Manuel Hüsers Date: Wed Apr 20 22:01:03 2022 +0200 Initial commit with version 0.5.0 diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..a94b531 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +pkgbase = plasma5-wallpapers-wallpaper-engine + pkgdesc = A simple kde wallpaper plugin integrating wallpaper engine + pkgver = 0.5.0 + pkgrel = 1 + url = https://github.com/catsout/wallpaper-engine-kde-plugin + arch = any + license = GPL2 + makedepends = extra-cmake-modules + makedepends = mpv + makedepends = vulkan-headers + depends = gst-libav + depends = python-websockets + depends = plasma-framework + depends = qt5-declarative + depends = qt5-websockets + depends = qt5-webchannel + optdepends = mpv: video playback + source = https://github.com/catsout/wallpaper-engine-kde-plugin/archive/refs/tags/v0.5.0.tar.gz + source = https://github.com/KhronosGroup/glslang/archive/refs/tags/11.9.0.tar.gz + sha256sums = 13e320a2e2758827daf7fc1132935cc1082235f8f38f7138b78996cbc85730d0 + sha256sums = d5744adba19eef9ad3d73f524226b39fec559d94cb582cd442e3c5de930004b2 + +pkgname = plasma5-wallpapers-wallpaper-engine diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..1c2a2f8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Manuel Hüsers + +pkgname=plasma5-wallpapers-wallpaper-engine +_pkgname=wallpaper-engine-kde-plugin +pkgver=0.5.0 +_pkgver_glslang=11.9.0 +pkgrel=1 +pkgdesc="A simple kde wallpaper plugin integrating wallpaper engine" +arch=('any') +url="https://github.com/catsout/wallpaper-engine-kde-plugin" +license=('GPL2') +depends=('gst-libav' 'python-websockets' 'plasma-framework' 'qt5-declarative' 'qt5-websockets' 'qt5-webchannel') +makedepends=('extra-cmake-modules' 'mpv' 'vulkan-headers') +optdepends=('mpv: video playback') +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") +sha256sums=('13e320a2e2758827daf7fc1132935cc1082235f8f38f7138b78996cbc85730d0' + 'd5744adba19eef9ad3d73f524226b39fec559d94cb582cd442e3c5de930004b2') + +prepare() { + mv -T "glslang-${_pkgver_glslang}" "${_pkgname}-${pkgver}/src/backend_scene/third_party/glslang" +} + +build() { + cd "${_pkgname}-${pkgver}" + mkdir -p build && cd build + cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$(kf5-config --prefix) .. + make +} + +package() { + cd "${_pkgname}-${pkgver}" + cd build + make DESTDIR="$pkgdir/" install +}