summaryrefslogtreecommitdiff
path: root/app-mobilephone/scrcpy
diff options
context:
space:
mode:
Diffstat (limited to 'app-mobilephone/scrcpy')
-rw-r--r--app-mobilephone/scrcpy/Manifest4
-rw-r--r--app-mobilephone/scrcpy/metadata.xml8
-rw-r--r--app-mobilephone/scrcpy/scrcpy-1.18.ebuild29
3 files changed, 41 insertions, 0 deletions
diff --git a/app-mobilephone/scrcpy/Manifest b/app-mobilephone/scrcpy/Manifest
new file mode 100644
index 000000000000..5692fc2478cd
--- /dev/null
+++ b/app-mobilephone/scrcpy/Manifest
@@ -0,0 +1,4 @@
+DIST scrcpy-1.18.tar.gz 299497 BLAKE2B aaecb14ea5accf12b23e3b4d07069640e3778d6050dd28c7962ca458645f5e8215b7b7376b809086a3edf98fca1375d935eae429219c1fa5df91088360e46347 SHA512 9cd3841c65cd1f20f277e336b69eec475ea75f403b6761b91639bf6fe876c29d763f056ee2b226f6eabe312b3bdabcad9e72c0384a11fa9f5091ff9587292a6f
+DIST scrcpy-server-v1.18 37330 BLAKE2B 02c5e58d72825abbc7d5a6e0f0e87f7effb016cc8baf77f975d6519200aee00401a67ea0e284e4f2188623dfd1c0800cc0dbfad25df0b51b3bc9aa5bacc3a7f2 SHA512 fffd06bbd1cae78af2112f0bd59c8da1c0f838206e3141d255a395ee633f52499eb85b5398a8b4d121241dd3e46088c790476061c3da2a12a319791096045454
+EBUILD scrcpy-1.18.ebuild 709 BLAKE2B ceb86db4c065ed9bf000435193246bceea775f50c49b90f978c3e1ee372d01e4632c635d31e4c680c5c825e402fddda2a00cd8e3e5b3d9d017359a36110c6268 SHA512 55098dd5366e286886f13286d3f9ac114789c6181199c2c6b4f323520458bbe4454f45a9c7b415441f7c8fe150e01c04f2bad6032069fef02249b1753de7a41e
+MISC metadata.xml 252 BLAKE2B f7125c07f7cb9fe1a8d301f198091320ba83ef3547e579b9825298715066ba3506be216900b5317106da011f95df9411b99b100f14f741832ab500fda6acb788 SHA512 6a56c24e3731dd9512fa264d3dce1fe36ace891a17394c483586e0be1fffd153e901228d3ee9c471a226b04cec27d3f78ed2de491e46238de4b06538dab7e724
diff --git a/app-mobilephone/scrcpy/metadata.xml b/app-mobilephone/scrcpy/metadata.xml
new file mode 100644
index 000000000000..7d273a80ff68
--- /dev/null
+++ b/app-mobilephone/scrcpy/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>voyageur@gentoo.org</email>
+ <name>Bernard Cafarelli</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-mobilephone/scrcpy/scrcpy-1.18.ebuild b/app-mobilephone/scrcpy/scrcpy-1.18.ebuild
new file mode 100644
index 000000000000..f446dc491375
--- /dev/null
+++ b/app-mobilephone/scrcpy/scrcpy-1.18.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit meson
+
+DESCRIPTION="Display and control your Android device"
+HOMEPAGE="https://github.com/Genymobile/scrcpy"
+# Source code and server part on Android device
+SRC_URI="https://github.com/Genymobile/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/Genymobile/${PN}/releases/download/v${PV}/${PN}-server-v${PV}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="media-libs/libsdl2[X]
+ media-video/ffmpeg"
+DEPEND="${RDEPEND}"
+BDEPEND=""
+
+src_configure() {
+ local emesonargs=(
+ -Db_lto=true
+ -Dprebuilt_server="${DISTDIR}/${PN}-server-v${PV}"
+ )
+ meson_src_configure
+}