Skip to content

Commit

Permalink
chore(sync): frawhide -> f39
Browse files Browse the repository at this point in the history
  • Loading branch information
madonuko committed Aug 27, 2024
1 parent 15a89e1 commit f955a9a
Show file tree
Hide file tree
Showing 29 changed files with 496 additions and 263 deletions.
13 changes: 8 additions & 5 deletions anda/apps/armcord/armcord.spec
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ Summary: Custom lightweight Discord client designed to enhance your experience
URL: https://github.com/ArmCord/ArmCord
Group: Applications/Internet
Source1: launch.sh
Packager: madonuko <[email protected]>
Requires: electron xdg-utils
BuildRequires: nodejs-npm git add-determinism
BuildRequires: git-core add-determinism pnpm
Conflicts: armcord-bin
BuildArch: noarch

Expand Down Expand Up @@ -37,8 +38,8 @@ EOF


%build
npx pnpm@7 install --no-frozen-lockfile
npm run packageQuick
pnpm install --no-frozen-lockfile
pnpm run packageQuick


%install
Expand All @@ -50,18 +51,20 @@ install -Dm644 build/icon.png %buildroot/usr/share/pixmaps/armcord.png

%files
%doc README.md
%license LICENSE
%license license.txt
/usr/bin/armcord
/usr/share/applications/ArmCord.desktop
/usr/share/pixmaps/armcord.png
/usr/share/armcord/app.asar

%changelog
* Mon Aug 26 2024 madonuko <[email protected]> - 3.3.0-1
- Update to license.txt

* Sat Jun 17 2023 windowsboy111 <[email protected]> - 3.2.0-2
- Remove libnotify dependency.
- Fix desktop entry.
- Set as noarch package because there are not binary files.

* Sat May 6 2023 windowsboy111 <[email protected]> - 3.1.7-1
- Initial package

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so

Name: discord-canary-openasar
Version: 0.0.474
Version: 0.0.476
Release: 1%?dist
Summary: A snappier Discord rewrite with features like further customization and theming
License: MIT AND https://discord.com/terms
Expand Down
2 changes: 1 addition & 1 deletion anda/apps/discord-canary/discord-canary.spec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so

Name: discord-canary
Version: 0.0.474
Version: 0.0.476
Release: 1%?dist
Summary: Free Voice and Text Chat for Gamers
URL: discord.com
Expand Down
2 changes: 1 addition & 1 deletion anda/apps/discord-openasar/discord-openasar.spec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so

Name: discord-openasar
Version: 0.0.64
Version: 0.0.65
Release: 1%?dist
Summary: A snappier Discord rewrite with features like further customization and theming
License: MIT AND https://discord.com/terms
Expand Down
2 changes: 1 addition & 1 deletion anda/apps/discord/discord.spec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so

Name: discord
Version: 0.0.64
Version: 0.0.65
Release: 1%?dist
Summary: Free Voice and Text Chat for Gamers
URL: https://discord.com
Expand Down
4 changes: 2 additions & 2 deletions anda/apps/envision/envision.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%global commit 6ff4bc2cd57628c95aacd2f5a07305fd83e197e4
%global commit_date 20240820
%global commit 76d71cb0c255b0bbb224ebee4a0c3fe22928b541
%global commit_date 20240827
%global shortcommit %(c=%{commit}; echo ${c:0:7})

Name: envision
Expand Down
4 changes: 2 additions & 2 deletions anda/apps/mpv/mpv-nightly.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%global commit f44c29b223d7f0187ccf938eb1651671c8e92cf3
%global commit 938938a985c6836059b48cd61a5ee05b2b36f881
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20240821
%global commit_date 20240827
%global ver 0.38.0

Name: mpv-nightly
Expand Down
4 changes: 2 additions & 2 deletions anda/devs/flow/flow-control-nightly.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%global commit b831d99d1cb7c32489255be3872dce3503f1831c
%global commit 470050536248f1f3645237d76e491420e1266cee
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20240821
%global commit_date 20240827

Name: flow-control-nightly
Version: %commit_date.%shortcommit
Expand Down
4 changes: 2 additions & 2 deletions anda/devs/zed/nightly/zed-nightly.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%global commit a82cc80d1dcc3f1d155e3e4350beacd253a721c4
%global commit 26d943287bd720ed504e09f4eb7301101b114151
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20240821
%global commit_date 20240827
%global ver 0.151.0

