Accepting request 1045458 from home:munix9
- Update to version 1.25: * Bump version to 1.25 * Upgrade FFmpeg (5.1.2) for Windows 64-bit * Upgrade SDL (2.26.1) for Windows * Upgrade platform-tools (33.0.3) for Windows * Force mouse source when --forward-all-clicks * Remove continuous resizing workaround for Windows * Add parent directory in release zipfile * Use "meson setup" * Adapt ClipboardManager for Android 13 * Upgrade junit to 4.13.2 * Use current adb port (if any) for --tcpip * Fix CommandParserTest code style * Always use --key=value in README * Fix DisplayInfo parsing for Android Q * Support wchar_t in argv for Windows * Avoid string concatenation in crossfiles * Build log.c for test_cli * Add missing include <string.h> for strlen() * Add missing include <string.h> for memmove() * Add -s auto-completion for zsh * Add -s auto-completion for bash * Make ServiceManager and Settings methods static * Fix typo in logs * Add fallback to get DisplayInfo * Use /dev/null instead of closing fds * Extract $BUILD_TOOLS_DIR * Add scrcpy-console.desktop * Use shell environment to execute launcher * Add desktop entry file for Linux app launchers * Replace hardcoded 'share/' by datadir variable * Upgrade Android SDK to 33 * Upgrade gradle build tools to 7.2.2 * Move from jcenter() to mavenCentral() * Use precise scrolling values * Add conversion from float to fixed-point i16 * Add unit test for float encoding * Extract conversion from float to u16 fixed-point * Rename buffer_util.h to binary.h * Add unit test for float decoding * Extract conversion from u16 fixed-point to float * Move toUnsigned() to a Binary util class * Remove deprecated meson.source_root() * Move README and FAQ translations to the wiki * Fix FAQ formatting * Use DisplayManagerGlobal instance * Rename net_listen() parameter * Replace '%g' by '%f' as printf format * Detect Windows using _WIN32 in network util * Fix protocol documentation in comments * Add missing allocation failure check * Add missing LOG_OOM() on malloc failure * Remove useless dependencies reference * Document envvars for all platforms * Fix environment variable configuration in FAQ * Remove unused stream.h * Rename function to simplify * Add missing return 0 in tests * Fix function declarations * Reduce SHA-256 size in README and BUILD * Update links to v1.24 OBS-URL: https://build.opensuse.org/request/show/1045458 OBS-URL: https://build.opensuse.org/package/show/hardware/scrcpy?expand=0&rev=77
This commit is contained in:
parent
f71e3b2c05
commit
295189628e
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -22,4 +22,4 @@
|
|||||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||||
## Specific LFS patterns
|
## Specific LFS patterns
|
||||||
scrcpy-server-v1.24 filter=lfs diff=lfs merge=lfs -text
|
scrcpy-server-v1.25 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
2
_service
2
_service
@ -5,7 +5,7 @@
|
|||||||
<param name="versionformat">@PARENT_TAG@</param>
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
<param name="versionrewrite-pattern">v(.*)</param>
|
<param name="versionrewrite-pattern">v(.*)</param>
|
||||||
<param name="changesgenerate">enable</param>
|
<param name="changesgenerate">enable</param>
|
||||||
<param name="revision">v1.24</param>
|
<param name="revision">v1.25</param>
|
||||||
</service>
|
</service>
|
||||||
<service name="recompress" mode="disabled">
|
<service name="recompress" mode="disabled">
|
||||||
<param name="file">*.tar</param>
|
<param name="file">*.tar</param>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<servicedata>
|
<servicedata>
|
||||||
<service name="tar_scm">
|
<service name="tar_scm">
|
||||||
<param name="url">https://github.com/Genymobile/scrcpy.git</param>
|
<param name="url">https://github.com/Genymobile/scrcpy.git</param>
|
||||||
<param name="changesrevision">ef13d394fd83a2c534d86f2dbc188f4324a6ee34</param></service></servicedata>
|
<param name="changesrevision">fe21158c2023017df39ee7ecc6462579a1f3fe45</param></service></servicedata>
|
24
fix-desktop-file-exec.patch
Normal file
24
fix-desktop-file-exec.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
diff -ruN a/app/data/scrcpy.desktop b/app/data/scrcpy.desktop
|
||||||
|
--- a/app/data/scrcpy.desktop
|
||||||
|
+++ b/app/data/scrcpy.desktop
|
||||||
|
@@ -5,7 +5,7 @@
|
||||||
|
# For some users, the PATH or ADB environment variables are set from the shell
|
||||||
|
# startup file, like .bashrc or .zshrc… Run an interactive shell to get
|
||||||
|
# environment correctly initialized.
|
||||||
|
-Exec=/bin/sh -c '"$SHELL" -i -c scrcpy'
|
||||||
|
+Exec=/bin/sh -c "\\$SHELL -i -c scrcpy"
|
||||||
|
Icon=scrcpy
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
diff -ruN a/app/data/scrcpy-console.desktop b/app/data/scrcpy-console.desktop
|
||||||
|
--- a/app/data/scrcpy-console.desktop
|
||||||
|
+++ b/app/data/scrcpy-console.desktop
|
||||||
|
@@ -5,7 +5,7 @@
|
||||||
|
# For some users, the PATH or ADB environment variables are set from the shell
|
||||||
|
# startup file, like .bashrc or .zshrc… Run an interactive shell to get
|
||||||
|
# environment correctly initialized.
|
||||||
|
-Exec=/bin/bash --norc --noprofile -i -c '"$SHELL" -i -c scrcpy || read -p "Press any key to quit..."'
|
||||||
|
+Exec=/bin/bash --norc --noprofile -i -c "\\$SHELL -i -c scrcpy || read -p 'Press any key to quit...'"
|
||||||
|
Icon=scrcpy
|
||||||
|
Terminal=true
|
||||||
|
Type=Application
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1431e9e9fa68862752adb1e09b532df9f69fbe6e175a23aa44ddb9a9488d55de
|
|
||||||
size 351404
|
|
3
scrcpy-1.25.tar.xz
Normal file
3
scrcpy-1.25.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a8e4a05e9b847740c08dbd0c58ab3c30ea288ad1ff3a2664c9db0bd809b66c8d
|
||||||
|
size 288232
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ae74a81ea79c0dc7250e586627c278c0a9a8c5de46c9fb5c38c167fb1a36f056
|
|
||||||
size 41159
|
|
3
scrcpy-server-v1.25
Normal file
3
scrcpy-server-v1.25
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ce0306c7bbd06ae72f6d06f7ec0ee33774995a65de71e0a83813ecb67aec9bdb
|
||||||
|
size 42151
|
@ -1,3 +1,68 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 23 17:47:47 UTC 2022 - munix9@googlemail.com
|
||||||
|
|
||||||
|
- Update to version 1.25:
|
||||||
|
* Bump version to 1.25
|
||||||
|
* Upgrade FFmpeg (5.1.2) for Windows 64-bit
|
||||||
|
* Upgrade SDL (2.26.1) for Windows
|
||||||
|
* Upgrade platform-tools (33.0.3) for Windows
|
||||||
|
* Force mouse source when --forward-all-clicks
|
||||||
|
* Remove continuous resizing workaround for Windows
|
||||||
|
* Add parent directory in release zipfile
|
||||||
|
* Use "meson setup"
|
||||||
|
* Adapt ClipboardManager for Android 13
|
||||||
|
* Upgrade junit to 4.13.2
|
||||||
|
* Use current adb port (if any) for --tcpip
|
||||||
|
* Fix CommandParserTest code style
|
||||||
|
* Always use --key=value in README
|
||||||
|
* Fix DisplayInfo parsing for Android Q
|
||||||
|
* Support wchar_t in argv for Windows
|
||||||
|
* Avoid string concatenation in crossfiles
|
||||||
|
* Build log.c for test_cli
|
||||||
|
* Add missing include <string.h> for strlen()
|
||||||
|
* Add missing include <string.h> for memmove()
|
||||||
|
* Add -s auto-completion for zsh
|
||||||
|
* Add -s auto-completion for bash
|
||||||
|
* Make ServiceManager and Settings methods static
|
||||||
|
* Fix typo in logs
|
||||||
|
* Add fallback to get DisplayInfo
|
||||||
|
* Use /dev/null instead of closing fds
|
||||||
|
* Extract $BUILD_TOOLS_DIR
|
||||||
|
* Add scrcpy-console.desktop
|
||||||
|
* Use shell environment to execute launcher
|
||||||
|
* Add desktop entry file for Linux app launchers
|
||||||
|
* Replace hardcoded 'share/' by datadir variable
|
||||||
|
* Upgrade Android SDK to 33
|
||||||
|
* Upgrade gradle build tools to 7.2.2
|
||||||
|
* Move from jcenter() to mavenCentral()
|
||||||
|
* Use precise scrolling values
|
||||||
|
* Add conversion from float to fixed-point i16
|
||||||
|
* Add unit test for float encoding
|
||||||
|
* Extract conversion from float to u16 fixed-point
|
||||||
|
* Rename buffer_util.h to binary.h
|
||||||
|
* Add unit test for float decoding
|
||||||
|
* Extract conversion from u16 fixed-point to float
|
||||||
|
* Move toUnsigned() to a Binary util class
|
||||||
|
* Remove deprecated meson.source_root()
|
||||||
|
* Move README and FAQ translations to the wiki
|
||||||
|
* Fix FAQ formatting
|
||||||
|
* Use DisplayManagerGlobal instance
|
||||||
|
* Rename net_listen() parameter
|
||||||
|
* Replace '%g' by '%f' as printf format
|
||||||
|
* Detect Windows using _WIN32 in network util
|
||||||
|
* Fix protocol documentation in comments
|
||||||
|
* Add missing allocation failure check
|
||||||
|
* Add missing LOG_OOM() on malloc failure
|
||||||
|
* Remove useless dependencies reference
|
||||||
|
* Document envvars for all platforms
|
||||||
|
* Fix environment variable configuration in FAQ
|
||||||
|
* Remove unused stream.h
|
||||||
|
* Rename function to simplify
|
||||||
|
* Add missing return 0 in tests
|
||||||
|
* Fix function declarations
|
||||||
|
* Reduce SHA-256 size in README and BUILD
|
||||||
|
* Update links to v1.24
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Apr 30 13:14:23 UTC 2022 - munix9@googlemail.com
|
Sat Apr 30 13:14:23 UTC 2022 - munix9@googlemail.com
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: scrcpy
|
Name: scrcpy
|
||||||
Version: 1.24
|
Version: 1.25
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Display and control your Android device
|
Summary: Display and control your Android device
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
@ -25,10 +25,13 @@ Group: Hardware/Mobile
|
|||||||
URL: https://github.com/Genymobile/scrcpy
|
URL: https://github.com/Genymobile/scrcpy
|
||||||
Source0: %{name}-%{version}.tar.xz
|
Source0: %{name}-%{version}.tar.xz
|
||||||
Source1: https://github.com/Genymobile/scrcpy/releases/download/v%{version}/scrcpy-server-v%{version}
|
Source1: https://github.com/Genymobile/scrcpy/releases/download/v%{version}/scrcpy-server-v%{version}
|
||||||
|
# PATCH-FIX-OPENSUSE fix-desktop-file-exec.patch gh#Genymobile/scrcpy#3633 munix9@googlemail.com -- Fix "E: invalid-desktopfile"
|
||||||
|
Patch0: fix-desktop-file-exec.patch
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: hicolor-icon-theme
|
BuildRequires: hicolor-icon-theme
|
||||||
BuildRequires: meson >= 0.48
|
BuildRequires: meson >= 0.48
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: update-desktop-files
|
||||||
BuildRequires: pkgconfig(libavcodec)
|
BuildRequires: pkgconfig(libavcodec)
|
||||||
BuildRequires: pkgconfig(libavdevice)
|
BuildRequires: pkgconfig(libavdevice)
|
||||||
BuildRequires: pkgconfig(libavformat)
|
BuildRequires: pkgconfig(libavformat)
|
||||||
@ -72,12 +75,16 @@ Optional dependency offering zsh completion for scrcpy.
|
|||||||
%install
|
%install
|
||||||
%meson_install
|
%meson_install
|
||||||
|
|
||||||
|
%suse_update_desktop_file scrcpy Network
|
||||||
|
%suse_update_desktop_file scrcpy-console Network
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.md DEVELOP.md FAQ.md
|
%doc README.md DEVELOP.md FAQ.md
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_datadir}/%{name}
|
%{_datadir}/%{name}
|
||||||
%{_mandir}/man1/%{name}.1%{?ext_man}
|
%{_mandir}/man1/%{name}.1%{?ext_man}
|
||||||
|
%{_datadir}/applications/scrcpy{,-console}.desktop
|
||||||
%{_datadir}/icons/hicolor/*/apps/scrcpy.png
|
%{_datadir}/icons/hicolor/*/apps/scrcpy.png
|
||||||
|
|
||||||
%files bash-completion
|
%files bash-completion
|
||||||
|
Loading…
Reference in New Issue
Block a user