summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Genasci <fedeliallalinea@gmail.com>2022-01-30 10:52:28 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2022-02-04 13:08:13 +0100
commita48d218fcf4493e162e67a85eacde710823ed643 (patch)
tree79ce380a91624ea87b78b0c69f57e12161397446 /app-mobilephone/scrcpy
parentapp-portage/gs-elpa: Fix wrong use of python_gen_usedep (diff)
downloadgentoo-a48d218fcf4493e162e67a85eacde710823ed643.tar.gz
gentoo-a48d218fcf4493e162e67a85eacde710823ed643.tar.bz2
gentoo-a48d218fcf4493e162e67a85eacde710823ed643.zip
app-mobilephone/scrcpy: bump version to 1.22
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Marco Genasci <fedeliallalinea@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/24021 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'app-mobilephone/scrcpy')
-rw-r--r--app-mobilephone/scrcpy/Manifest2
-rw-r--r--app-mobilephone/scrcpy/scrcpy-1.22.ebuild43
2 files changed, 45 insertions, 0 deletions
diff --git a/app-mobilephone/scrcpy/Manifest b/app-mobilephone/scrcpy/Manifest
index fb140914420d..7bb72369f4cb 100644
--- a/app-mobilephone/scrcpy/Manifest
+++ b/app-mobilephone/scrcpy/Manifest
@@ -1,6 +1,8 @@
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-1.22.tar.gz 388720 BLAKE2B 2cc9867ab854e81e502b1127e275f5bea7f061f19b08c94bf53c6ef6563c537e56f8531444e1ba7eaebd4f768946d1f19dab7f9cc7bce82eda0edf5fea64e79f SHA512 fa9dc1bf8ea542b0a2e4a972759e606db69ce8ef1809a595f69b59872d7c588d98708894e2c53d2244bd6625ed9a8136974768a9e231353c363285e19c126a6e
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
+DIST scrcpy-server-v1.22 40955 BLAKE2B 691217a8e776eca14f4d40da3de50fa98687664747de8ef246d629a5a9f9394296b82760696e1b31a44287e3678cbd3e6be18c89e8347d6a5ce7c6bf7a1a3790 SHA512 1aab2befa783d5aa84a7e1e89a37924d4f9a2cc830bf8358b010864a071207fc1e40fa0d446ae743c1faef2b5d805518bade360a4d221b4fb3086954af3e6a62
diff --git a/app-mobilephone/scrcpy/scrcpy-1.22.ebuild b/app-mobilephone/scrcpy/scrcpy-1.22.ebuild
new file mode 100644
index 000000000000..f0be131a7c94
--- /dev/null
+++ b/app-mobilephone/scrcpy/scrcpy-1.22.ebuild
@@ -0,0 +1,43 @@
+# 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
+
+ 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"
+}