diff --git a/conf/50-nemo-mobile-render2d.conf b/conf/50-nemo-mobile-render2d.conf new file mode 100644 index 0000000..9d74586 --- /dev/null +++ b/conf/50-nemo-mobile-render2d.conf @@ -0,0 +1,3 @@ +EGL_PLATFORM=fbdev +QMLSCENE_DEVICE=softwarecontext +QT_QPA_PLATFORM=linuxfb:fb=/dev/fb0 \ No newline at end of file diff --git a/rpm/nemo-mobile-session.spec b/rpm/nemo-mobile-session.spec index b0b6fc4..6c14c18 100644 --- a/rpm/nemo-mobile-session.spec +++ b/rpm/nemo-mobile-session.spec @@ -12,7 +12,7 @@ BuildArch: noarch Target for nemo systemd user session %package common -Summary: Nemo-mobile-session configs files shared by both xorg and wayland +Summary: Nemo-mobile-session configs files Group: Configs Requires: systemd >= 187 Requires: systemd-user-session-targets @@ -28,11 +28,21 @@ Requires(post): /bin/chgrp, /usr/sbin/groupmod Summary: Wayland configs for nemo-mobile-session 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} @@ -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/ @@ -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 +