Compare commits

..

3 commits

Author SHA1 Message Date
ae61795aab
upgpkg: plasma5-wallpapers-wallpaper-engine 0.5.4-4
Include patch to fix build process
2023-05-28 23:58:32 +02:00
d9855ab9b1
upgpkg: discord-electron-openasar 0.0.27+809-4
Update launch script to not touch the flags file with sed on no match
2023-05-28 23:55:52 +02:00
bcc3abeedf
upgpkg: discord-electron 0.0.27-4
Update launch script to not touch the flags file with sed on no match
2023-05-28 23:55:25 +02:00
9 changed files with 42 additions and 14 deletions

View file

@ -1,7 +1,7 @@
pkgbase = discord-electron-openasar
pkgdesc = Discord packaged with OpenAsar using system provided electron (v22) for increased security and performance
pkgver = 0.0.27+809
pkgrel = 3
pkgrel = 4
url = https://discord.com
install = discord-electron-openasar.install
arch = x86_64
@ -22,7 +22,7 @@ pkgbase = discord-electron-openasar
source = discord-launcher.sh
source = git+https://github.com/goosemod/openasar.git#commit=a8b07392808032f95ac3a7c5856e76d2619c91ae
sha512sums = 285a0119b4740402a3fa94d3679a52bc8d883413ee32187e90087960a4d34aaf316788d2708bbccafe3f995c2b99767b45bc4b7c731704ef887a8de1b3d3926f
sha512sums = ad2c16b6fc539f4315755df10c969822a38879558badfbd2ff9bf53558e755a7b215ce7415e35d7f294539a971ebc5c283f9293b79891893d5f28cd441ca6279
sha512sums = 6337d1f40c9ac97f180862ed0bcf1ec6fb6d4ecf3cb215369550768a4a3600a9546c43f467855a77e95b0f314348a833de40f4284b5b8924d101b4a456b073f5
sha512sums = SKIP
pkgname = discord-electron-openasar

View file

@ -9,7 +9,7 @@ _pkgname=discord
_electron=22
pkgver=0.0.27+809
_pkgver=${pkgver%%+*}
pkgrel=3
pkgrel=4
pkgdesc="Discord packaged with OpenAsar using system provided electron (v${_electron}) for increased security and performance"
arch=('x86_64')
provides=("${_pkgname}")
@ -28,7 +28,7 @@ source=("https://dl.discordapp.net/apps/linux/${_pkgver}/discord-${_pkgver}.tar.
'discord-launcher.sh'
"git+https://github.com/goosemod/openasar.git#commit=a8b07392808032f95ac3a7c5856e76d2619c91ae")
sha512sums=('285a0119b4740402a3fa94d3679a52bc8d883413ee32187e90087960a4d34aaf316788d2708bbccafe3f995c2b99767b45bc4b7c731704ef887a8de1b3d3926f'
'ad2c16b6fc539f4315755df10c969822a38879558badfbd2ff9bf53558e755a7b215ce7415e35d7f294539a971ebc5c283f9293b79891893d5f28cd441ca6279'
'6337d1f40c9ac97f180862ed0bcf1ec6fb6d4ecf3cb215369550768a4a3600a9546c43f467855a77e95b0f314348a833de40f4284b5b8924d101b4a456b073f5'
'SKIP')
# just in case I get the version wrong

View file

@ -7,6 +7,7 @@ flags_file="${XDG_CONFIG_HOME:-$HOME/.config}/@PKGNAME@-flags.conf"
declare -a flags
if [[ -f "${flags_file}" ]]; then
grep -q '\--ignore-gpu-blacklist' "${flags_file}" && \
sed -i "s|--ignore-gpu-blacklist|--ignore-gpu-blocklist|" "${flags_file}"
mapfile -t < "${flags_file}"
else

View file

@ -1,7 +1,7 @@
pkgbase = discord-electron
pkgdesc = Discord using system provided electron (v22) for increased security and performance
pkgver = 0.0.27
pkgrel = 3
pkgrel = 4
url = https://discord.com
install = discord-electron.install
arch = x86_64
@ -19,6 +19,6 @@ pkgbase = discord-electron
source = https://dl.discordapp.net/apps/linux/0.0.27/discord-0.0.27.tar.gz
source = discord-launcher.sh
sha512sums = 285a0119b4740402a3fa94d3679a52bc8d883413ee32187e90087960a4d34aaf316788d2708bbccafe3f995c2b99767b45bc4b7c731704ef887a8de1b3d3926f
sha512sums = ad2c16b6fc539f4315755df10c969822a38879558badfbd2ff9bf53558e755a7b215ce7415e35d7f294539a971ebc5c283f9293b79891893d5f28cd441ca6279
sha512sums = 6337d1f40c9ac97f180862ed0bcf1ec6fb6d4ecf3cb215369550768a4a3600a9546c43f467855a77e95b0f314348a833de40f4284b5b8924d101b4a456b073f5
pkgname = discord-electron

View file

@ -15,7 +15,7 @@ pkgname=discord-electron
_pkgname=discord
_electron=22
pkgver=0.0.27
pkgrel=3
pkgrel=4
pkgdesc="Discord using system provided electron (v${_electron}) for increased security and performance"
arch=('x86_64')
provides=("${_pkgname}")
@ -33,7 +33,7 @@ optdepends=(
source=("https://dl.discordapp.net/apps/linux/${pkgver}/discord-${pkgver}.tar.gz"
'discord-launcher.sh')
sha512sums=('285a0119b4740402a3fa94d3679a52bc8d883413ee32187e90087960a4d34aaf316788d2708bbccafe3f995c2b99767b45bc4b7c731704ef887a8de1b3d3926f'
'ad2c16b6fc539f4315755df10c969822a38879558badfbd2ff9bf53558e755a7b215ce7415e35d7f294539a971ebc5c283f9293b79891893d5f28cd441ca6279')
'6337d1f40c9ac97f180862ed0bcf1ec6fb6d4ecf3cb215369550768a4a3600a9546c43f467855a77e95b0f314348a833de40f4284b5b8924d101b4a456b073f5')
prepare() {
# prepare launcher and install script

View file

@ -7,6 +7,7 @@ flags_file="${XDG_CONFIG_HOME:-$HOME/.config}/@PKGNAME@-flags.conf"
declare -a flags
if [[ -f "${flags_file}" ]]; then
grep -q '\--ignore-gpu-blacklist' "${flags_file}" && \
sed -i "s|--ignore-gpu-blacklist|--ignore-gpu-blocklist|" "${flags_file}"
mapfile -t < "${flags_file}"
else

View file

@ -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

View file

@ -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() {

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