upgpkg: plasma5-wallpapers-wallpaper-engine 0.5.4-4

Include patch to fix build process
This commit is contained in:
Manuel 2023-05-28 23:58:32 +02:00
parent 1989ad4103
commit 78b14ea445
3 changed files with 30 additions and 4 deletions

View file

@ -1,7 +1,7 @@
pkgbase = plasma5-wallpapers-wallpaper-engine pkgbase = plasma5-wallpapers-wallpaper-engine
pkgdesc = A KDE wallpaper plugin integrating wallpaper engine pkgdesc = A KDE wallpaper plugin integrating wallpaper engine
pkgver = 0.5.4 pkgver = 0.5.4
pkgrel = 3 pkgrel = 4
url = https://github.com/catsout/wallpaper-engine-kde-plugin url = https://github.com/catsout/wallpaper-engine-kde-plugin
arch = x86_64 arch = x86_64
license = GPL2 license = GPL2
@ -18,7 +18,9 @@ pkgbase = plasma5-wallpapers-wallpaper-engine
optdepends = mpv: alternative video backend optdepends = mpv: alternative video backend
source = https://github.com/catsout/wallpaper-engine-kde-plugin/archive/v0.5.4/wallpaper-engine-kde-plugin-0.5.4.tar.gz source = https://github.com/catsout/wallpaper-engine-kde-plugin/archive/v0.5.4/wallpaper-engine-kde-plugin-0.5.4.tar.gz
source = https://github.com/KhronosGroup/glslang/archive/11.11.0/glslang-11.11.0.tar.gz source = https://github.com/KhronosGroup/glslang/archive/11.11.0/glslang-11.11.0.tar.gz
source = fbda175.patch
sha256sums = 83354734f7ea36e7077206506dd05f0e6877eb51294b820fdbdc398255c6f803 sha256sums = 83354734f7ea36e7077206506dd05f0e6877eb51294b820fdbdc398255c6f803
sha256sums = 26c216c3062512c018cbdd752224b8dad703b7e5bb90bf338ba2dbb5d4f11438 sha256sums = 26c216c3062512c018cbdd752224b8dad703b7e5bb90bf338ba2dbb5d4f11438
sha256sums = 1a7e937ab126b4d42ac750b6ab997e604963aeed7c8177888cc37a71fafda07e
pkgname = plasma5-wallpapers-wallpaper-engine pkgname = plasma5-wallpapers-wallpaper-engine

View file

@ -4,7 +4,7 @@ pkgname=plasma5-wallpapers-wallpaper-engine
_pkgname=wallpaper-engine-kde-plugin _pkgname=wallpaper-engine-kde-plugin
pkgver=0.5.4 pkgver=0.5.4
_pkgver_glslang=11.11.0 _pkgver_glslang=11.11.0
pkgrel=3 pkgrel=4
pkgdesc='A KDE wallpaper plugin integrating wallpaper engine' pkgdesc='A KDE wallpaper plugin integrating wallpaper engine'
arch=('x86_64') arch=('x86_64')
url="https://github.com/catsout/${_pkgname}" url="https://github.com/catsout/${_pkgname}"
@ -14,12 +14,15 @@ makedepends=('extra-cmake-modules' 'qt5-webchannel' 'mpv' 'vulkan-headers')
optdepends=('qt5-webchannel: for web support' optdepends=('qt5-webchannel: for web support'
'mpv: alternative video backend') 'mpv: alternative video backend')
source=("https://github.com/catsout/${_pkgname}/archive/v${pkgver}/${_pkgname}-${pkgver}.tar.gz" source=("https://github.com/catsout/${_pkgname}/archive/v${pkgver}/${_pkgname}-${pkgver}.tar.gz"
"https://github.com/KhronosGroup/glslang/archive/${_pkgver_glslang}/glslang-${_pkgver_glslang}.tar.gz") "https://github.com/KhronosGroup/glslang/archive/${_pkgver_glslang}/glslang-${_pkgver_glslang}.tar.gz"
'fbda175.patch')
sha256sums=('83354734f7ea36e7077206506dd05f0e6877eb51294b820fdbdc398255c6f803' sha256sums=('83354734f7ea36e7077206506dd05f0e6877eb51294b820fdbdc398255c6f803'
'26c216c3062512c018cbdd752224b8dad703b7e5bb90bf338ba2dbb5d4f11438') '26c216c3062512c018cbdd752224b8dad703b7e5bb90bf338ba2dbb5d4f11438'
'1a7e937ab126b4d42ac750b6ab997e604963aeed7c8177888cc37a71fafda07e')
prepare() { prepare() {
mv -T "glslang-${_pkgver_glslang}" "${_pkgname}-${pkgver}/src/backend_scene/third_party/glslang" mv -T "glslang-${_pkgver_glslang}" "${_pkgname}-${pkgver}/src/backend_scene/third_party/glslang"
patch -Np1 -d "${_pkgname}-${pkgver}" < 'fbda175.patch'
} }
build() { build() {

21
fbda175.patch Normal file
View file

@ -0,0 +1,21 @@
From fbda175be3b93458ec06c9a1db507b2855e4caa1 Mon Sep 17 00:00:00 2001
From: Seymur Bagirov <megadestroyer230@gmail.com>
Date: Sat, 8 Apr 2023 13:24:52 +0400
Subject: [PATCH] add cstdio to fix build on openSUSE TW
---
src/backend_scene/third_party/vk_mem_alloc.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/backend_scene/third_party/vk_mem_alloc.h b/src/backend_scene/third_party/vk_mem_alloc.h
index 0d01d517..6a8f3e31 100644
--- a/src/backend_scene/third_party/vk_mem_alloc.h
+++ b/src/backend_scene/third_party/vk_mem_alloc.h
@@ -2559,6 +2559,7 @@ remove them if not needed.
#include <cassert> // for assert
#include <algorithm> // for min, max
#include <mutex>
+ #include <cstdio>
#else
#include VMA_CONFIGURATION_USER_INCLUDES_H
#endif