Add scrcpy

This commit is contained in:
2020-01-01 12:20:24 +01:00
commit ef18cfa70b
4 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST scrcpy-server-v1.12.1 26202 BLAKE2B e3e5f5f18c02741654f1fcda9ff903fcc49631f4befc61a6d5b09b84544ea7cbfb181d2bf186089f4fe2cc430c8ad8ec1b2ef04f610f6f21140e72af79f492ee SHA512 375c929e8118b9c9d167781851b8f23c43c9ac157c1c62225b2babfc6acea0eb06ba684d0b836ad64071030bde5ad17464a01cb4288739bd6e2a6b425fff0d72
EBUILD scrcpy-1.12.1.ebuild 923 BLAKE2B eb1349fad9f05f96486dce185ddce1ac0351f72314f171b7a057f3a4b95fe7f3a98bc6a3dc6a8c702b57eac9eabebb4f7d9141693617f4bae2f106d5418fbaf5 SHA512 1967613d48ea741bc68b18805f0b00a2def28d1f0e68ad7b4e6f366daf14e7be3340b0f1d62af822d564ef5a022bce2a128caaf6c28ebf96d075544f94f5cdc6

View File

@ -0,0 +1,44 @@
# Copyright 1999-2018 Gentoo Foundation
# 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
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
}

2
metadata/layout.conf Normal file
View File

@ -0,0 +1,2 @@
masters = gentoo
auto-sync = false

1
profiles/repo_name Normal file
View File

@ -0,0 +1 @@
localrepo