commit: 7ce5345e729a975bbaf6b8e03d0cf977eb367f8f Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> AuthorDate: Fri Jul 9 08:02:01 2021 +0000 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> CommitDate: Fri Jul 9 08:09:27 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ce5345e
app-mobilephone/scrcpy: initial import Based on maggu2810 overlay ebuild Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org> app-mobilephone/scrcpy/Manifest | 2 ++ app-mobilephone/scrcpy/metadata.xml | 8 ++++++++ app-mobilephone/scrcpy/scrcpy-1.18.ebuild | 29 +++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+) diff --git a/app-mobilephone/scrcpy/Manifest b/app-mobilephone/scrcpy/Manifest new file mode 100644 index 00000000000..b4e8d5d3a55 --- /dev/null +++ b/app-mobilephone/scrcpy/Manifest @@ -0,0 +1,2 @@ +DIST scrcpy-1.18.tar.gz 299497 BLAKE2B aaecb14ea5accf12b23e3b4d07069640e3778d6050dd28c7962ca458645f5e8215b7b7376b809086a3edf98fca1375d935eae429219c1fa5df91088360e46347 SHA512 9cd3841c65cd1f20f277e336b69eec475ea75f403b6761b91639bf6fe876c29d763f056ee2b226f6eabe312b3bdabcad9e72c0384a11fa9f5091ff9587292a6f +DIST scrcpy-server-v1.18 37330 BLAKE2B 02c5e58d72825abbc7d5a6e0f0e87f7effb016cc8baf77f975d6519200aee00401a67ea0e284e4f2188623dfd1c0800cc0dbfad25df0b51b3bc9aa5bacc3a7f2 SHA512 fffd06bbd1cae78af2112f0bd59c8da1c0f838206e3141d255a395ee633f52499eb85b5398a8b4d121241dd3e46088c790476061c3da2a12a319791096045454 diff --git a/app-mobilephone/scrcpy/metadata.xml b/app-mobilephone/scrcpy/metadata.xml new file mode 100644 index 00000000000..7d273a80ff6 --- /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>voyag...@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 00000000000..f446dc49137 --- /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 +}