sgdboop: add updateScript, 1.3.1 -> 1.3.2 (#508741)
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
From a4ca664abfac0b7efa7dbc48c6438bc1a5333962 Mon Sep 17 00:00:00 2001
|
||||
From: Fazzi <faaris.ansari@proton.me>
|
||||
Date: Sat, 24 May 2025 20:55:50 +0100
|
||||
Subject: [PATCH] desktopFile: hide entry from app launchers
|
||||
|
||||
---
|
||||
linux-release/com.steamgriddb.SGDBoop.desktop | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/linux-release/com.steamgriddb.SGDBoop.desktop b/linux-release/com.steamgriddb.SGDBoop.desktop
|
||||
index 9c84cdb..9899682 100644
|
||||
--- a/linux-release/com.steamgriddb.SGDBoop.desktop
|
||||
+++ b/linux-release/com.steamgriddb.SGDBoop.desktop
|
||||
@@ -4,7 +4,7 @@ Comment=Apply Steam assets from SteamGridDB
|
||||
Exec=SGDBoop %U
|
||||
Terminal=false
|
||||
Type=Application
|
||||
-NoDisplay=false
|
||||
+NoDisplay=true
|
||||
Icon=com.steamgriddb.SGDBoop
|
||||
MimeType=x-scheme-handler/sgdb
|
||||
Categories=Utility
|
||||
@@ -5,26 +5,19 @@
|
||||
curl,
|
||||
pkg-config,
|
||||
wrapGAppsHook3,
|
||||
nix-update-script,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "sgdboop";
|
||||
version = "1.3.1";
|
||||
version = "1.3.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SteamGridDB";
|
||||
repo = "SGDBoop";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-FpVQQo2N/qV+cFhYZ1FVm+xlPHSVMH4L+irnQEMlUQs=";
|
||||
hash = "sha256-/pXZMq80fb7Z+619ACnu/ZYWpouh59PIiruWY7l2cnQ=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Hide the app from app launchers, as it is not meant to be run directly
|
||||
# Remove when https://github.com/SteamGridDB/SGDBoop/pull/112 is merged
|
||||
./hide_desktop_entry.patch
|
||||
# remove unused arg to fix build
|
||||
./remove-unused-arg.patch
|
||||
];
|
||||
|
||||
makeFlags = [
|
||||
# The flatpak install just copies things to /app - otherwise wants to do things with XDG
|
||||
"FLATPAK_ID=fake"
|
||||
@@ -48,6 +41,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
curl
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Applying custom artwork to Steam, using SteamGridDB";
|
||||
homepage = "https://github.com/SteamGridDB/SGDBoop/";
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
From 74bea8b264fa5d7ded02db66e2500ba9d72b58cf Mon Sep 17 00:00:00 2001
|
||||
From: Fazzi <faaris.ansari@proton.me>
|
||||
Date: Wed, 31 Dec 2025 20:57:45 +0000
|
||||
Subject: [PATCH] remove unused arg
|
||||
|
||||
---
|
||||
sgdboop.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/sgdboop.c b/sgdboop.c
|
||||
index f0d95c0..7e860f3 100644
|
||||
--- a/sgdboop.c
|
||||
+++ b/sgdboop.c
|
||||
@@ -1,4 +1,4 @@
|
||||
-#include <stdlib.h>
|
||||
+#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <curl/curl.h>
|
||||
@@ -1276,7 +1276,7 @@ int main(int argc, char** argv)
|
||||
struct nonSteamApp* apps = getNonSteamApps();
|
||||
struct nonSteamApp* appsMods = NULL;
|
||||
if (includeMods) {
|
||||
- appsMods = getMods(includeMods);
|
||||
+ appsMods = getMods();
|
||||
}
|
||||
|
||||
// Exit with an error if nothing found
|
||||
--
|
||||
2.51.2
|
||||
|
||||
Reference in New Issue
Block a user