From 7c27c219ef725e78ced0ba9f6880dd47fae14a33f1f0b0580ceb15f33eb90cba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 3 Mar 2020 08:51:28 +0000 Subject: [PATCH] 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 --- .gitattributes | 2 ++ _service | 19 ------------------- _servicedata | 4 ---- scrcpy-1.12.1.tar.gz | 3 +++ scrcpy-server-v1.10.jar | 3 --- scrcpy-server-v1.12.1 | 3 +++ scrcpy.changes | 41 +++++++++++++++++++++++++++++++++++++++++ scrcpy.spec | 31 +++++++++++++++++-------------- 8 files changed, 66 insertions(+), 40 deletions(-) delete mode 100644 _service delete mode 100644 _servicedata create mode 100644 scrcpy-1.12.1.tar.gz delete mode 100644 scrcpy-server-v1.10.jar create mode 100644 scrcpy-server-v1.12.1 diff --git a/.gitattributes b/.gitattributes index 9b03811..fd6c8d2 100644 --- a/.gitattributes +++ b/.gitattributes @@ -21,3 +21,5 @@ *.xz filter=lfs diff=lfs merge=lfs -text *.zip filter=lfs diff=lfs merge=lfs -text *.zst filter=lfs diff=lfs merge=lfs -text +## Specific LFS patterns +scrcpy-server-v1.12.1 filter=lfs diff=lfs merge=lfs -text diff --git a/_service b/_service deleted file mode 100644 index c56e569..0000000 --- a/_service +++ /dev/null @@ -1,19 +0,0 @@ - - - git - https://github.com/Genymobile/scrcpy.git - @PARENT_TAG@ - v(.*) - enable - release - - - *.tar - xz - - - yes - - - - diff --git a/_servicedata b/_servicedata deleted file mode 100644 index 37dcc80..0000000 --- a/_servicedata +++ /dev/null @@ -1,4 +0,0 @@ - - - https://github.com/Genymobile/scrcpy.git - 9bcee4ea428472c884fc869a42e0d667c5958b4b \ No newline at end of file diff --git a/scrcpy-1.12.1.tar.gz b/scrcpy-1.12.1.tar.gz new file mode 100644 index 0000000..deea5c9 --- /dev/null +++ b/scrcpy-1.12.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7692664e1bd703421eb9659cc9956d9f0ac64eb14abddab7b2ade37625f0243d +size 215449 diff --git a/scrcpy-server-v1.10.jar b/scrcpy-server-v1.10.jar deleted file mode 100644 index 7742c99..0000000 --- a/scrcpy-server-v1.10.jar +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cbeb1a4e046f1392c1dc73c3ccffd7f86dec4636b505556ea20929687a119390 -size 22546 diff --git a/scrcpy-server-v1.12.1 b/scrcpy-server-v1.12.1 new file mode 100644 index 0000000..25f61a7 --- /dev/null +++ b/scrcpy-server-v1.12.1 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:63e569c8a1d0c1df31d48c4214871c479a601782945fed50c1e61167d78266ea +size 26202 diff --git a/scrcpy.changes b/scrcpy.changes index cd81e09..7cff253 100644 --- a/scrcpy.changes +++ b/scrcpy.changes @@ -1,3 +1,44 @@ +------------------------------------------------------------------- +Tue Feb 25 18:23:52 UTC 2020 - ecsos@opensuse.org + +- 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. + +------------------------------------------------------------------- +Wed Nov 20 18:16:54 UTC 2019 - ecsos@opensuse.org + +- 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 + ------------------------------------------------------------------- Mon Aug 05 11:20:09 UTC 2019 - pousaduarte@gmail.com diff --git a/scrcpy.spec b/scrcpy.spec index 7ac45b2..d8b708e 100644 --- a/scrcpy.spec +++ b/scrcpy.spec @@ -1,7 +1,7 @@ # # spec file for package scrcpy # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -12,25 +12,25 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: scrcpy -Version: 1.10 +Version: 1.12.1 Release: 0 Summary: Display and control your Android device License: Apache-2.0 Group: Hardware/Mobile -Url: https://github.com/Genymobile/scrcpy -Source0: %{name}-%{version}.tar.xz -Source1: https://github.com/Genymobile/scrcpy/releases/download/v%{version}/scrcpy-server-v%{version}.jar - -BuildRequires: meson +URL: https://github.com/Genymobile/scrcpy +Source0: https://github.com/Genymobile/scrcpy/archive/v%{version}/%{name}-%{version}.tar.gz +Source1: https://github.com/Genymobile/scrcpy/releases/download/v%{version}/scrcpy-server-v%{version} BuildRequires: gcc -BuildRequires: pkgconfig(sdl2) +BuildRequires: meson +BuildRequires: pkgconfig BuildRequires: pkgconfig(libavcodec) BuildRequires: pkgconfig(libavformat) +BuildRequires: pkgconfig(sdl2) %description This application provides display and control of Android devices connected on USB. It does not require any root access @@ -41,19 +41,22 @@ This application provides display and control of Android devices connected on US %build %meson \ - -Dprebuilt_server='%{S:1}' + -Dprebuilt_server='%{SOURCE1}' %meson_build %install - -%meson_install +# rise up error with jar +#%%meson_install +install -Dm 0755 build/app/%{name} %{buildroot}%{_bindir}/%{name} +install -Dm 0644 build/server/scrcpy-server %{buildroot}%{_datadir}/%{name}/scrcpy-server +install -Dm 0644 app/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1 %files -%doc README.md DEVELOP.md FAQ.md %license LICENSE - +%doc README.md DEVELOP.md FAQ.md %{_bindir}/%{name} %{_datadir}/%{name} +%{_mandir}/man1/%{name}.1%{?ext_man} %changelog