obs-studio-plugins.input-overlay: 5.0.0 -> 5.0.4
Diff: https://github.com/univrsal/input-overlay/compare/v5.0.0...v5.0.4 https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=obs-plugin-input-overlay Co-authored-by: Franz Pletz <fpletz@fnordicwalking.de>
This commit is contained in:
parent
a64d9bf4fd
commit
71e72bd66a
|
@ -8,26 +8,35 @@
|
||||||
, xorg
|
, xorg
|
||||||
, libxkbcommon
|
, libxkbcommon
|
||||||
, libxkbfile
|
, libxkbfile
|
||||||
|
, SDL2
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "obs-input-overlay";
|
pname = "obs-input-overlay";
|
||||||
version = "5.0.0";
|
version = "5.0.4";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "univrsal";
|
owner = "univrsal";
|
||||||
repo = "input-overlay";
|
repo = "input-overlay";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-kpVAvQpBU8TxHAFcx/ok67++4MHh5saoRHJc5XpY4YQ=";
|
sha256 = "sha256-MON68yjHUOF/bggWqhw8D0+23HpKQN3jWs+5lLAacaQ=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkg-config ];
|
nativeBuildInputs = [ cmake pkg-config ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
obs-studio libuiohook qtbase
|
obs-studio libuiohook qtbase SDL2
|
||||||
xorg.libX11 xorg.libXau xorg.libXdmcp xorg.libXtst xorg.libXext
|
xorg.libX11 xorg.libXau xorg.libXdmcp xorg.libXtst xorg.libXext
|
||||||
xorg.libXi xorg.libXt xorg.libXinerama libxkbcommon libxkbfile
|
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 = ''
|
postInstall = ''
|
||||||
mkdir $out/lib $out/share
|
mkdir $out/lib $out/share
|
||||||
mv $out/obs-plugins/64bit $out/lib/obs-plugins
|
mv $out/obs-plugins/64bit $out/lib/obs-plugins
|
||||||
|
|
Loading…
Reference in New Issue
Block a user