f71e3b2c05
- 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
90 lines
2.5 KiB
RPMSpec
90 lines
2.5 KiB
RPMSpec
#
|
|
# spec file for package scrcpy
|
|
#
|
|
# 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.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: scrcpy
|
|
Version: 1.24
|
|
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}
|
|
BuildRequires: gcc
|
|
BuildRequires: hicolor-icon-theme
|
|
BuildRequires: meson >= 0.48
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig(libavcodec)
|
|
BuildRequires: pkgconfig(libavdevice)
|
|
BuildRequires: pkgconfig(libavformat)
|
|
BuildRequires: pkgconfig(libusb-1.0)
|
|
BuildRequires: pkgconfig(sdl2)
|
|
Recommends: android-tools
|
|
|
|
%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
|
|
%meson -Dprebuilt_server='%{SOURCE1}'
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc README.md DEVELOP.md FAQ.md
|
|
%{_bindir}/%{name}
|
|
%{_datadir}/%{name}
|
|
%{_mandir}/man1/%{name}.1%{?ext_man}
|
|
%{_datadir}/icons/hicolor/*/apps/scrcpy.png
|
|
|
|
%files bash-completion
|
|
%{_datadir}/bash-completion/completions/scrcpy
|
|
|
|
%files zsh-completion
|
|
%{_datadir}/zsh/site-functions/_scrcpy
|
|
|
|
%changelog
|