scrcpy/scrcpy.spec

60 lines
1.6 KiB
RPMSpec
Raw Normal View History

#
# spec file for package scrcpy
#
Accepting request 779167 from home:ecsos - Update to 1.12.1 * Fix bit-rate parsing when "long" is 32 bits (#995) - Changes from 1.12.0 * Add shortcut (Ctrl+r) to rotate device screen (#11) * Respect scrolling configuration on macOS (#966) * Initialize Application object (fix crashes on some devices) (#940) * Restore the .jar extension on the device (fix crashes on some * devices) (#944) * Inject mouse events with a virtual device id (fix crashes on some * devices) (#962) * Refuse to push server if it points to a directory (#956) - Run spec-cleaner. - Update to version 1.11: * Add support for touchscreens/multitouch (#22, #865) * Add --max-fps to limit the frame rate (Android 10 only) (#488) * Add options to set an initial window size and position (#762) * Add option to disable window decorations (#762) * Add --prefer-text option (#650) * Add manpage * Fix copy-paste on Android 10 devices (#796) * Fix "turn screen off" on Android 10 devices (#835) * Fix clicks not working in some games (#635) * Fix device rotation while the window is maximized (#750) * Fix scrcpy-noconsole.exe (#691) * Fix HiDPI support (#829) * Fix segfault on empty file recorded (#918) * Fix recorded video to avoid crashes in Adobe Premiere (#702) * Fix segfault on recording with old FFmpeg versions (#707) * Fix several crashes on some devices (like Meizu) (#240, #365, #921) * Upgrade FFmpeg to 4.2.1 in Windows releases * Upgrade platform-tools to 29.0.5 (adb) in Windows releases OBS-URL: https://build.opensuse.org/request/show/779167 OBS-URL: https://build.opensuse.org/package/show/hardware/scrcpy?expand=0&rev=66
2020-03-03 09:51:28 +01:00
# Copyright (c) 2020 SUSE LLC
#
# 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.
Accepting request 779167 from home:ecsos - Update to 1.12.1 * Fix bit-rate parsing when "long" is 32 bits (#995) - Changes from 1.12.0 * Add shortcut (Ctrl+r) to rotate device screen (#11) * Respect scrolling configuration on macOS (#966) * Initialize Application object (fix crashes on some devices) (#940) * Restore the .jar extension on the device (fix crashes on some * devices) (#944) * Inject mouse events with a virtual device id (fix crashes on some * devices) (#962) * Refuse to push server if it points to a directory (#956) - Run spec-cleaner. - Update to version 1.11: * Add support for touchscreens/multitouch (#22, #865) * Add --max-fps to limit the frame rate (Android 10 only) (#488) * Add options to set an initial window size and position (#762) * Add option to disable window decorations (#762) * Add --prefer-text option (#650) * Add manpage * Fix copy-paste on Android 10 devices (#796) * Fix "turn screen off" on Android 10 devices (#835) * Fix clicks not working in some games (#635) * Fix device rotation while the window is maximized (#750) * Fix scrcpy-noconsole.exe (#691) * Fix HiDPI support (#829) * Fix segfault on empty file recorded (#918) * Fix recorded video to avoid crashes in Adobe Premiere (#702) * Fix segfault on recording with old FFmpeg versions (#707) * Fix several crashes on some devices (like Meizu) (#240, #365, #921) * Upgrade FFmpeg to 4.2.1 in Windows releases * Upgrade platform-tools to 29.0.5 (adb) in Windows releases OBS-URL: https://build.opensuse.org/request/show/779167 OBS-URL: https://build.opensuse.org/package/show/hardware/scrcpy?expand=0&rev=66
2020-03-03 09:51:28 +01:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: scrcpy
Accepting request 923374 from home:jonapap - Update to version 1.19: * Bump version to 1.19 * Retrieve correct error messages on Windows * Compute scrcpy directory manually * Fix typo in manpage * Use SOURCE_MOUSE for scroll events * Upgrade SDL (2.0.16) for Windows * Upgrade platform-tools (31.0.3) for Windows * Declare callbacks static * Add Simplified Chinese translation of FAQ * Add a FAQ section for Wayland support * Add README file in Turkish * Fix OBS project ref URL * Fix typo in DEVELOP.md * Fix type for assignment * Fix net_send_all() * Fix code style * Improve slope estimation on start * Add buffering debugging tools * Add clock tests * Add buffering command line options * Implement buffering * Notify new frames via callbacks * Extract current video_buffer to frame_buffer * Rename video_buffer to sc_video_buffer * Relax v4l2_sink lock constraints * Replace delay by deadline in timedwait() * Wrap tick API * Add missing error log * Move include fps_counter * Remove obsolete comment * Rename queue to sc_queue * Fix manpage formatting * Fix --lock-video-orientation syntax in help * Remove unnecessary calls to av_packet_unref() * Fix v4l2 data race * Initialize fields before starting a thread * Fix assertion race condition in debug mode * Initialize controller even if there is no display * Update scrcpy-server in install-release.sh * Update links to v1.18 in README and BUILD OBS-URL: https://build.opensuse.org/request/show/923374 OBS-URL: https://build.opensuse.org/package/show/hardware/scrcpy?expand=0&rev=73
2021-10-06 08:34:29 +02:00
Version: 1.19
Release: 0
Summary: Display and control your Android device
License: Apache-2.0
Group: Hardware/Mobile
Accepting request 779167 from home:ecsos - Update to 1.12.1 * Fix bit-rate parsing when "long" is 32 bits (#995) - Changes from 1.12.0 * Add shortcut (Ctrl+r) to rotate device screen (#11) * Respect scrolling configuration on macOS (#966) * Initialize Application object (fix crashes on some devices) (#940) * Restore the .jar extension on the device (fix crashes on some * devices) (#944) * Inject mouse events with a virtual device id (fix crashes on some * devices) (#962) * Refuse to push server if it points to a directory (#956) - Run spec-cleaner. - Update to version 1.11: * Add support for touchscreens/multitouch (#22, #865) * Add --max-fps to limit the frame rate (Android 10 only) (#488) * Add options to set an initial window size and position (#762) * Add option to disable window decorations (#762) * Add --prefer-text option (#650) * Add manpage * Fix copy-paste on Android 10 devices (#796) * Fix "turn screen off" on Android 10 devices (#835) * Fix clicks not working in some games (#635) * Fix device rotation while the window is maximized (#750) * Fix scrcpy-noconsole.exe (#691) * Fix HiDPI support (#829) * Fix segfault on empty file recorded (#918) * Fix recorded video to avoid crashes in Adobe Premiere (#702) * Fix segfault on recording with old FFmpeg versions (#707) * Fix several crashes on some devices (like Meizu) (#240, #365, #921) * Upgrade FFmpeg to 4.2.1 in Windows releases * Upgrade platform-tools to 29.0.5 (adb) in Windows releases OBS-URL: https://build.opensuse.org/request/show/779167 OBS-URL: https://build.opensuse.org/package/show/hardware/scrcpy?expand=0&rev=66
2020-03-03 09:51:28 +01:00
URL: https://github.com/Genymobile/scrcpy
Source0: %{name}-%{version}.tar.xz
Accepting request 779167 from home:ecsos - Update to 1.12.1 * Fix bit-rate parsing when "long" is 32 bits (#995) - Changes from 1.12.0 * Add shortcut (Ctrl+r) to rotate device screen (#11) * Respect scrolling configuration on macOS (#966) * Initialize Application object (fix crashes on some devices) (#940) * Restore the .jar extension on the device (fix crashes on some * devices) (#944) * Inject mouse events with a virtual device id (fix crashes on some * devices) (#962) * Refuse to push server if it points to a directory (#956) - Run spec-cleaner. - Update to version 1.11: * Add support for touchscreens/multitouch (#22, #865) * Add --max-fps to limit the frame rate (Android 10 only) (#488) * Add options to set an initial window size and position (#762) * Add option to disable window decorations (#762) * Add --prefer-text option (#650) * Add manpage * Fix copy-paste on Android 10 devices (#796) * Fix "turn screen off" on Android 10 devices (#835) * Fix clicks not working in some games (#635) * Fix device rotation while the window is maximized (#750) * Fix scrcpy-noconsole.exe (#691) * Fix HiDPI support (#829) * Fix segfault on empty file recorded (#918) * Fix recorded video to avoid crashes in Adobe Premiere (#702) * Fix segfault on recording with old FFmpeg versions (#707) * Fix several crashes on some devices (like Meizu) (#240, #365, #921) * Upgrade FFmpeg to 4.2.1 in Windows releases * Upgrade platform-tools to 29.0.5 (adb) in Windows releases OBS-URL: https://build.opensuse.org/request/show/779167 OBS-URL: https://build.opensuse.org/package/show/hardware/scrcpy?expand=0&rev=66
2020-03-03 09:51:28 +01:00
Source1: https://github.com/Genymobile/scrcpy/releases/download/v%{version}/scrcpy-server-v%{version}
BuildRequires: gcc
BuildRequires: meson >= 0.48
Accepting request 779167 from home:ecsos - Update to 1.12.1 * Fix bit-rate parsing when "long" is 32 bits (#995) - Changes from 1.12.0 * Add shortcut (Ctrl+r) to rotate device screen (#11) * Respect scrolling configuration on macOS (#966) * Initialize Application object (fix crashes on some devices) (#940) * Restore the .jar extension on the device (fix crashes on some * devices) (#944) * Inject mouse events with a virtual device id (fix crashes on some * devices) (#962) * Refuse to push server if it points to a directory (#956) - Run spec-cleaner. - Update to version 1.11: * Add support for touchscreens/multitouch (#22, #865) * Add --max-fps to limit the frame rate (Android 10 only) (#488) * Add options to set an initial window size and position (#762) * Add option to disable window decorations (#762) * Add --prefer-text option (#650) * Add manpage * Fix copy-paste on Android 10 devices (#796) * Fix "turn screen off" on Android 10 devices (#835) * Fix clicks not working in some games (#635) * Fix device rotation while the window is maximized (#750) * Fix scrcpy-noconsole.exe (#691) * Fix HiDPI support (#829) * Fix segfault on empty file recorded (#918) * Fix recorded video to avoid crashes in Adobe Premiere (#702) * Fix segfault on recording with old FFmpeg versions (#707) * Fix several crashes on some devices (like Meizu) (#240, #365, #921) * Upgrade FFmpeg to 4.2.1 in Windows releases * Upgrade platform-tools to 29.0.5 (adb) in Windows releases OBS-URL: https://build.opensuse.org/request/show/779167 OBS-URL: https://build.opensuse.org/package/show/hardware/scrcpy?expand=0&rev=66
2020-03-03 09:51:28 +01:00
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libavcodec)
BuildRequires: pkgconfig(libavdevice)
BuildRequires: pkgconfig(libavformat)
Accepting request 779167 from home:ecsos - Update to 1.12.1 * Fix bit-rate parsing when "long" is 32 bits (#995) - Changes from 1.12.0 * Add shortcut (Ctrl+r) to rotate device screen (#11) * Respect scrolling configuration on macOS (#966) * Initialize Application object (fix crashes on some devices) (#940) * Restore the .jar extension on the device (fix crashes on some * devices) (#944) * Inject mouse events with a virtual device id (fix crashes on some * devices) (#962) * Refuse to push server if it points to a directory (#956) - Run spec-cleaner. - Update to version 1.11: * Add support for touchscreens/multitouch (#22, #865) * Add --max-fps to limit the frame rate (Android 10 only) (#488) * Add options to set an initial window size and position (#762) * Add option to disable window decorations (#762) * Add --prefer-text option (#650) * Add manpage * Fix copy-paste on Android 10 devices (#796) * Fix "turn screen off" on Android 10 devices (#835) * Fix clicks not working in some games (#635) * Fix device rotation while the window is maximized (#750) * Fix scrcpy-noconsole.exe (#691) * Fix HiDPI support (#829) * Fix segfault on empty file recorded (#918) * Fix recorded video to avoid crashes in Adobe Premiere (#702) * Fix segfault on recording with old FFmpeg versions (#707) * Fix several crashes on some devices (like Meizu) (#240, #365, #921) * Upgrade FFmpeg to 4.2.1 in Windows releases * Upgrade platform-tools to 29.0.5 (adb) in Windows releases OBS-URL: https://build.opensuse.org/request/show/779167 OBS-URL: https://build.opensuse.org/package/show/hardware/scrcpy?expand=0&rev=66
2020-03-03 09:51:28 +01:00
BuildRequires: pkgconfig(sdl2)
%description
This application provides display and control of Android devices connected on USB. It does not require any root access
%prep
%setup -q
%build
%meson \
Accepting request 779167 from home:ecsos - Update to 1.12.1 * Fix bit-rate parsing when "long" is 32 bits (#995) - Changes from 1.12.0 * Add shortcut (Ctrl+r) to rotate device screen (#11) * Respect scrolling configuration on macOS (#966) * Initialize Application object (fix crashes on some devices) (#940) * Restore the .jar extension on the device (fix crashes on some * devices) (#944) * Inject mouse events with a virtual device id (fix crashes on some * devices) (#962) * Refuse to push server if it points to a directory (#956) - Run spec-cleaner. - Update to version 1.11: * Add support for touchscreens/multitouch (#22, #865) * Add --max-fps to limit the frame rate (Android 10 only) (#488) * Add options to set an initial window size and position (#762) * Add option to disable window decorations (#762) * Add --prefer-text option (#650) * Add manpage * Fix copy-paste on Android 10 devices (#796) * Fix "turn screen off" on Android 10 devices (#835) * Fix clicks not working in some games (#635) * Fix device rotation while the window is maximized (#750) * Fix scrcpy-noconsole.exe (#691) * Fix HiDPI support (#829) * Fix segfault on empty file recorded (#918) * Fix recorded video to avoid crashes in Adobe Premiere (#702) * Fix segfault on recording with old FFmpeg versions (#707) * Fix several crashes on some devices (like Meizu) (#240, #365, #921) * Upgrade FFmpeg to 4.2.1 in Windows releases * Upgrade platform-tools to 29.0.5 (adb) in Windows releases OBS-URL: https://build.opensuse.org/request/show/779167 OBS-URL: https://build.opensuse.org/package/show/hardware/scrcpy?expand=0&rev=66
2020-03-03 09:51:28 +01:00
-Dprebuilt_server='%{SOURCE1}'
%meson_build
%install
%meson_install
%files
%license LICENSE
Accepting request 779167 from home:ecsos - Update to 1.12.1 * Fix bit-rate parsing when "long" is 32 bits (#995) - Changes from 1.12.0 * Add shortcut (Ctrl+r) to rotate device screen (#11) * Respect scrolling configuration on macOS (#966) * Initialize Application object (fix crashes on some devices) (#940) * Restore the .jar extension on the device (fix crashes on some * devices) (#944) * Inject mouse events with a virtual device id (fix crashes on some * devices) (#962) * Refuse to push server if it points to a directory (#956) - Run spec-cleaner. - Update to version 1.11: * Add support for touchscreens/multitouch (#22, #865) * Add --max-fps to limit the frame rate (Android 10 only) (#488) * Add options to set an initial window size and position (#762) * Add option to disable window decorations (#762) * Add --prefer-text option (#650) * Add manpage * Fix copy-paste on Android 10 devices (#796) * Fix "turn screen off" on Android 10 devices (#835) * Fix clicks not working in some games (#635) * Fix device rotation while the window is maximized (#750) * Fix scrcpy-noconsole.exe (#691) * Fix HiDPI support (#829) * Fix segfault on empty file recorded (#918) * Fix recorded video to avoid crashes in Adobe Premiere (#702) * Fix segfault on recording with old FFmpeg versions (#707) * Fix several crashes on some devices (like Meizu) (#240, #365, #921) * Upgrade FFmpeg to 4.2.1 in Windows releases * Upgrade platform-tools to 29.0.5 (adb) in Windows releases OBS-URL: https://build.opensuse.org/request/show/779167 OBS-URL: https://build.opensuse.org/package/show/hardware/scrcpy?expand=0&rev=66
2020-03-03 09:51:28 +01:00
%doc README.md DEVELOP.md FAQ.md
%{_bindir}/%{name}
%{_datadir}/%{name}
Accepting request 779167 from home:ecsos - Update to 1.12.1 * Fix bit-rate parsing when "long" is 32 bits (#995) - Changes from 1.12.0 * Add shortcut (Ctrl+r) to rotate device screen (#11) * Respect scrolling configuration on macOS (#966) * Initialize Application object (fix crashes on some devices) (#940) * Restore the .jar extension on the device (fix crashes on some * devices) (#944) * Inject mouse events with a virtual device id (fix crashes on some * devices) (#962) * Refuse to push server if it points to a directory (#956) - Run spec-cleaner. - Update to version 1.11: * Add support for touchscreens/multitouch (#22, #865) * Add --max-fps to limit the frame rate (Android 10 only) (#488) * Add options to set an initial window size and position (#762) * Add option to disable window decorations (#762) * Add --prefer-text option (#650) * Add manpage * Fix copy-paste on Android 10 devices (#796) * Fix "turn screen off" on Android 10 devices (#835) * Fix clicks not working in some games (#635) * Fix device rotation while the window is maximized (#750) * Fix scrcpy-noconsole.exe (#691) * Fix HiDPI support (#829) * Fix segfault on empty file recorded (#918) * Fix recorded video to avoid crashes in Adobe Premiere (#702) * Fix segfault on recording with old FFmpeg versions (#707) * Fix several crashes on some devices (like Meizu) (#240, #365, #921) * Upgrade FFmpeg to 4.2.1 in Windows releases * Upgrade platform-tools to 29.0.5 (adb) in Windows releases OBS-URL: https://build.opensuse.org/request/show/779167 OBS-URL: https://build.opensuse.org/package/show/hardware/scrcpy?expand=0&rev=66
2020-03-03 09:51:28 +01:00
%{_mandir}/man1/%{name}.1%{?ext_man}
%changelog