scrcpy/scrcpy.spec

90 lines
2.5 KiB
RPMSpec
Raw Normal View History

#
# spec file for package scrcpy
#
Accepting request 962359 from home:munix9 - Update to version 1.23: * Bump version to 1.23 * Add missing include for vector * Add contact links to the README * Add Bash completion script * Add ZSH completion script * Move "Device unauthorized" in FAQ * Update FAQ to match the latest version * Remove spurious empty line * Mention adb wireless option for Android 11+ * Make step more explicit in wireless section * Add troubleshooting in wireless section * Improve phrasing in wireless section * Renumber steps in wireless section * Add an explicit first step in wireless section * Update HID/OTG features in README * Reorder --tcpip option in cli * Also retry on IllegalArgumentException * Increase `adb devices -l` max output size * Use vector for listing ADB devices * Use vector for listing USB devices * Add sc_vector * Move data/ to app/ * Disable USB features for win32 * Forbid HID input without OTG on Windows * Kill adb daemon in OTG mode on Windows * Make intr optional for adb commands * Remove obsolete text in error message * Build for Windows with libusb support * Fix libusb callback for Windows * Avoid PRIx16 printf format on Windows * Remove USB hotplug callback error log * Report USB device disconnection when detected * Work around mouse capture SDL bug on macOS * Pass screen instance to mouse capture functions * Remove "linux-only" mentions for HID/OTG features * Build on macOS with libusb support * Fix typo * Remove useless '\n' in log * Remove fprintf() in tests * Add --print-fps to enable FPS counter on start * Move FPS counter start/stop logs * Update FAQ about Windows scaling behavior * Use sc_prefix for fps counter * Fix links in German README * Enforce deadline reached on timeout * Fix fps_counter tick type * Add German translation of README.md * Add --no-cleanup option * Fix order of options * Add compilation flag for USB features * Add compilation flag for V4L2 feature * Fix double adb tunnel closing * Rename buffer util functions with sc_ prefix * Rename HEADER_SIZE to SC_PACKET_HEADER_SIZE * Remove unused BUFSIZE * Remove sc_demuxer_parse() * Pass key frame flag from the device * Store packet flags in PTS most significant bits * Indent ifdef for clarity * Improve error message for unsupported usb hotplug * Do not duplicate relative mouse mode state * Fix USB device leak on connection error * Move prebuilt-deps/ to app/ * Reorder release.mk recipes * Pass --buildtype=release as a single meson arg * Print libusb version on --version * Print both compiled and linked versions of libs * Move version handling to a separate file * Log device opening errors during listing * Mention --select-usb and --select-tcpip in README * Add option to select USB or TCP/IP devices * Introduce adb device selector * Execute adb start-server * Remove sc_adb_get_serialno() * Allow selecting a device from IP without port * Expose simple API to select a single adb device * Expose function to test if a serial is TCP/IP * Add adb devices parser * Refactor device configuration * List and select USB devices separately * Expose simple API to select a single USB device * Add move-function for sc_usb_device * Move SC_PRIsizet to compat.h * Rename function to destroy a list of USB devices * Add generic LOG() macro with level parameter * Remove LOGC() * Improve USB device open log * Inline USB device opening * Remove log_libusb_error() * Remove confusing sc_str_truncate() * Fix adb connect parsing * Fix adb get-serialno parsing * Fix adb getprop parsing * Fix adb device ip parsing * Store actual serial in sc_server * Simplify switch to TCPIP function * Build adb argv statically * Expose adb executable path publicly * Rename adb_command to adb_executable * Assert non-NULL serial * Assert "adb disconnect" is called with an argument * Remove useless undef * Remove screensaver log * Remove platform-tools installation suggestion * Use sc_ prefix for adb * Move ADB code to adb/ * Simplify demuxer * Rename stream to sc_demuxer * Use sc_ prefix for recorder * Use sc_ prefix for decoder * Add missing spaces in help * Downscale and retry also on early MediaCodec error * Fix include for standard library header * Add warning in function documentation * Fix sc_str_truncate() documentation * Fix comment typo * Update FAQ.zh-Hans.md to v1.22 * Update README.zh-Hans.md to v1.22 * Update links to v1.22 OBS-URL: https://build.opensuse.org/request/show/962359 OBS-URL: https://build.opensuse.org/package/show/hardware/scrcpy?expand=0&rev=75
2022-03-19 10:33:11 +01:00
# Copyright (c) 2022 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 983210 from home:munix9 - Update to version 1.24: * Bump version to 1.24 * Revert "Make OTG window resizable" * Fix inverted check * Fix release script for platform-tools 33.0.1 * Use quotes for commands in documentation * Update installed files list in BUILD documentation * Upgrade FFmpeg (5.0.1) for Windows 64-bit * Upgrade SDL (2.0.22) for Windows * Enable linear filtering in OTG mode * Make OTG window resizable * Apply requested window size in OTG mode * Create OTG window with HIGHDPI flag * Add option to not power on on start * Add missing mouse shortcuts in --help * Fix GitHub case in BUILD * Fix typo in German README * Fix typos in Indonesian README * Upgrade libusb (1.0.26) for Windows * Upgrade platform-tools (33.0.1) for Windows * Remove obsolete alternative injection method * Adapt event injection to Android 13 * Improve README * Fix typos/grammar issues in README * Update README.it.md to v1.23 * Add missing SC_ prefix to header guards * Add missing include * Fix reference to FAQ in README * Fix icon path in ./run * Fix OpenGL ES prefix skip * Improve README.zh-Hans.md * Consider emulators as TCP/IP devices * Log an error on unexpected device state * Use $ANDROID_SERIAL if no selector is specified * Document exit status in --help * Add specific exit code for device disconnection * Report server connection state * Improve HID event push error message * Fix typo in error message * Add libusb error log * Fix icon path in README * Update links to v1.23 OBS-URL: https://build.opensuse.org/request/show/983210 OBS-URL: https://build.opensuse.org/package/show/hardware/scrcpy?expand=0&rev=76
2022-06-17 11:07:38 +02:00
Version: 1.24
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: hicolor-icon-theme
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)
BuildRequires: pkgconfig(libusb-1.0)
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)
Accepting request 983210 from home:munix9 - Update to version 1.24: * Bump version to 1.24 * Revert "Make OTG window resizable" * Fix inverted check * Fix release script for platform-tools 33.0.1 * Use quotes for commands in documentation * Update installed files list in BUILD documentation * Upgrade FFmpeg (5.0.1) for Windows 64-bit * Upgrade SDL (2.0.22) for Windows * Enable linear filtering in OTG mode * Make OTG window resizable * Apply requested window size in OTG mode * Create OTG window with HIGHDPI flag * Add option to not power on on start * Add missing mouse shortcuts in --help * Fix GitHub case in BUILD * Fix typo in German README * Fix typos in Indonesian README * Upgrade libusb (1.0.26) for Windows * Upgrade platform-tools (33.0.1) for Windows * Remove obsolete alternative injection method * Adapt event injection to Android 13 * Improve README * Fix typos/grammar issues in README * Update README.it.md to v1.23 * Add missing SC_ prefix to header guards * Add missing include * Fix reference to FAQ in README * Fix icon path in ./run * Fix OpenGL ES prefix skip * Improve README.zh-Hans.md * Consider emulators as TCP/IP devices * Log an error on unexpected device state * Use $ANDROID_SERIAL if no selector is specified * Document exit status in --help * Add specific exit code for device disconnection * Report server connection state * Improve HID event push error message * Fix typo in error message * Add libusb error log * Fix icon path in README * Update links to v1.23 OBS-URL: https://build.opensuse.org/request/show/983210 OBS-URL: https://build.opensuse.org/package/show/hardware/scrcpy?expand=0&rev=76
2022-06-17 11:07:38 +02:00
Recommends: android-tools
%description
This application provides display and control of Android devices
connected on USB. It does not require any root access.
Accepting request 962359 from home:munix9 - Update to version 1.23: * Bump version to 1.23 * Add missing include for vector * Add contact links to the README * Add Bash completion script * Add ZSH completion script * Move "Device unauthorized" in FAQ * Update FAQ to match the latest version * Remove spurious empty line * Mention adb wireless option for Android 11+ * Make step more explicit in wireless section * Add troubleshooting in wireless section * Improve phrasing in wireless section * Renumber steps in wireless section * Add an explicit first step in wireless section * Update HID/OTG features in README * Reorder --tcpip option in cli * Also retry on IllegalArgumentException * Increase `adb devices -l` max output size * Use vector for listing ADB devices * Use vector for listing USB devices * Add sc_vector * Move data/ to app/ * Disable USB features for win32 * Forbid HID input without OTG on Windows * Kill adb daemon in OTG mode on Windows * Make intr optional for adb commands * Remove obsolete text in error message * Build for Windows with libusb support * Fix libusb callback for Windows * Avoid PRIx16 printf format on Windows * Remove USB hotplug callback error log * Report USB device disconnection when detected * Work around mouse capture SDL bug on macOS * Pass screen instance to mouse capture functions * Remove "linux-only" mentions for HID/OTG features * Build on macOS with libusb support * Fix typo * Remove useless '\n' in log * Remove fprintf() in tests * Add --print-fps to enable FPS counter on start * Move FPS counter start/stop logs * Update FAQ about Windows scaling behavior * Use sc_prefix for fps counter * Fix links in German README * Enforce deadline reached on timeout * Fix fps_counter tick type * Add German translation of README.md * Add --no-cleanup option * Fix order of options * Add compilation flag for USB features * Add compilation flag for V4L2 feature * Fix double adb tunnel closing * Rename buffer util functions with sc_ prefix * Rename HEADER_SIZE to SC_PACKET_HEADER_SIZE * Remove unused BUFSIZE * Remove sc_demuxer_parse() * Pass key frame flag from the device * Store packet flags in PTS most significant bits * Indent ifdef for clarity * Improve error message for unsupported usb hotplug * Do not duplicate relative mouse mode state * Fix USB device leak on connection error * Move prebuilt-deps/ to app/ * Reorder release.mk recipes * Pass --buildtype=release as a single meson arg * Print libusb version on --version * Print both compiled and linked versions of libs * Move version handling to a separate file * Log device opening errors during listing * Mention --select-usb and --select-tcpip in README * Add option to select USB or TCP/IP devices * Introduce adb device selector * Execute adb start-server * Remove sc_adb_get_serialno() * Allow selecting a device from IP without port * Expose simple API to select a single adb device * Expose function to test if a serial is TCP/IP * Add adb devices parser * Refactor device configuration * List and select USB devices separately * Expose simple API to select a single USB device * Add move-function for sc_usb_device * Move SC_PRIsizet to compat.h * Rename function to destroy a list of USB devices * Add generic LOG() macro with level parameter * Remove LOGC() * Improve USB device open log * Inline USB device opening * Remove log_libusb_error() * Remove confusing sc_str_truncate() * Fix adb connect parsing * Fix adb get-serialno parsing * Fix adb getprop parsing * Fix adb device ip parsing * Store actual serial in sc_server * Simplify switch to TCPIP function * Build adb argv statically * Expose adb executable path publicly * Rename adb_command to adb_executable * Assert non-NULL serial * Assert "adb disconnect" is called with an argument * Remove useless undef * Remove screensaver log * Remove platform-tools installation suggestion * Use sc_ prefix for adb * Move ADB code to adb/ * Simplify demuxer * Rename stream to sc_demuxer * Use sc_ prefix for recorder * Use sc_ prefix for decoder * Add missing spaces in help * Downscale and retry also on early MediaCodec error * Fix include for standard library header * Add warning in function documentation * Fix sc_str_truncate() documentation * Fix comment typo * Update FAQ.zh-Hans.md to v1.22 * Update README.zh-Hans.md to v1.22 * Update links to v1.22 OBS-URL: https://build.opensuse.org/request/show/962359 OBS-URL: https://build.opensuse.org/package/show/hardware/scrcpy?expand=0&rev=75
2022-03-19 10:33:11 +01:00
%package bash-completion
Summary: Scrcpy Bash completion
BuildRequires: bash-completion
Requires: %{name} = %{version}
Requires: bash-completion
Supplements: (%{name} and bash-completion)
BuildArch: noarch
%description bash-completion
Optional dependency offering bash completion for scrcpy.
%package zsh-completion
Summary: Scrcpy zsh completion
BuildRequires: zsh
Requires: %{name} = %{version}
Requires: zsh
Supplements: (%{name} and zsh)
BuildArch: noarch
%description zsh-completion
Optional dependency offering zsh completion for scrcpy.
%prep
Accepting request 983210 from home:munix9 - Update to version 1.24: * Bump version to 1.24 * Revert "Make OTG window resizable" * Fix inverted check * Fix release script for platform-tools 33.0.1 * Use quotes for commands in documentation * Update installed files list in BUILD documentation * Upgrade FFmpeg (5.0.1) for Windows 64-bit * Upgrade SDL (2.0.22) for Windows * Enable linear filtering in OTG mode * Make OTG window resizable * Apply requested window size in OTG mode * Create OTG window with HIGHDPI flag * Add option to not power on on start * Add missing mouse shortcuts in --help * Fix GitHub case in BUILD * Fix typo in German README * Fix typos in Indonesian README * Upgrade libusb (1.0.26) for Windows * Upgrade platform-tools (33.0.1) for Windows * Remove obsolete alternative injection method * Adapt event injection to Android 13 * Improve README * Fix typos/grammar issues in README * Update README.it.md to v1.23 * Add missing SC_ prefix to header guards * Add missing include * Fix reference to FAQ in README * Fix icon path in ./run * Fix OpenGL ES prefix skip * Improve README.zh-Hans.md * Consider emulators as TCP/IP devices * Log an error on unexpected device state * Use $ANDROID_SERIAL if no selector is specified * Document exit status in --help * Add specific exit code for device disconnection * Report server connection state * Improve HID event push error message * Fix typo in error message * Add libusb error log * Fix icon path in README * Update links to v1.23 OBS-URL: https://build.opensuse.org/request/show/983210 OBS-URL: https://build.opensuse.org/package/show/hardware/scrcpy?expand=0&rev=76
2022-06-17 11:07:38 +02:00
%autosetup -p1
%build
Accepting request 983210 from home:munix9 - Update to version 1.24: * Bump version to 1.24 * Revert "Make OTG window resizable" * Fix inverted check * Fix release script for platform-tools 33.0.1 * Use quotes for commands in documentation * Update installed files list in BUILD documentation * Upgrade FFmpeg (5.0.1) for Windows 64-bit * Upgrade SDL (2.0.22) for Windows * Enable linear filtering in OTG mode * Make OTG window resizable * Apply requested window size in OTG mode * Create OTG window with HIGHDPI flag * Add option to not power on on start * Add missing mouse shortcuts in --help * Fix GitHub case in BUILD * Fix typo in German README * Fix typos in Indonesian README * Upgrade libusb (1.0.26) for Windows * Upgrade platform-tools (33.0.1) for Windows * Remove obsolete alternative injection method * Adapt event injection to Android 13 * Improve README * Fix typos/grammar issues in README * Update README.it.md to v1.23 * Add missing SC_ prefix to header guards * Add missing include * Fix reference to FAQ in README * Fix icon path in ./run * Fix OpenGL ES prefix skip * Improve README.zh-Hans.md * Consider emulators as TCP/IP devices * Log an error on unexpected device state * Use $ANDROID_SERIAL if no selector is specified * Document exit status in --help * Add specific exit code for device disconnection * Report server connection state * Improve HID event push error message * Fix typo in error message * Add libusb error log * Fix icon path in README * Update links to v1.23 OBS-URL: https://build.opensuse.org/request/show/983210 OBS-URL: https://build.opensuse.org/package/show/hardware/scrcpy?expand=0&rev=76
2022-06-17 11:07:38 +02:00
%meson -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}
%{_datadir}/icons/hicolor/*/apps/scrcpy.png
Accepting request 962359 from home:munix9 - Update to version 1.23: * Bump version to 1.23 * Add missing include for vector * Add contact links to the README * Add Bash completion script * Add ZSH completion script * Move "Device unauthorized" in FAQ * Update FAQ to match the latest version * Remove spurious empty line * Mention adb wireless option for Android 11+ * Make step more explicit in wireless section * Add troubleshooting in wireless section * Improve phrasing in wireless section * Renumber steps in wireless section * Add an explicit first step in wireless section * Update HID/OTG features in README * Reorder --tcpip option in cli * Also retry on IllegalArgumentException * Increase `adb devices -l` max output size * Use vector for listing ADB devices * Use vector for listing USB devices * Add sc_vector * Move data/ to app/ * Disable USB features for win32 * Forbid HID input without OTG on Windows * Kill adb daemon in OTG mode on Windows * Make intr optional for adb commands * Remove obsolete text in error message * Build for Windows with libusb support * Fix libusb callback for Windows * Avoid PRIx16 printf format on Windows * Remove USB hotplug callback error log * Report USB device disconnection when detected * Work around mouse capture SDL bug on macOS * Pass screen instance to mouse capture functions * Remove "linux-only" mentions for HID/OTG features * Build on macOS with libusb support * Fix typo * Remove useless '\n' in log * Remove fprintf() in tests * Add --print-fps to enable FPS counter on start * Move FPS counter start/stop logs * Update FAQ about Windows scaling behavior * Use sc_prefix for fps counter * Fix links in German README * Enforce deadline reached on timeout * Fix fps_counter tick type * Add German translation of README.md * Add --no-cleanup option * Fix order of options * Add compilation flag for USB features * Add compilation flag for V4L2 feature * Fix double adb tunnel closing * Rename buffer util functions with sc_ prefix * Rename HEADER_SIZE to SC_PACKET_HEADER_SIZE * Remove unused BUFSIZE * Remove sc_demuxer_parse() * Pass key frame flag from the device * Store packet flags in PTS most significant bits * Indent ifdef for clarity * Improve error message for unsupported usb hotplug * Do not duplicate relative mouse mode state * Fix USB device leak on connection error * Move prebuilt-deps/ to app/ * Reorder release.mk recipes * Pass --buildtype=release as a single meson arg * Print libusb version on --version * Print both compiled and linked versions of libs * Move version handling to a separate file * Log device opening errors during listing * Mention --select-usb and --select-tcpip in README * Add option to select USB or TCP/IP devices * Introduce adb device selector * Execute adb start-server * Remove sc_adb_get_serialno() * Allow selecting a device from IP without port * Expose simple API to select a single adb device * Expose function to test if a serial is TCP/IP * Add adb devices parser * Refactor device configuration * List and select USB devices separately * Expose simple API to select a single USB device * Add move-function for sc_usb_device * Move SC_PRIsizet to compat.h * Rename function to destroy a list of USB devices * Add generic LOG() macro with level parameter * Remove LOGC() * Improve USB device open log * Inline USB device opening * Remove log_libusb_error() * Remove confusing sc_str_truncate() * Fix adb connect parsing * Fix adb get-serialno parsing * Fix adb getprop parsing * Fix adb device ip parsing * Store actual serial in sc_server * Simplify switch to TCPIP function * Build adb argv statically * Expose adb executable path publicly * Rename adb_command to adb_executable * Assert non-NULL serial * Assert "adb disconnect" is called with an argument * Remove useless undef * Remove screensaver log * Remove platform-tools installation suggestion * Use sc_ prefix for adb * Move ADB code to adb/ * Simplify demuxer * Rename stream to sc_demuxer * Use sc_ prefix for recorder * Use sc_ prefix for decoder * Add missing spaces in help * Downscale and retry also on early MediaCodec error * Fix include for standard library header * Add warning in function documentation * Fix sc_str_truncate() documentation * Fix comment typo * Update FAQ.zh-Hans.md to v1.22 * Update README.zh-Hans.md to v1.22 * Update links to v1.22 OBS-URL: https://build.opensuse.org/request/show/962359 OBS-URL: https://build.opensuse.org/package/show/hardware/scrcpy?expand=0&rev=75
2022-03-19 10:33:11 +01:00
%files bash-completion
%{_datadir}/bash-completion/completions/scrcpy
%files zsh-completion
%{_datadir}/zsh/site-functions/_scrcpy
%changelog