diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
commit | 752d6256e5204b958b0ef7905675a940b5e9172f (patch) | |
tree | 330d16e6362a49cbed8875a777fe641a43376cd3 /app-mobilephone/scrcpy/scrcpy-1.24.ebuild | |
parent | 0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff) |
gentoo resync : 12.05.2022
Diffstat (limited to 'app-mobilephone/scrcpy/scrcpy-1.24.ebuild')
-rw-r--r-- | app-mobilephone/scrcpy/scrcpy-1.24.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/app-mobilephone/scrcpy/scrcpy-1.24.ebuild b/app-mobilephone/scrcpy/scrcpy-1.24.ebuild new file mode 100644 index 000000000000..7ca29eab260b --- /dev/null +++ b/app-mobilephone/scrcpy/scrcpy-1.24.ebuild @@ -0,0 +1,34 @@ +# 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" + +RDEPEND="media-libs/libsdl2[X] + media-video/ffmpeg + virtual/libusb:1" +DEPEND="${RDEPEND}" +BDEPEND="" + +src_configure() { + local emesonargs=( + -Db_lto=true + -Dprebuilt_server="${DISTDIR}/${PN}-server-v${PV}" + ) + meson_src_configure +} + +pkg_postinst() { + xdg_pkg_postrm +} |