diff options
author | Marco Genasci <fedeliallalinea@gmail.com> | 2021-11-30 09:55:29 +0100 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2021-12-03 10:02:58 +0100 |
commit | ee70b0c61d10cf9413fde3689da268ca7dd9c33c (patch) | |
tree | e825fb3a71a78d295c57f660fa471f96880ef698 /app-mobilephone/scrcpy | |
parent | dev-python/pyicu: Remove old (diff) | |
download | gentoo-ee70b0c61d10cf9413fde3689da268ca7dd9c33c.tar.gz gentoo-ee70b0c61d10cf9413fde3689da268ca7dd9c33c.tar.bz2 gentoo-ee70b0c61d10cf9413fde3689da268ca7dd9c33c.zip |
app-mobilephone/scrcpy: bump version to 1.21
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Marco Genasci <fedeliallalinea@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/23122
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'app-mobilephone/scrcpy')
-rw-r--r-- | app-mobilephone/scrcpy/Manifest | 2 | ||||
-rw-r--r-- | app-mobilephone/scrcpy/scrcpy-1.21.ebuild | 43 |
2 files changed, 45 insertions, 0 deletions
diff --git a/app-mobilephone/scrcpy/Manifest b/app-mobilephone/scrcpy/Manifest index b8f65dc66ab2..fb140914420d 100644 --- a/app-mobilephone/scrcpy/Manifest +++ b/app-mobilephone/scrcpy/Manifest @@ -1,4 +1,6 @@ DIST scrcpy-1.19.tar.gz 314821 BLAKE2B 526d494efbc90ee23a1adc62e8658e0b7c0d10dc51f7a2ffdb85246afb7b8bae3dce9821cc969f57a52706bfa1829eba6e9505739a3f3c89f26226571085edae SHA512 be6b5a662aa7f0e5f75d9e66298ac0905e296d84cfbf8ff7e34ed20fdbbe14ebd7c759bc5a7bcde1e0a86c990d0f2c2fc5b0155d6dd011371e5ca48bf35d4a03 DIST scrcpy-1.20.tar.gz 343592 BLAKE2B a91a6e360ed708ef9a3da626f6d373739f69115cfc07f37043a8586b92518f1896a49c639403f5e66062ed2e6d21c79fe4b7865784ed4ee1c86508e743b0a27c SHA512 55950e596840676b86239e604784a4eaf759ec2942120e2b8213c781149c049e6cd9bf40392f2dc23679a9fae74d47e2ebae58491b55b6ac6f9b23f83de64fc9 +DIST scrcpy-1.21.tar.gz 360667 BLAKE2B c7228ada86c41f2ba460759ad0701a08a11a71992b517366afa5130a3c69fc01d5aabf6710e289e47a7042bd11bfb58482305214ee937191daa43ffb6c12788a SHA512 74f85cd60e6a3655bbf11adda408d40e242212068a566be9eabbacc3c0e9e3c9a1421b77fa2fcca4fc8951ae5b3a2ace5d8f90e436f20df8fe37b9dbfffdbc19 DIST scrcpy-server-v1.19 37330 BLAKE2B 63296a4cab39b55106d0ae9f1df1b7cfa1993f2fdcf937d0fb0fc6b6afd181a1a068f53b6e75b8e80f3e05e7125fb76d57cacd366cfe76113bbb10527dc8a82b SHA512 8befe774fc7caa02c408af57f30b7eaf0009f542d8998363c8fb55c229ff53b2049ed7259404f6262cac4afd5a7077006b1d136fa1b319c8195d0c3ee9ba2dbe DIST scrcpy-server-v1.20 37139 BLAKE2B d8779c916545c336bc147b5d5f9fd958275eb178e50f00fd68c6504d3cdfd5e7e1fabd8c0f1a27986b786540e396f465bb38602343bc4a0bb1d254181635f799 SHA512 39c8cd7a2879272902c97dc5ec7fba57f8b4b021f44d5f12ab9ee3153056484b0ebe056b7ce55dd9eb7b14a14f2c71604b7eeb6e895ee83d295578b9e096f69f +DIST scrcpy-server-v1.21 40067 BLAKE2B 92d90606a04adb67ac956feffb4ff2e658d294304d0bade42d08660bac312cb447a713f052d353ba9fa454a55fac5334a08fe7a847f758c27bf50589ab0926b5 SHA512 946ca16bf4147facdc4a70df7593971f230d4b74dac3cad052ffadae79248ea1613de5d988d6daea865474bbcf314c84bd94ba6d7ef852383be601a189bb032e diff --git a/app-mobilephone/scrcpy/scrcpy-1.21.ebuild b/app-mobilephone/scrcpy/scrcpy-1.21.ebuild new file mode 100644 index 000000000000..d33b61297104 --- /dev/null +++ b/app-mobilephone/scrcpy/scrcpy-1.21.ebuild @@ -0,0 +1,43 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 + + elog "If scrcpy returns an error like" + elog "" + elog "[server] ERROR: Exception on thread Thread[main,5,main]" + elog "java.lang.IllegalArgumentException" + elog "at android.media.MediaCodec.native_configure(Native Method)" + elog "" + elog "Just try with a lower definition:" + elog "scrcpy -m 1920 or scrcpy -m 1024" +} |