1 |
commit: 7ce5345e729a975bbaf6b8e03d0cf977eb367f8f |
2 |
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 9 08:02:01 2021 +0000 |
4 |
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 9 08:09:27 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ce5345e |
7 |
|
8 |
app-mobilephone/scrcpy: initial import |
9 |
|
10 |
Based on maggu2810 overlay ebuild |
11 |
|
12 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
13 |
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org> |
14 |
|
15 |
app-mobilephone/scrcpy/Manifest | 2 ++ |
16 |
app-mobilephone/scrcpy/metadata.xml | 8 ++++++++ |
17 |
app-mobilephone/scrcpy/scrcpy-1.18.ebuild | 29 +++++++++++++++++++++++++++++ |
18 |
3 files changed, 39 insertions(+) |
19 |
|
20 |
diff --git a/app-mobilephone/scrcpy/Manifest b/app-mobilephone/scrcpy/Manifest |
21 |
new file mode 100644 |
22 |
index 00000000000..b4e8d5d3a55 |
23 |
--- /dev/null |
24 |
+++ b/app-mobilephone/scrcpy/Manifest |
25 |
@@ -0,0 +1,2 @@ |
26 |
+DIST scrcpy-1.18.tar.gz 299497 BLAKE2B aaecb14ea5accf12b23e3b4d07069640e3778d6050dd28c7962ca458645f5e8215b7b7376b809086a3edf98fca1375d935eae429219c1fa5df91088360e46347 SHA512 9cd3841c65cd1f20f277e336b69eec475ea75f403b6761b91639bf6fe876c29d763f056ee2b226f6eabe312b3bdabcad9e72c0384a11fa9f5091ff9587292a6f |
27 |
+DIST scrcpy-server-v1.18 37330 BLAKE2B 02c5e58d72825abbc7d5a6e0f0e87f7effb016cc8baf77f975d6519200aee00401a67ea0e284e4f2188623dfd1c0800cc0dbfad25df0b51b3bc9aa5bacc3a7f2 SHA512 fffd06bbd1cae78af2112f0bd59c8da1c0f838206e3141d255a395ee633f52499eb85b5398a8b4d121241dd3e46088c790476061c3da2a12a319791096045454 |
28 |
|
29 |
diff --git a/app-mobilephone/scrcpy/metadata.xml b/app-mobilephone/scrcpy/metadata.xml |
30 |
new file mode 100644 |
31 |
index 00000000000..7d273a80ff6 |
32 |
--- /dev/null |
33 |
+++ b/app-mobilephone/scrcpy/metadata.xml |
34 |
@@ -0,0 +1,8 @@ |
35 |
+<?xml version="1.0" encoding="UTF-8"?> |
36 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
37 |
+<pkgmetadata> |
38 |
+ <maintainer type="person"> |
39 |
+ <email>voyageur@g.o</email> |
40 |
+ <name>Bernard Cafarelli</name> |
41 |
+ </maintainer> |
42 |
+</pkgmetadata> |
43 |
|
44 |
diff --git a/app-mobilephone/scrcpy/scrcpy-1.18.ebuild b/app-mobilephone/scrcpy/scrcpy-1.18.ebuild |
45 |
new file mode 100644 |
46 |
index 00000000000..f446dc49137 |
47 |
--- /dev/null |
48 |
+++ b/app-mobilephone/scrcpy/scrcpy-1.18.ebuild |
49 |
@@ -0,0 +1,29 @@ |
50 |
+# Copyright 2021 Gentoo Authors |
51 |
+# Distributed under the terms of the GNU General Public License v2 |
52 |
+ |
53 |
+EAPI=7 |
54 |
+ |
55 |
+inherit meson |
56 |
+ |
57 |
+DESCRIPTION="Display and control your Android device" |
58 |
+HOMEPAGE="https://github.com/Genymobile/scrcpy" |
59 |
+# Source code and server part on Android device |
60 |
+SRC_URI="https://github.com/Genymobile/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz |
61 |
+ https://github.com/Genymobile/${PN}/releases/download/v${PV}/${PN}-server-v${PV}" |
62 |
+ |
63 |
+LICENSE="Apache-2.0" |
64 |
+SLOT="0" |
65 |
+KEYWORDS="~amd64 ~x86" |
66 |
+ |
67 |
+RDEPEND="media-libs/libsdl2[X] |
68 |
+ media-video/ffmpeg" |
69 |
+DEPEND="${RDEPEND}" |
70 |
+BDEPEND="" |
71 |
+ |
72 |
+src_configure() { |
73 |
+ local emesonargs=( |
74 |
+ -Db_lto=true |
75 |
+ -Dprebuilt_server="${DISTDIR}/${PN}-server-v${PV}" |
76 |
+ ) |
77 |
+ meson_src_configure |
78 |
+} |