Compare commits

..

No commits in common. "093355368ba8a38f4c792f915058a7182c155470" and "3f2c2f1494a40b5b22a538417a344559de54c9a8" have entirely different histories.

5 changed files with 86 additions and 3 deletions

View file

@ -1,7 +1,7 @@
pkgbase = discord-electron
pkgdesc = Discord using system provided electron (v29) for increased security and performance
pkgver = 0.0.49
pkgrel = 2
pkgrel = 1
url = https://discord.com
install = discord-electron.install
arch = x86_64

View file

@ -14,7 +14,7 @@
pkgname=discord-electron
_pkgname=discord
pkgver=0.0.49
pkgrel=2
pkgrel=1
_electronver=29
_electronname="electron${_electronver}"
pkgdesc="Discord using system provided electron (v${_electronver}) for increased security and performance"
@ -62,7 +62,7 @@ build() {
# use system electron
asar e resources/app.asar resources/app
rm resources/app.asar
sed -i -e "/resourcesPath = .*;$/d" -e "s|return resourcesPath|return '/usr/lib/${_pkgname}/resources'|" resources/app/common/paths.js
sed -i -e "/resourcesPath = .*;$/d" -e "s|return resourcesPath|return '/usr/lib/${_pkgname}'|" resources/app/common/paths.js
sed -i -e "s|process.resourcesPath|'/usr/lib/${_pkgname}/resources'|" resources/app/app_bootstrap/buildInfo.js
sed -i -e "/^const appName/d" -e "/^const exePath/d" -e "/^const exeDir/d" -e "/^const iconPath/d" \
-e "s|^Exec=\${exePath}$|Exec=/usr/bin/${_pkgname}|" \

View file

@ -0,0 +1,26 @@
pkgbase = plasma5-wallpapers-wallpaper-engine
pkgdesc = A KDE wallpaper plugin integrating wallpaper engine
pkgver = 0.5.4
pkgrel = 5
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-framework5
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/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
sha512sums = 73a0e134430659b457a73e95d8b96b3fd875e44146ec02f5e5662785ecbe8f73a74b642b69a293297e829d6332d7bfba75acaef2c7f6508141d5b60ceadb8e13
sha512sums = c018271d499efff03540e4572a9c2f1f752c81c87efe7f2e63c2631ac47cecfedffdcfee68eddaf9187603eaae8ccd9a3e5640a022ba9fd7d05950f7827bf8cd
sha512sums = c386bde62b16a179f37d82cc2bfc86ee4bcd1f410130ad77aaa207a4a65c2d509b663da34feaf826edebd656d73bde36315f1d89df49cf1a22c016f450655aab
pkgname = plasma5-wallpapers-wallpaper-engine

View file

@ -0,0 +1,36 @@
# Maintainer: Manuel Hüsers <aur@huesers.de>
pkgname=plasma5-wallpapers-wallpaper-engine
_pkgname=wallpaper-engine-kde-plugin
pkgver=0.5.4
_pkgver_glslang=11.11.0
pkgrel=5
pkgdesc='A KDE wallpaper plugin integrating wallpaper engine'
arch=('x86_64')
url="https://github.com/catsout/${_pkgname}"
license=('GPL2')
depends=('gst-libav' 'python-websockets' 'plasma-framework5' '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}/${_pkgname}-${pkgver}.tar.gz"
"https://github.com/KhronosGroup/glslang/archive/${_pkgver_glslang}/glslang-${_pkgver_glslang}.tar.gz"
'fbda175.patch')
sha512sums=('73a0e134430659b457a73e95d8b96b3fd875e44146ec02f5e5662785ecbe8f73a74b642b69a293297e829d6332d7bfba75acaef2c7f6508141d5b60ceadb8e13'
'c018271d499efff03540e4572a9c2f1f752c81c87efe7f2e63c2631ac47cecfedffdcfee68eddaf9187603eaae8ccd9a3e5640a022ba9fd7d05950f7827bf8cd'
'c386bde62b16a179f37d82cc2bfc86ee4bcd1f410130ad77aaa207a4a65c2d509b663da34feaf826edebd656d73bde36315f1d89df49cf1a22c016f450655aab')
prepare() {
mv -T "glslang-${_pkgver_glslang}" "${_pkgname}-${pkgver}/src/backend_scene/third_party/glslang"
patch -Np1 -d "${_pkgname}-${pkgver}" < 'fbda175.patch'
}
build() {
cmake -B build -S "${_pkgname}-${pkgver}" \
-DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install 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