From ae61795aab245a94e87c415598a250989cffe1d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=BCsers?= Date: Sun, 28 May 2023 23:58:32 +0200 Subject: [PATCH] upgpkg: plasma5-wallpapers-wallpaper-engine 0.5.4-4 Include patch to fix build process --- plasma5-wallpapers-wallpaper-engine/.SRCINFO | 4 +++- plasma5-wallpapers-wallpaper-engine/PKGBUILD | 9 +++++--- .../fbda175.patch | 21 +++++++++++++++++++ 3 files changed, 30 insertions(+), 4 deletions(-) create mode 100644 plasma5-wallpapers-wallpaper-engine/fbda175.patch diff --git a/plasma5-wallpapers-wallpaper-engine/.SRCINFO b/plasma5-wallpapers-wallpaper-engine/.SRCINFO index e5871c2..1bd0f29 100644 --- a/plasma5-wallpapers-wallpaper-engine/.SRCINFO +++ b/plasma5-wallpapers-wallpaper-engine/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = plasma5-wallpapers-wallpaper-engine pkgdesc = A KDE wallpaper plugin integrating wallpaper engine pkgver = 0.5.4 - pkgrel = 3 + pkgrel = 4 url = https://github.com/catsout/wallpaper-engine-kde-plugin arch = x86_64 license = GPL2 @@ -18,7 +18,9 @@ pkgbase = plasma5-wallpapers-wallpaper-engine 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/KhronosGroup/glslang/archive/11.11.0/glslang-11.11.0.tar.gz + source = fbda175.patch sha256sums = 83354734f7ea36e7077206506dd05f0e6877eb51294b820fdbdc398255c6f803 sha256sums = 26c216c3062512c018cbdd752224b8dad703b7e5bb90bf338ba2dbb5d4f11438 + sha256sums = 1a7e937ab126b4d42ac750b6ab997e604963aeed7c8177888cc37a71fafda07e pkgname = plasma5-wallpapers-wallpaper-engine diff --git a/plasma5-wallpapers-wallpaper-engine/PKGBUILD b/plasma5-wallpapers-wallpaper-engine/PKGBUILD index cd4053e..af16066 100644 --- a/plasma5-wallpapers-wallpaper-engine/PKGBUILD +++ b/plasma5-wallpapers-wallpaper-engine/PKGBUILD @@ -4,7 +4,7 @@ pkgname=plasma5-wallpapers-wallpaper-engine _pkgname=wallpaper-engine-kde-plugin pkgver=0.5.4 _pkgver_glslang=11.11.0 -pkgrel=3 +pkgrel=4 pkgdesc='A KDE wallpaper plugin integrating wallpaper engine' arch=('x86_64') 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' 'mpv: alternative video backend') 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' - '26c216c3062512c018cbdd752224b8dad703b7e5bb90bf338ba2dbb5d4f11438') + '26c216c3062512c018cbdd752224b8dad703b7e5bb90bf338ba2dbb5d4f11438' + '1a7e937ab126b4d42ac750b6ab997e604963aeed7c8177888cc37a71fafda07e') prepare() { mv -T "glslang-${_pkgver_glslang}" "${_pkgname}-${pkgver}/src/backend_scene/third_party/glslang" + patch -Np1 -d "${_pkgname}-${pkgver}" < 'fbda175.patch' } build() { diff --git a/plasma5-wallpapers-wallpaper-engine/fbda175.patch b/plasma5-wallpapers-wallpaper-engine/fbda175.patch new file mode 100644 index 0000000..5591a38 --- /dev/null +++ b/plasma5-wallpapers-wallpaper-engine/fbda175.patch @@ -0,0 +1,21 @@ +From fbda175be3b93458ec06c9a1db507b2855e4caa1 Mon Sep 17 00:00:00 2001 +From: Seymur Bagirov +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 // for assert + #include // for min, max + #include ++ #include + #else + #include VMA_CONFIGURATION_USER_INCLUDES_H + #endif