%bcond_with check
Expand Down
2 changes: 1 addition & 1 deletion anda/devs/zed/preview/zed-preview.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
%bcond_with check

%global ver 0.149.1-pre
%global ver 0.150.3-pre
# Exclude input files from mangling
%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$
# Use Mold as the linker
Expand Down
2 changes: 1 addition & 1 deletion anda/devs/zed/stable/zed.spec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
%global app_id dev.zed.Zed

Name: zed
Version: 0.148.1
Version: 0.149.5
Release: 1%?dist
Summary: Zed is a high-performance, multiplayer code editor

Expand Down
36 changes: 36 additions & 0 deletions anda/games/gamescope/0001-cstdint.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
From 5529e8ac8f3232ec6233e33286834548e1d8018d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Franti=C5=A1ek=20Zatloukal?= <[email protected]>
Date: Sun, 8 Oct 2023 22:10:33 +0200
Subject: [PATCH] <cstdint>

---
src/reshade/source/effect_parser_stmt.cpp | 1 +
src/reshade/source/effect_token.hpp | 1 +
2 files changed, 2 insertions(+)

diff --git a/src/reshade/source/effect_parser_stmt.cpp b/src/reshade/source/effect_parser_stmt.cpp
index 7829729..f126be2 100644
--- a/src/reshade/source/effect_parser_stmt.cpp
+++ b/src/reshade/source/effect_parser_stmt.cpp
@@ -9,6 +9,7 @@
#include <cctype> // std::toupper
#include <cassert>
#include <functional>
+#include <limits>
#include <string_view>

struct on_scope_exit
diff --git a/src/reshade/source/effect_token.hpp b/src/reshade/source/effect_token.hpp
index 072d439..e4bb633 100644
--- a/src/reshade/source/effect_token.hpp
+++ b/src/reshade/source/effect_token.hpp
@@ -5,6 +5,7 @@

#pragma once

+#include <cstdint>
#include <string>
#include <vector>

--
2.41.0
21 changes: 21 additions & 0 deletions anda/games/gamescope/0001-limits.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
From 88ce1e5de62886aa14c74421cde6130e16e70d7d Mon Sep 17 00:00:00 2001
From: psykose <[email protected]>
Date: Sat, 6 Jul 2024 20:52:50 +0200
Subject: [PATCH] utils: include limits.h for PATH_MAX

---
src/Utils/Process.cpp | 1 +
1 file changed, 1 insertion(+)

diff --git a/src/Utils/Process.cpp b/src/Utils/Process.cpp
index e71786f75..3e748e0d3 100644
--- a/src/Utils/Process.cpp
+++ b/src/Utils/Process.cpp
@@ -21,6 +21,7 @@
#include <pthread.h>
#include <stdlib.h>
#include <dirent.h>
+#include <limits.h>
#include <unistd.h>
#include <sys/types.h>
#include <signal.h>
34 changes: 34 additions & 0 deletions anda/games/gamescope/1483.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
From ca58cb2453e6d9ef44d799e394ee9950b7a35b30 Mon Sep 17 00:00:00 2001
From: Cappy Ishihara <[email protected]>
Date: Wed, 21 Aug 2024 03:56:53 +0700
Subject: [PATCH] Check if current GPU supports Vulkan DRM modifiers when
`--backend=auto` is used.

This works around #1218 by making use of the new backend option added in #1321,
but adds a check to automatically fall back to the SDL backend if the current
GPU does not support Vulkan DRM modifiers.
---
src/main.cpp | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/main.cpp b/src/main.cpp
index ca4001249..bc6b16904 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -817,9 +817,13 @@ int main(int argc, char **argv)
if ( eCurrentBackend == gamescope::GamescopeBackend::Auto )
{
if ( g_pOriginalWaylandDisplay != NULL )
- eCurrentBackend = gamescope::GamescopeBackend::Wayland;
- else if ( g_pOriginalDisplay != NULL )
- eCurrentBackend = gamescope::GamescopeBackend::SDL;
+ // Additional check if the current GPU supports Vulkan DRM modifiers
+ // Fallback to SDL if not supported (e.g Older AMD GPUs like Polaris 10/20)
+ if ( vulkan_supports_modifiers() )
+ eCurrentBackend = gamescope::GamescopeBackend::Wayland;
+ else
+ eCurrentBackend = gamescope::GamescopeBackend::SDL;
+
else
eCurrentBackend = gamescope::GamescopeBackend::DRM;
}
Loading

0 comments on commit f955a9a

Please sign in to comment.