app-mobilephone/scrcpy: New package
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
parent
a94c5d3ba2
commit
50948a3492
1
app-mobilephone/scrcpy/Manifest
Normal file
1
app-mobilephone/scrcpy/Manifest
Normal file
|
@ -0,0 +1 @@
|
||||||
|
DIST scrcpy-server-v1.17 34930 BLAKE2B 60184d61e84b9301b3680c2bda27ff2d3d3bb38546786c272f2551ce7674306823e8a48fc8fdf78fa768c88915722df3c5fd92cda376e88d5cad59ec096990da SHA512 ce0e59b3470d4e8e64aef1d06d5a6387d82e035d4b4b4b89e3929e5e2a6d84bc15212b480d473248207541f31b229199914c6a96873eced9ccd1cc3af132bf08
|
8
app-mobilephone/scrcpy/metadata.xml
Normal file
8
app-mobilephone/scrcpy/metadata.xml
Normal 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">
|
||||||
|
<name>Alarig Le Lay</name>
|
||||||
|
<email>alarig@swordarmor.fr</email>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
44
app-mobilephone/scrcpy/scrcpy-1.17.ebuild
Normal file
44
app-mobilephone/scrcpy/scrcpy-1.17.ebuild
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit meson ninja-utils git-r3
|
||||||
|
|
||||||
|
EGIT_REPO_URI="https://github.com/Genymobile/scrcpy.git"
|
||||||
|
|
||||||
|
if [[ ${PV} = 9999* ]]; then
|
||||||
|
MY_SERVER_PV="1.3"
|
||||||
|
else
|
||||||
|
EGIT_COMMIT="v${PV}"
|
||||||
|
MY_SERVER_PV="${PV}"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
fi
|
||||||
|
|
||||||
|
MY_SERVER_PN="scrcpy-server"
|
||||||
|
MY_SERVER_P="${MY_SERVER_PN}-v${MY_SERVER_PV}"
|
||||||
|
|
||||||
|
SRC_URI="https://github.com/Genymobile/${PN}/releases/download/v${MY_SERVER_PV}/${MY_SERVER_P}"
|
||||||
|
|
||||||
|
DESCRIPTION="Display and control your Android device"
|
||||||
|
HOMEPAGE="https://blog.rom1v.com/2018/03/introducing-scrcpy/"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
COMMON_DEPEND="media-libs/libsdl2[X]
|
||||||
|
media-video/ffmpeg"
|
||||||
|
DEPEND="${COMMON_DEPEND}"
|
||||||
|
RDEPEND="${COMMON_DEPEND}"
|
||||||
|
PDEPEND=""
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local emesonargs=(
|
||||||
|
-Db_lto=true
|
||||||
|
-Dprebuilt_server="${DISTDIR}/${MY_SERVER_P}"
|
||||||
|
)
|
||||||
|
meson_src_configure
|
||||||
|
}
|
Loading…
Reference in a new issue