SHA256
1
0
forked from pool/scrcpy
scrcpy/scrcpy.spec
Duarte Pousa a24cb41d7f Accepting request 799883 from home:etamPL:branches:hardware
- update to 1.13
  * Add option to lock video orientation (#218, #1151)
  * Add shortcuts to rotate the display (#218, #1274)
  * Mirror secondary displays (#397, #898, #1177, #1238)
  * Enable trilinear filtering when possible (#40, #1284)
  * Add --render-driver parameter (#1284)
  * Accept --max-fps before Android 10 (#488)
  * Accept negative window position (#1242)
  * Use another local port if 27183 is not available (#945, #951)
  * Forward NumPad keys when NumLock is disabled (#1188)
  * Fix issues when directory contains non-ASCII chars on Windows (#1002)
  * Do not print irrelevant workarounds errors (#994)
  * Fix possible BufferUnderflowException on touch event (#1245)
  * Upgrade FFmpeg to 4.2.2 in Windows releases
  * Upgrade SDL to 2.0.12 in Windows releases

OBS-URL: https://build.opensuse.org/request/show/799883
OBS-URL: https://build.opensuse.org/package/show/hardware/scrcpy?expand=0&rev=67
2020-05-10 13:56:26 +00:00

63 lines
1.9 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.13
Release: 0
Summary: Display and control your Android device
License: Apache-2.0
Group: Hardware/Mobile
URL: https://github.com/Genymobile/scrcpy
Source0: https://github.com/Genymobile/scrcpy/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
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(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
# rise up error with jar
#%%meson_install
install -Dm 0755 build/app/%{name} %{buildroot}%{_bindir}/%{name}
install -Dm 0644 build/server/scrcpy-server %{buildroot}%{_datadir}/%{name}/scrcpy-server
install -Dm 0644 app/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
%files
%license LICENSE
%doc README.md DEVELOP.md FAQ.md
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_mandir}/man1/%{name}.1%{?ext_man}
%changelog