forked from pool/scrcpy
Accepting request 1191066 from home:munix9
- Update to version 2.6: * Add audio playback capture method (#4380, #5102) * Add audio duplication feature (#3875, #4380, #5102) * Add mouse secondary bindings with Shift+click (#5055, #5076) * Rework mouse events (#5067, #5076) * Fix "turn screen off" for Honor devices (#4823, #4943, #5109) * Add clipboard workaround for Honor devices (#4822, #5073) * Always apply device workarounds (#4922, #5140, #5148, #5154) * Fix missing initialization (#5057, #5058) * Do not report error on device disconnected (#5044) * Upgrade SDL to 2.30.5 in Windows releases * Various technical fixes OBS-URL: https://build.opensuse.org/request/show/1191066 OBS-URL: https://build.opensuse.org/package/show/hardware/scrcpy?expand=0&rev=89
This commit is contained in:
commit
67eab0f46d
26
.gitattributes
vendored
Normal file
26
.gitattributes
vendored
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.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-v2.5 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
scrcpy-server-v2.6 filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
scrcpy-2.5.tar.gz
Normal file
3
scrcpy-2.5.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9a29ac5171dd81c250337d9b0500f1edbaf01044645b35f8993a191ffbb8597f
|
||||||
|
size 415854
|
3
scrcpy-2.6.tar.gz
Normal file
3
scrcpy-2.6.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d13ff4149d2ee0b40099348a57fa6d16e3fdebe7f6168f02f65ea9b3ceb337c1
|
||||||
|
size 419604
|
3
scrcpy-server-v2.5
Normal file
3
scrcpy-server-v2.5
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1488b1105d6aff534873a26bf610cd2aea06ee867dd7a4d9c6bb2c091396eb15
|
||||||
|
size 69624
|
3
scrcpy-server-v2.6
Normal file
3
scrcpy-server-v2.6
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7b723ff79a27f14e6ebaaaae7ef9548c40651c94e64d178612b13adf7158eb2e
|
||||||
|
size 71084
|
1939
scrcpy.changes
Normal file
1939
scrcpy.changes
Normal file
File diff suppressed because it is too large
Load Diff
103
scrcpy.spec
Normal file
103
scrcpy.spec
Normal file
@ -0,0 +1,103 @@
|
|||||||
|
#
|
||||||
|
# spec file for package scrcpy
|
||||||
|
#
|
||||||
|
# Copyright (c) 2024 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.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: scrcpy
|
||||||
|
Version: 2.6
|
||||||
|
Release: 0
|
||||||
|
Summary: Display and control your Android device
|
||||||
|
License: Apache-2.0
|
||||||
|
Group: Hardware/Mobile
|
||||||
|
URL: https://github.com/Genymobile/scrcpy
|
||||||
|
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
|
Source1: %{url}/releases/download/v%{version}/scrcpy-server-v%{version}
|
||||||
|
BuildRequires: hicolor-icon-theme
|
||||||
|
BuildRequires: meson >= 0.48
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: update-desktop-files
|
||||||
|
BuildRequires: pkgconfig(libavcodec)
|
||||||
|
BuildRequires: pkgconfig(libavdevice)
|
||||||
|
BuildRequires: pkgconfig(libavformat)
|
||||||
|
BuildRequires: pkgconfig(libusb-1.0)
|
||||||
|
BuildRequires: pkgconfig(sdl2)
|
||||||
|
Requires: android-tools
|
||||||
|
%if 0%{?suse_version} < 1600
|
||||||
|
BuildRequires: gcc11
|
||||||
|
BuildRequires: gcc11-PIE
|
||||||
|
%else
|
||||||
|
BuildRequires: gcc
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description
|
||||||
|
This application provides display and control of Android devices
|
||||||
|
connected on USB. It does not require any root access.
|
||||||
|
|
||||||
|
%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
|
||||||
|
%autosetup -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%if 0%{?suse_version} < 1600
|
||||||
|
export CC=gcc-11
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%meson -Dprebuilt_server='%{SOURCE1}'
|
||||||
|
%meson_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%meson_install
|
||||||
|
|
||||||
|
%suse_update_desktop_file scrcpy Network
|
||||||
|
%suse_update_desktop_file scrcpy-console Network
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md FAQ.md doc/*
|
||||||
|
%{_bindir}/%{name}
|
||||||
|
%{_datadir}/%{name}
|
||||||
|
%{_mandir}/man1/%{name}.1%{?ext_man}
|
||||||
|
%{_datadir}/applications/scrcpy{,-console}.desktop
|
||||||
|
%{_datadir}/icons/hicolor/*/apps/scrcpy.png
|
||||||
|
|
||||||
|
%files bash-completion
|
||||||
|
%{_datadir}/bash-completion/completions/scrcpy
|
||||||
|
|
||||||
|
%files zsh-completion
|
||||||
|
%{_datadir}/zsh/site-functions/_scrcpy
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user