commit ef18cfa70bcde6e2787ed3ba6448882c63196e95 Author: root Date: Wed Jan 1 12:20:24 2020 +0100 Add scrcpy diff --git a/app-mobilephone/scrcpy/Manifest b/app-mobilephone/scrcpy/Manifest new file mode 100644 index 0000000..00b0981 --- /dev/null +++ b/app-mobilephone/scrcpy/Manifest @@ -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 diff --git a/app-mobilephone/scrcpy/scrcpy-1.12.1.ebuild b/app-mobilephone/scrcpy/scrcpy-1.12.1.ebuild new file mode 100644 index 0000000..429fbd4 --- /dev/null +++ b/app-mobilephone/scrcpy/scrcpy-1.12.1.ebuild @@ -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 +} diff --git a/metadata/layout.conf b/metadata/layout.conf new file mode 100644 index 0000000..c673a95 --- /dev/null +++ b/metadata/layout.conf @@ -0,0 +1,2 @@ +masters = gentoo +auto-sync = false diff --git a/profiles/repo_name b/profiles/repo_name new file mode 100644 index 0000000..1821bfd --- /dev/null +++ b/profiles/repo_name @@ -0,0 +1 @@ +localrepo