scrcpy/scrcpy.spec
Duarte Pousa 0b59405256 Accepting request 826835 from home:dirkmueller:branches:hardware
- Update to version 1.16:
  * Bump version to 1.16
  * Add pinch-to-zoom simulation
  * Add reference of the translations in README
  * Add Traditional Chinese translation for README
  * Fix clipboard paste condition
  * Revert "Inject WAKEUP instead of POWER"
  * Fix missing change of Ctrl key in README
  * Add packaging status
  * Update links to v1.15.1 in README and BUILD
  * Bump version to 1.15.1
  * Fix uninitialized repeat count in key events
  * Update links to v1.15 in README and BUILD
  * Bump version to 1.15
  * Upgrade FFmpeg (4.3.1) for Windows
  * Upgrade platform-tools (30.0.4) for Windows
  * Keep the screen off on powering on
  * Add --no-key-repeat cli option
  * Pass full options struct to static functions
  * Copy the options used in input manager init
  * Mention that MENU unlocks screen
  * Use <kbd> HTML tag for keys
  * Mention in README that Ctrl is forwarded
  * Update copy-paste section in README
  * Swap paste shortcuts
  * Add shortcuts for COPY and CUT
  * Change "resize to fit" shortcut to MOD+w
  * Remove "get clipboard" call
  * Set computer clipboard only if necessary
  * Set device clipboard only if necessary

OBS-URL: https://build.opensuse.org/request/show/826835
OBS-URL: https://build.opensuse.org/package/show/hardware/scrcpy?expand=0&rev=69
2020-08-31 20:32:38 +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.16
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(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