Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Fenix2412:Leap15.4
opentrack
opentrack.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File opentrack.spec of Package opentrack
# # spec file for package opentrack # # Copyright (c) 2020 Damian Dygulski ddygulski@fastmail.com # # 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 http://bugs.opensuse.org/ # Name: opentrack Version: 2022.2.0 Release: 1 License: MIT Group: Amusements/Games/Other Summary: Application dedicated to tracking user's head movements Url: https://github.com/opentrack/opentrack Source0: %{name}-%{name}-%{version}.tar.gz Patch0: video-opencv-fix-leap.patch BuildRequires: cmake BuildRequires: ninja BuildRequires: opencv-devel BuildRequires: procps-devel BuildRequires: libqt5-qttools-devel BuildRequires: libevdev-devel BuildRequires: libqt5-qtbase-private-headers-devel BuildRequires: update-desktop-files BuildRequires: wine BuildRequires: wine-32bit BuildRequires: wine-devel BuildRequires: wine-devel-32bit BuildRequires: gcc-32bit BuildRequires: libstdc++-devel-32bit BuildRequires: rpm-32bit BuildRequires: mozilla-nss-certs-32bit Suggests: wine BuildRoot: %{_tmppath}/%{name}-%{version}-build %description opentrack is an application dedicated to tracking user's head movements and relaying the information to games and flight simulation software. %package doc Summary: Documentation for opentrack Group: Amusements/Games/Other %description doc Documentation for opentrack %prep %setup -q -n %{name}-%{name}-%{version} %patch0 -p 1 %build mkdir -p build cd build cmake .. -GNinja -DCMAKE_BUILD_TYPE=Release -DSDK_ENABLE_LIBEVDEV=ON -DSDK_WINE=ON -DCMAKE_INSTALL_PREFIX=/usr ninja %install cd build DESTDIR=%buildroot ninja install rm -rf %{buildroot}/usr/share/doc/opentrack/source-code mkdir -p %{buildroot}%{_libexecdir}/opentrack mv %{buildroot}/usr/libexec/opentrack/* %{buildroot}%{_libexecdir}/opentrack rm -rf %{buildroot}/usr/libexec/opentrack cd ../ %suse_update_desktop_file -c "opentrack" "Opentrack" "Application dedicated to tracking user's head movements" "/usr/bin/opentrack" "opentrack" "Game" "Simulation" install -D -m 0644 ./contrib/cute-octopus-vector-material_15-1831.jpg %{buildroot}/usr/share/pixmaps/opentrack.jpg %files %defattr(-,root,root,-) %{_libexecdir}/opentrack /usr/share/applications/opentrack.desktop /usr/share/opentrack /usr/share/pixmaps/opentrack.jpg /usr/bin/opentrack %files doc /usr/share/doc/opentrack %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