opentrack: 2023.3.0 -> 2024.1.1-unstable-2025-10-29
This commit is contained in:
@@ -8,42 +8,34 @@
|
|||||||
pkg-config,
|
pkg-config,
|
||||||
ninja,
|
ninja,
|
||||||
copyDesktopItems,
|
copyDesktopItems,
|
||||||
qt5,
|
qt6,
|
||||||
opencv4,
|
opencv4,
|
||||||
procps,
|
procps,
|
||||||
eigen,
|
eigen,
|
||||||
libXdmcp,
|
libXdmcp,
|
||||||
libevdev,
|
libevdev,
|
||||||
makeDesktopItem,
|
makeDesktopItem,
|
||||||
fetchpatch,
|
|
||||||
wineWowPackages,
|
wineWowPackages,
|
||||||
onnxruntime,
|
onnxruntime,
|
||||||
|
nix-update-script,
|
||||||
withWine ? stdenv.targetPlatform.isx86_64,
|
withWine ? stdenv.targetPlatform.isx86_64,
|
||||||
}:
|
}:
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "opentrack";
|
pname = "opentrack";
|
||||||
version = "2023.3.0";
|
version = "2024.1.1-unstable-2025-10-29";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "opentrack";
|
owner = "opentrack";
|
||||||
repo = "opentrack";
|
repo = "opentrack";
|
||||||
tag = "opentrack-${finalAttrs.version}";
|
rev = "766808196cf63ddf9ceb102fba193582daceb9de";
|
||||||
hash = "sha256-C0jLS55DcLJh/e5yM8kLG7fhhKvBNllv5HkfCWRIfc4=";
|
hash = "sha256-xS87LFAbnRg7uBbN7ARoGts3bNYkcpOm3xhojBepgIo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# https://github.com/opentrack/opentrack/pull/1754
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/opentrack/opentrack/commit/d501d7e0b237ed0c305525788b423d842ffa356d.patch";
|
|
||||||
hash = "sha256-XMGHV78vt/Xn3hS+4V//pqtsdBQCfJPjIXxfwtdXX+Q=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
aruco = callPackage ./aruco.nix { };
|
aruco = callPackage ./aruco.nix { };
|
||||||
|
|
||||||
xplaneSdk = fetchzip {
|
xplaneSdk = fetchzip {
|
||||||
url = "https://developer.x-plane.com/wp-content/plugins/code-sample-generation/sdk_zip_files/XPSDK401.zip";
|
url = "https://developer.x-plane.com/wp-content/plugins/code-sample-generation/sdk_zip_files/XPSDK411.zip";
|
||||||
hash = "sha256-tUT9yV1949QVr5VebU/7esg7wwWkyak2TSA/kQSrbeo=";
|
hash = "sha256-zay5QrHJctllVFl+JhlyTDzH68h5UoxncEt+TpW3UgI=";
|
||||||
# see license.txt inside the zip file
|
# see license.txt inside the zip file
|
||||||
meta.license = lib.licenses.free;
|
meta.license = lib.licenses.free;
|
||||||
};
|
};
|
||||||
@@ -55,7 +47,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
copyDesktopItems
|
copyDesktopItems
|
||||||
ninja
|
ninja
|
||||||
pkg-config
|
pkg-config
|
||||||
qt5.wrapQtAppsHook
|
qt6.wrapQtAppsHook
|
||||||
]
|
]
|
||||||
++ lib.optionals withWine [ wineWowPackages.stable ];
|
++ lib.optionals withWine [ wineWowPackages.stable ];
|
||||||
|
|
||||||
@@ -67,8 +59,8 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
onnxruntime
|
onnxruntime
|
||||||
opencv4
|
opencv4
|
||||||
procps
|
procps
|
||||||
qt5.qtbase
|
qt6.qtbase
|
||||||
qt5.qttools
|
qt6.qttools
|
||||||
];
|
];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
@@ -98,6 +90,14 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
passthru.updateScript = nix-update-script {
|
||||||
|
extraArgs = [
|
||||||
|
"--version=branch"
|
||||||
|
"--version-regex"
|
||||||
|
"^opentrack-(.+)"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://github.com/opentrack/opentrack";
|
homepage = "https://github.com/opentrack/opentrack";
|
||||||
description = "Head tracking software for MS Windows, Linux, and Apple OSX";
|
description = "Head tracking software for MS Windows, Linux, and Apple OSX";
|
||||||
|
|||||||
Reference in New Issue
Block a user