Search
SailfishOS Open Build Service
>
Projects
>
sailfishos
:
chum
>
screencast
> _service:tar_git:screencast.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File _service:tar_git:screencast.spec of Package screencast
%define theme sailfish-default %{!?qtc_qmake5:%define qtc_qmake5 %qmake5} %{!?qtc_make:%define qtc_make make} Name: screencast Summary: Lipstick screencast client Version: 0.4.2+git1 Release: 1 Group: System/GUI/Other License: GPLv2 URL: https://gitlab.com/nephros/coderus-screencast Source0: %{name}-%{version}.tar.bz2 BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Network) BuildRequires: pkgconfig(Qt5Sensors) BuildRequires: qt5-qtplatformsupport-devel BuildRequires: qt5-qtwayland-wayland_egl-devel BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(mlite5) BuildRequires: pkgconfig(systemd) BuildRequires: sailfish-svg2png BuildRequires: systemd %systemd_requires %description This App is streaming the screen contents as MJPEG using an multipart/x-mixed-replace server. Simply open http://device_ip:5554 in any web browser. You can also connect to ports 554 or 5554 using a streaming client (tested with vlc). Designed for presentations, it sends only changed frames. After connecting you will have to do something on the device, so new frames can be sent to clients. It supports up to 16 clients at the same time, but more clients causes more lags :) The Screencast daemon closes itself after the last client has disconnected. It waits for connections using systemd socket, no active processes spawning. The application has no desktop icon, instead settings can be found under Settings -> System -> Screencast. Taking over from Maemo/Meego/SailfishOS/AuroraOS legend coderus, this is the maintainance version of his Screencast application. %if "%{?vendor}" == "chum" Title: Screencast Type: desktop-application DeveloperName: Coderus DeveloperLogin: coderus PackagedBy: nephros Custom: Repo: https://openrepos.net/content/coderus/screencast PackagingRepo: https://gitlab.com/project/nephros/coderus-screencast Screenshots: - https://openrepos.net/sites/default/files/packages/14761/screenshot-screenshot-vlcsnap-2019-08-08-15h42m00s185.png - https://openrepos.net/sites/default/files/packages/14761/screenshot-screenshot-vlcsnap-2019-08-08-15h42m08s025.png %endif %prep %setup -n %{name}-%{version} %build %qtc_qmake5 \ "PROJECT_PACKAGE_VERSION=%{version}" %qtc_make %{_smp_mflags} %install rm -rf %{buildroot} %qmake5_install %pre if [ "$1" = "2" ]; then systemctl-user stop screencast.socket ||: systemctl-user stop screencast.service ||: fi %post systemctl-user daemon-reload ||: systemctl-user enable screencast.socket ||: systemctl-user restart screencast.socket ||: %preun if [ "$1" = "0" ]; then systemctl-user stop screencast.socket ||: systemctl-user stop screencast.service ||: fi %files %defattr(-,root,root,-) %attr(2755, root, privileged) %{_sbindir}/screencast %{_datadir}/themes/%{theme}/meegotouch/*/icons/*.png %{_userunitdir}/screencast.service %{_userunitdir}/screencast.socket %{_datadir}/jolla-settings/entries/screencast.json %{_datadir}/jolla-settings/pages/screencast/mainpage.qml