goverlay: 0.6 → 0.6.2

This commit is contained in:
Kira Bruneau 2021-09-07 14:31:08 -04:00
parent df7113c072
commit 7489323bce
3 changed files with 19 additions and 15 deletions

View file

@ -5,14 +5,15 @@
, fetchFromGitHub
, fpc
, lazarus-qt
, qt5
, libX11
, wrapQtAppsHook
, libGL
, libGLU
, libqt5pas
, libX11
, coreutils
, git
, gnugrep
, libnotify
, mesa-demos
, polkit
, procps
, systemd
@ -34,13 +35,13 @@ let
'';
in stdenv.mkDerivation rec {
pname = "goverlay";
version = "0.6";
version = "0.6.2";
src = fetchFromGitHub {
owner = "benjamimgois";
repo = pname;
rev = version;
hash = "sha256-E4SMUL9rpDSSdprX4fPyGCHCowdQavjhGIhV3r4jeiw=";
hash = "sha256-nV8pcFBxrOlj4ebfLZF2gQwKt4bt+wtD72sXepu5kRI=";
};
outputs = [ "out" "man" ];
@ -61,15 +62,17 @@ in stdenv.mkDerivation rec {
nativeBuildInputs = [
fpc
lazarus-qt
qt5.wrapQtAppsHook
wrapQtAppsHook
];
buildInputs = [
libX11
libGL
libGLU
libqt5pas
libX11
];
NIX_LDFLAGS = "--as-needed -rpath ${lib.makeLibraryPath buildInputs}";
NIX_LDFLAGS = "-lGLU -rpath ${lib.makeLibraryPath buildInputs}";
buildPhase = ''
runHook preBuild
@ -85,7 +88,6 @@ in stdenv.mkDerivation rec {
git
gnugrep
libnotify
mesa-demos
polkit
procps
systemd

View file

@ -1,8 +1,8 @@
diff --git a/overlayunit.pas b/overlayunit.pas
index de8725f..005f171 100644
index 1eee68b..3aaf7ae 100644
--- a/overlayunit.pas
+++ b/overlayunit.pas
@@ -5377,7 +5377,7 @@ begin
@@ -5040,7 +5040,7 @@ begin
//Determine Mangohud dependency status
//locate MangoHud and store result in tmp folder
@ -11,7 +11,7 @@ index de8725f..005f171 100644
// Assign Text file dependency_mangohud to variable mangohudVAR
AssignFile(mangohudVAR, '/tmp/goverlay/dependency_mangohud');
@@ -5386,7 +5386,7 @@ begin
@@ -5049,7 +5049,7 @@ begin
CloseFile(mangohudVAR);
// Read String and store value on mangohuddependencyVALUE based on result
@ -20,7 +20,7 @@ index de8725f..005f171 100644
mangohuddependencyVALUE := 1
else
mangohuddependencyVALUE := 0;
@@ -5395,7 +5395,7 @@ begin
@@ -5058,7 +5058,7 @@ begin
//Determine vkBasalt dependency staus
//locate vkBasalt and store result in tmp folder
@ -29,7 +29,7 @@ index de8725f..005f171 100644
// Assign Text file dependency_mangohud to variable mangohudVAR
AssignFile(vkbasaltVAR, '/tmp/goverlay/dependency_vkbasalt');
@@ -5404,7 +5404,7 @@ begin
@@ -5067,7 +5067,7 @@ begin
CloseFile(vkbasaltVAR);
// Read String and store value on vkbasaltdependencyVALUE based on result

View file

@ -5624,7 +5624,9 @@ with pkgs;
govc = callPackage ../tools/virtualization/govc { };
goverlay = callPackage ../tools/graphics/goverlay { };
goverlay = callPackage ../tools/graphics/goverlay {
inherit (qt5) wrapQtAppsHook;
};
gpart = callPackage ../tools/filesystems/gpart { };