packages surface-tools.spec
      Pages: < 1 >  DOWNLOAD      
Name:          surface-tools
Version:       20180914git
Release:       4mamba
Summary:       Tools for using the Microsoft Surface with Linux
Group:         System/Kernel and Hardware
Vendor:        openmamba
Distribution:  openmamba
Packager:      Silvan Calarco <silvan.calarco@...>
## GITSOURCE master
Source1:       autorotate.desktop
Patch0:        surface-tools-20180914git-autorotate-autodetect.patch
Patch1:        surface-tools-20180914git-check-and-fork.patch
Patch2:        surface-tools-20180914git-penmon-autodetect.patch
Patch3:        surface-tools-20180914git-autorotate-chuwi-fix-and-touchscreen.patch
License:       GPL
Requires:      pyudev
Requires:      pygobject
Requires:      xrandr
Requires:      xinput
BuildRoot:     %{_tmppath}/%{name}-%{version}-root

Tools for using the Microsoft Surface with Linux.

%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1


[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d %{buildroot}%{_datadir}/autorotate
cp autorotate/*.png %{buildroot}%{_datadir}/autorotate
cp autorotate/autorotate %{buildroot}%{_datadir}/autorotate/

#install -D -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/xdg/autostart/autorotate.desktop

install -D -m0755 penmon/penmon %{buildroot}%{_datadir}/penmon/penmon

[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"

%dir %{_datadir}/autorotate
%dir %{_datadir}/penmon

* Sat Aug 03 2019 Silvan Calarco <silvan.calarco@...> 20180914git-4mamba
- autorotate: fixes and touchscreen rotation support for chuwi

* Tue Mar 05 2019 Silvan Calarco <silvan.calarco@...> 20180914git-3mamba
- patch #0 updated to detect DSI-1 displays

* Sat Sep 15 2018 Silvan Calarco <silvan.calarco@...> 20180914git-2mamba
- autorotate: apply patch to check rotation at startup and fork
- penmon: initial patch to support devices autodetection
- autorotate: disable session autostart (done in sddm Xsetup)

* Fri Sep 14 2018 Silvan Calarco <silvan.calarco@...> 20180914git-1mamba
- package created using the webbuild interface