Merge pull request #250960 from pinpox/obs-studio-plugins.input-overlay
obs-studio-plugins.input-overlay: 5.0.0 -> 5.0.4
This commit is contained in:
commit
e9db346ef1
@ -8,26 +8,35 @@
|
||||
, xorg
|
||||
, libxkbcommon
|
||||
, libxkbfile
|
||||
, SDL2
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "obs-input-overlay";
|
||||
version = "5.0.0";
|
||||
version = "5.0.4";
|
||||
src = fetchFromGitHub {
|
||||
owner = "univrsal";
|
||||
repo = "input-overlay";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-kpVAvQpBU8TxHAFcx/ok67++4MHh5saoRHJc5XpY4YQ=";
|
||||
sha256 = "sha256-MON68yjHUOF/bggWqhw8D0+23HpKQN3jWs+5lLAacaQ=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
buildInputs = [
|
||||
obs-studio libuiohook qtbase
|
||||
obs-studio libuiohook qtbase SDL2
|
||||
xorg.libX11 xorg.libXau xorg.libXdmcp xorg.libXtst xorg.libXext
|
||||
xorg.libXi xorg.libXt xorg.libXinerama libxkbcommon libxkbfile
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DCMAKE_CXX_FLAGS=-msse4.1"
|
||||
];
|
||||
|
||||
postUnpack = ''
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user