scrcpy/scrcpy.spec
Duarte Pousa 5588dfe8af Accepting request 912188 from home:mnhauke:anbox
- Update to version 1.18:
  * Add support for Android 12.
  * Add support for V4L2 (device screen capture as a webcam).
  * Add an option to lock the initial video orientation.
  * Add an option to power off the device on close.
  * Bind 4th mouse button to APP_SWITCH.
  * Bind 5th mouse button to expand notification panel.
  * Expand settings panel on double-expand notification panel.
  * Push to /sdcard/Download by default.
  * Center the window on resize-to-fit.
  * Increase possible display id range.
  * Log input events in verbose mode.
  * Fix touch events parameters.
  * Fix left click on Samsung Browser.
  * Remove option --render-expired-frames.
  * Various technical fixes.

OBS-URL: https://build.opensuse.org/request/show/912188
OBS-URL: https://build.opensuse.org/package/show/hardware/scrcpy?expand=0&rev=72
2021-09-01 11:08:44 +00:00

60 lines
1.6 KiB
RPMSpec

#
# spec file for package scrcpy
#
# 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
# 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.18
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: meson >= 0.48
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libavcodec)
BuildRequires: pkgconfig(libavdevice)
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
%prep
%setup -q
%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}
%changelog