obs-studio-plugins.input-overlay: 5.0.5 -> 5.0.6 (#359973)

This commit is contained in:
Franz Pletz 2024-12-02 14:10:24 +01:00 committed by GitHub
commit fc3ca3479a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,32 +1,50 @@
{ stdenv, lib
, fetchFromGitHub
, cmake
, pkg-config
, obs-studio
, libuiohook
, qtbase
, xorg
, libxkbcommon
, libxkbfile
, SDL2
{
stdenv,
lib,
fetchFromGitHub,
cmake,
pkg-config,
obs-studio,
libuiohook,
qtbase,
xorg,
libxkbcommon,
libxkbfile,
SDL2,
}:
stdenv.mkDerivation rec {
pname = "obs-input-overlay";
version = "5.0.5";
version = "5.0.6";
src = fetchFromGitHub {
owner = "univrsal";
repo = "input-overlay";
rev = "v${version}";
hash = "sha256-9HqEz+KnTt8MyhwqFWjalbl3H/DCzumckXMctCGhs3o=";
rev = "refs/tags/${version}";
hash = "sha256-ju4u7hhx+hTuq7Oh0DBPV8RRM8zqyyvYV74KymU0+2c=";
fetchSubmodules = true;
};
nativeBuildInputs = [ cmake pkg-config ];
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
obs-studio libuiohook qtbase SDL2
xorg.libX11 xorg.libXau xorg.libXdmcp xorg.libXtst xorg.libXext
xorg.libXi xorg.libXt xorg.libXinerama libxkbcommon libxkbfile
obs-studio
libuiohook
qtbase
SDL2
xorg.libX11
xorg.libXau
xorg.libXdmcp
xorg.libXtst
xorg.libXext
xorg.libXi
xorg.libXt
xorg.libXinerama
libxkbcommon
libxkbfile
];
cmakeFlags = [
@ -37,21 +55,14 @@ stdenv.mkDerivation rec {
sed -i '/set(CMAKE_CXX_FLAGS "-march=native")/d' 'source/CMakeLists.txt'
'';
postInstall = ''
mkdir $out/lib $out/share
mv $out/obs-plugins/64bit $out/lib/obs-plugins
rm -rf $out/obs-plugins
mv $out/data $out/share/obs
'';
dontWrapQtApps = true;
meta = with lib; {
meta = {
description = "Show keyboard, gamepad and mouse input on stream";
homepage = "https://github.com/univrsal/input-overlay";
maintainers = with maintainers; [ glittershark ];
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with lib.maintainers; [ glittershark ];
license = lib.licenses.gpl2;
platforms = lib.platforms.linux;
# never built on aarch64-linux since first introduction in nixpkgs
broken = stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64;
};