Skip to content

Commit

Permalink
[render2d] Add configs for software rending
Browse files Browse the repository at this point in the history
  • Loading branch information
neochapay committed Jul 26, 2018
1 parent f34bdaa commit 6764298
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions conf/50-nemo-mobile-render2d.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
EGL_PLATFORM=fbdev
QMLSCENE_DEVICE=softwarecontext
QT_QPA_PLATFORM=linuxfb:fb=/dev/fb0
15 changes: 15 additions & 0 deletions rpm/nemo-mobile-session.spec
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,19 @@ Group: Configs
Requires: nemo-mobile-session-common
Requires: qtwayland

Conflicts: nemo-mobile-session-render2d

%description wayland
%{summary}

%package render2d
Summary: Nemo session config for device with software render
Group: Configs
Requires: nemo-mobile-session-common
Requires: qtdeclarative-render2d

Conflicts: nemo-mobile-session-wayland

%prep
%setup -q -n %{name}-%{version}

Expand All @@ -56,6 +66,7 @@ install -m 0644 services/init-done.service %{buildroot}/lib/systemd/system/
install -m 0644 conf/50-nemo-mobile-ui.conf %{buildroot}/var/lib/environment/nemo/
install -D -m 0644 conf/nemo-session-tmp.conf %{buildroot}%{_libdir}/tmpfiles.d/nemo-session-tmp.conf
install -m 0644 conf/50-nemo-mobile-wayland.conf %{buildroot}/var/lib/environment/nemo/
install -m 0644 conf/50-nemo-mobile-render2d.conf %{buildroot}/var/lib/environment/nemo/

#udev rules
install -m 0644 conf/01-input.rules %{buildroot}/lib/udev/rules.d/
Expand Down Expand Up @@ -121,4 +132,8 @@ fi
%defattr(-,root,root,-)
%config /var/lib/environment/nemo/50-nemo-mobile-wayland.conf

%files render2d
%defattr(-,root,root,-)
%config /var/lib/environment/nemo/50-nemo-mobile-render2d.conf


0 comments on commit 6764298

Please sign in to comment.