From 34a77cf4e4823a88965268139957db4449586b204bf5ad37cde6fd886d8f5582 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 19 Mar 2018 13:28:50 +0000 Subject: [PATCH] Accepting request 588590 from home:xenonpk _service & specfile corrections OBS-URL: https://build.opensuse.org/request/show/588590 OBS-URL: https://build.opensuse.org/package/show/hardware/scrcpy?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++ .gitignore | 1 + _service | 18 +++++++++++ _servicedata | 4 +++ scrcpy-1.1~git20180318.tar.xz | 3 ++ scrcpy-server-v1.0.jar | 3 ++ scrcpy.changes | 59 ++++++++++++++++++++++++++++++++++ scrcpy.spec | 60 +++++++++++++++++++++++++++++++++++ 8 files changed, 171 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 _servicedata create mode 100644 scrcpy-1.1~git20180318.tar.xz create mode 100644 scrcpy-server-v1.0.jar create mode 100644 scrcpy.changes create mode 100644 scrcpy.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..e82667d --- /dev/null +++ b/_service @@ -0,0 +1,18 @@ + + + git + https://github.com/Genymobile/scrcpy.git + @PARENT_TAG@~git%cd + v(.*) + enable + + + *.tar + xz + + + yes + + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..fbe47a4 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/Genymobile/scrcpy.git + 2573df9727767f423ef0be33993e27490ac25315 \ No newline at end of file diff --git a/scrcpy-1.1~git20180318.tar.xz b/scrcpy-1.1~git20180318.tar.xz new file mode 100644 index 0000000..3b529c8 --- /dev/null +++ b/scrcpy-1.1~git20180318.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca733eb0d85716144b9d7a69286ea57af61e35a3a9e05931f2b79c33bcba1c56 +size 151768 diff --git a/scrcpy-server-v1.0.jar b/scrcpy-server-v1.0.jar new file mode 100644 index 0000000..b6e2903 --- /dev/null +++ b/scrcpy-server-v1.0.jar @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b573b06a6072476b85b6308e3ad189f2665ad5be4f8ca3a6b9ec81d64df20558 +size 19038 diff --git a/scrcpy.changes b/scrcpy.changes new file mode 100644 index 0000000..b44358e --- /dev/null +++ b/scrcpy.changes @@ -0,0 +1,59 @@ +------------------------------------------------------------------- +Sun Mar 18 16:45:01 UTC 2018 - pousaduarte@gmail.com + +- Update to version 1.1~git20180318: + * Document the step to clone the project + * Increase the number of connection attempts + * Fix win32 build + * Remove useless cast + * Fix warning message + * Fix switch/case code style + +------------------------------------------------------------------- +Thu Mar 15 15:27:53 UTC 2018 - pousaduarte@gmail.com + +- Update to version 1.1~git20180315: + * Add FAQ section about mouse clicks + +------------------------------------------------------------------- +Wed Mar 14 18:37:56 UTC 2018 - pousaduarte@gmail.com + +- Update to version 1.1~git20180314: + * Add link to the article for v1.1 in README + * Update FAQ after v1.1 release + * Update links to v1.1 in README + * Bump version to 1.1 + * Remove useless argument + * Immediately close the server socket on the device + * Workaround continuous resizing on Windows/MacOS + * Remove black borders on double-click + * Make it work over tcpip + * Store serial in server instance + * Always use the best render scale quality available + * Fix mouse clicks on LG devices + * Support screens with dimensions not divisible by 8 + * Map middle-click to HOME + * Map right-click to BACK if screen is on + * Fix text input event segfault + +------------------------------------------------------------------- +Tue Mar 13 10:23:31 UTC 2018 - pousaduarte@gmail.com + +- Update to version 1.0~git20180313: + * Disable stdout/stderr buffering on Windows + +------------------------------------------------------------------- +Mon Mar 12 16:45:14 UTC 2018 - pousaduarte@gmail.com + +- Update to version 1.0~git20180312: + * Add links to AUR packages in README + * Reverse horizontal scrolling behavior + * Use one subsection by distribution in README + * Document how to install on Fedora + * Improve dependencies in README + * Add a FAQ for common issues + * Add empty lines around code blocks + * removed "$" and changed Mac OS ---> MacOS + * added "$" in front of terminal commands + * Unref the packet on error + diff --git a/scrcpy.spec b/scrcpy.spec new file mode 100644 index 0000000..260fb1a --- /dev/null +++ b/scrcpy.spec @@ -0,0 +1,60 @@ +# +# spec file for package scrcpy +# +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# +# 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 http://bugs.opensuse.org/ +# + + +Name: scrcpy +Version: 1.1~git20180318 +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/v1.0/scrcpy-server-v1.0.jar + +BuildRequires: meson +BuildRequires: ninja +BuildRequires: gcc +BuildRequires: pkgconfig(sdl2) +BuildRequires: pkgconfig(libavcodec) +BuildRequires: pkgconfig(libavformat) + +%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=%{S:1} + +%meson_build + +%install + +%meson_install + +%files +%doc README.md DEVELOP.md FAQ.md +%license LICENSE + +%{_bindir}/%{name} +%{_datadir}/%{name} + +%changelog