From 4921f12d049de1487e17383a32da50a03ea90d65 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 23 Dec 2022 01:58:14 +0000 Subject: gentoo auto-resync : 23:12:2022 - 01:58:14 --- app-mobilephone/scrcpy/scrcpy-1.25.ebuild | 37 +++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 app-mobilephone/scrcpy/scrcpy-1.25.ebuild (limited to 'app-mobilephone/scrcpy/scrcpy-1.25.ebuild') diff --git a/app-mobilephone/scrcpy/scrcpy-1.25.ebuild b/app-mobilephone/scrcpy/scrcpy-1.25.ebuild new file mode 100644 index 000000000000..a244fae445e4 --- /dev/null +++ b/app-mobilephone/scrcpy/scrcpy-1.25.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson xdg + +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 ~ppc64 ~x86" +IUSE="lto" + +DEPEND="media-libs/libsdl2[X] + media-video/ffmpeg + virtual/libusb:1" +# Manual install for ppc64 until bug #723528 is fixed +RDEPEND="${DEPEND} + !ppc64? ( dev-util/android-tools )" +BDEPEND="" + +src_configure() { + local emesonargs=( + $(meson_use lto b_lto) + -Dprebuilt_server="${DISTDIR}/${PN}-server-v${PV}" + ) + meson_src_configure +} + +pkg_postinst() { + xdg_pkg_postrm +} -- cgit v1.2.3