scrcpy/scrcpy.spec
Duarte Pousa 63ef138d08 Accepting request 945575 from home:alarrosa:branches:hardware
- Update to version 1.21:
  * Bump version to 1.21
  * Clarify TCP/IP mode in README
  * Always synchronize clipboard on explicit COPY/CUT
  * Expose sync mode for injecting events
  * Move acknowledgment handling
  * Fix set_clipboard message log
  * Upgrade gradle build tools to 7.0.3
  * Add --raw-key-events
  * Use enum for key injection mode
  * Use static maps to convert input events
  * Fix code style in keyboard_inject
  * Improve HID keyboard documentation
  * Document --tcpip in README
  * Add --tcpip feature
  * Extract interruptible sleep for server
  * Add function to read an adb property
  * Add function to switch device to TCP/IP mode
  * Add function to find the device IP address
  * Add util function to remove trailing '\r'
  * Add util function to locate a column in a string
  * Workaround "adb connect" error detection
  * Add adb connect and disconnect
  * Add adb flag to disable execution error logs
  * Use flags for adb commands
  * Expose flags for process execution
  * Remove obsolete precision in README
  * Simplify Windows process inheritance configuration
  * Remove intermediate static functions from adb.c
  * Set CLOEXEC flag on sockets

OBS-URL: https://build.opensuse.org/request/show/945575
OBS-URL: https://build.opensuse.org/package/show/hardware/scrcpy?expand=0&rev=74
2022-01-11 13:07:56 +00:00

63 lines
1.8 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.21
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)
%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}
%{_datadir}/icons/hicolor/*/apps/scrcpy.png
%changelog