Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:zzndb001:test
opentrack
opentrack.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File opentrack.spec of Package opentrack
# # spec file for package opentrack # # Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: opentrack Version: 2023.2.0 Release: 0 Summary: Head tracking software for MS Windows, Linux, and Apple OSX License: ISC URL: https://github.com/opentrack/opentrack Source: %{name}-%{version}.tar.xz # MIT License, too hard to build from source (ಥ_ಥ) Source1: https://github.com/microsoft/onnxruntime/releases/download/v1.14.1/onnxruntime-linux-x64-1.14.1.tgz BuildRequires: update-desktop-files BuildRequires: ImageMagick BuildRequires: cmake BuildRequires: gcc-c++ > 7 BuildRequires: opencv-devel BuildRequires: wine-devel # Qt5Config.cmake Qt5NetworkConfig.cmake Qt5WidgetsConfig.cmake Qt5LinguistToolsConfig.cmake BuildRequires: cmake(Qt5) BuildRequires: cmake(Qt5Network) BuildRequires: cmake(Qt5Widgets) BuildRequires: cmake(Qt5LinguistTools) BuildRequires: pkgconfig(libprocps) BuildRequires: pkgconfig(libevdev) BuildRequires: libQt5Gui-private-headers-devel %description %{summary}. %package docs Summary: Docs of %{name} BuildArch: noarch %description docs The docs of %{name}. %prep %setup -q -a 1 %define onnxruntime_dir $(basename %{SOURCE1} | sed 's|.tgz||') %build %cmake -DSDK_WINE=ON \ -DONNXRuntime_DIR=../%{onnxruntime_dir} %cmake_build %install %cmake_install for i in %{onnxruntime_dir}/lib/*.so.*; do install -Dm 0644 -t %{buildroot}%{_libexecdir}/%{name} $i done convert ./contrib/cute-octopus-vector-material_15-1831.jpg %{name}.png # ref home:Fenix2412:Tumbleweed/opentrack %suse_update_desktop_file -c "opentrack" "Opentrack" "Application dedicated to tracking user's head movements" "/usr/bin/opentrack" "opentrack" "Game" "Simulation" install -Dm 0644 -t %{buildroot}/usr/share/pixmaps %{name}.png %post %postun %files %license OPENTRACK-LICENSING.txt %doc WARRANTY.txt README.md AUTHORS.md %{_bindir}/%{name} %{_libexecdir}/%{name} %{_datadir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png %files docs %{_datadir}/doc/%{name} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor