Add app-mobilephone/scrcpy

This commit is contained in:
Sergey Popov 2020-12-28 13:17:36 +03:00
parent 247a7fcfab
commit 7b644da181
3 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST scrcpy-server-v1.16 33622 BLAKE2B 954f63b49627bfbf716ec3937b14f85eaad3290af925cc62edf2de71fe4e1e87a3682c3540563deee0b1862bc4330a1a1018fc10204ec5b762626889382bde5e SHA512 52d4fbf48a91e61abff5e0bbc510c83fb4c1238a2791f888baf9fb04f04c5c19dfc82525c717fc1b92bd86fb2152cb29f6932784e1e2115329288ec97d8594fc
DIST v1.16.tar.gz 252301 BLAKE2B fa112404ac97c1be1cb66b886c9389f6a988572df7ed48505374d1a299346112f924e629b339f4ce2b2e3614e105187d3d572990e73b8b228785a276011b544f SHA512 e50903e3be3f822e2bf8c873b636aef87e83122d65f48159345dab36cc352f56b019aa528181458f2b1a3043938ce96e0a35ba51c12a5e2bec8bdaedfb20914c

View File

@ -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>admin@pinkbyte.ru</email>
<name>Sergey Popov</name>
</maintainer>
</pkgmetadata>

View File

@ -0,0 +1,35 @@
# Copyright 1999-2020 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit meson
MY_SERVER_P="scrcpy-server-v${PV}"
DESCRIPTION="Display and control your Android device"
HOMEPAGE="https://blog.rom1v.com/2018/03/introducing-scrcpy/"
SRC_URI="
https://github.com/Genymobile/scrcpy/archive/v${PV}.tar.gz
https://github.com/Genymobile/scrcpy/releases/download/v${PV}/${MY_SERVER_P}
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="test"
RDEPEND="
media-libs/libsdl2
media-video/ffmpeg:0=
"
DEPEND="${RDEPEND}"
src_configure() {
local emesonargs=(
-Db_lto=true
-Dprebuilt_server="${DISTDIR}/${MY_SERVER_P}"
)
meson_src_configure
}