summaryrefslogtreecommitdiff
path: root/app-mobilephone
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2021-12-05 02:47:11 +0000
committerV3n3RiX <venerix@koprulu.sector>2021-12-05 02:47:11 +0000
commit2771f79232c273bc2a57d23bf335dd81ccf6af28 (patch)
treec8af0fd04194aed03cf067d44e53c7edd3e9ab84 /app-mobilephone
parente9d044d4b9b71200a96adfa280848858c0f468c9 (diff)
gentoo resync : 05.12.2021
Diffstat (limited to 'app-mobilephone')
-rw-r--r--app-mobilephone/Manifest.gzbin2218 -> 2221 bytes
-rw-r--r--app-mobilephone/scrcpy/Manifest9
-rw-r--r--app-mobilephone/scrcpy/scrcpy-1.20.ebuild (renamed from app-mobilephone/scrcpy/scrcpy-1.18.ebuild)18
-rw-r--r--app-mobilephone/scrcpy/scrcpy-1.21.ebuild43
4 files changed, 65 insertions, 5 deletions
diff --git a/app-mobilephone/Manifest.gz b/app-mobilephone/Manifest.gz
index 1e9bc02d7da8..008628ebf78e 100644
--- a/app-mobilephone/Manifest.gz
+++ b/app-mobilephone/Manifest.gz
Binary files differ
diff --git a/app-mobilephone/scrcpy/Manifest b/app-mobilephone/scrcpy/Manifest
index 11e2966868f7..e083f4620640 100644
--- a/app-mobilephone/scrcpy/Manifest
+++ b/app-mobilephone/scrcpy/Manifest
@@ -1,7 +1,10 @@
-DIST scrcpy-1.18.tar.gz 299497 BLAKE2B aaecb14ea5accf12b23e3b4d07069640e3778d6050dd28c7962ca458645f5e8215b7b7376b809086a3edf98fca1375d935eae429219c1fa5df91088360e46347 SHA512 9cd3841c65cd1f20f277e336b69eec475ea75f403b6761b91639bf6fe876c29d763f056ee2b226f6eabe312b3bdabcad9e72c0384a11fa9f5091ff9587292a6f
DIST scrcpy-1.19.tar.gz 314821 BLAKE2B 526d494efbc90ee23a1adc62e8658e0b7c0d10dc51f7a2ffdb85246afb7b8bae3dce9821cc969f57a52706bfa1829eba6e9505739a3f3c89f26226571085edae SHA512 be6b5a662aa7f0e5f75d9e66298ac0905e296d84cfbf8ff7e34ed20fdbbe14ebd7c759bc5a7bcde1e0a86c990d0f2c2fc5b0155d6dd011371e5ca48bf35d4a03
-DIST scrcpy-server-v1.18 37330 BLAKE2B 02c5e58d72825abbc7d5a6e0f0e87f7effb016cc8baf77f975d6519200aee00401a67ea0e284e4f2188623dfd1c0800cc0dbfad25df0b51b3bc9aa5bacc3a7f2 SHA512 fffd06bbd1cae78af2112f0bd59c8da1c0f838206e3141d255a395ee633f52499eb85b5398a8b4d121241dd3e46088c790476061c3da2a12a319791096045454
+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
-EBUILD scrcpy-1.18.ebuild 716 BLAKE2B 9c1c868edfe5492ad98269792e6511b511bd248ccc24eedb2482b96f399f0b2877f6425d572b90519e3b26db63ab363c5236299358e3c200976b873f0d2599bc SHA512 04b732c74df6d781daadba37d55ca1bfab33987c239dde8450f6c78cc9e5e63d689b5f0479b001cdab3c05bf3598806bbc09626ebcf65b61d7152052545eb6cb
+DIST scrcpy-server-v1.20 37139 BLAKE2B d8779c916545c336bc147b5d5f9fd958275eb178e50f00fd68c6504d3cdfd5e7e1fabd8c0f1a27986b786540e396f465bb38602343bc4a0bb1d254181635f799 SHA512 39c8cd7a2879272902c97dc5ec7fba57f8b4b021f44d5f12ab9ee3153056484b0ebe056b7ce55dd9eb7b14a14f2c71604b7eeb6e895ee83d295578b9e096f69f
+DIST scrcpy-server-v1.21 40067 BLAKE2B 92d90606a04adb67ac956feffb4ff2e658d294304d0bade42d08660bac312cb447a713f052d353ba9fa454a55fac5334a08fe7a847f758c27bf50589ab0926b5 SHA512 946ca16bf4147facdc4a70df7593971f230d4b74dac3cad052ffadae79248ea1613de5d988d6daea865474bbcf314c84bd94ba6d7ef852383be601a189bb032e
EBUILD scrcpy-1.19.ebuild 716 BLAKE2B 9c1c868edfe5492ad98269792e6511b511bd248ccc24eedb2482b96f399f0b2877f6425d572b90519e3b26db63ab363c5236299358e3c200976b873f0d2599bc SHA512 04b732c74df6d781daadba37d55ca1bfab33987c239dde8450f6c78cc9e5e63d689b5f0479b001cdab3c05bf3598806bbc09626ebcf65b61d7152052545eb6cb
+EBUILD scrcpy-1.20.ebuild 1091 BLAKE2B b6d2389683a9229964f641ff7e61522fa0526272dc8fde6fa35c4a575308a87b7698016f29a2787c2656a064bd8d75cf1a6c01ca4514fa1360dc628d33da298c SHA512 1121a6c8d753ddb9aea0f8fbd106f1abe305b6e16dcadae030fabc7ccb415a8f2f523df1703d71ba2ca49a9b402b2ec94b7a97cd00cf5936e4dc987b05ee6d0b
+EBUILD scrcpy-1.21.ebuild 1091 BLAKE2B b6d2389683a9229964f641ff7e61522fa0526272dc8fde6fa35c4a575308a87b7698016f29a2787c2656a064bd8d75cf1a6c01ca4514fa1360dc628d33da298c SHA512 1121a6c8d753ddb9aea0f8fbd106f1abe305b6e16dcadae030fabc7ccb415a8f2f523df1703d71ba2ca49a9b402b2ec94b7a97cd00cf5936e4dc987b05ee6d0b
MISC metadata.xml 253 BLAKE2B 8557c513beef73e834b0a000c523a3241da961c6307b6e98ac857dad0888c4bbd028c98f8499f01086c24e8f2f57c64bc75db20154dab232adefc2510fccac03 SHA512 67dd372ef7b684101d9198c6199a6403f8750132d80aab4f4daa4b31ebaea3d82eb9a18e904734e2ac10c77b237d67210055949ff1c6d5aad4f75951a096884a
diff --git a/app-mobilephone/scrcpy/scrcpy-1.18.ebuild b/app-mobilephone/scrcpy/scrcpy-1.20.ebuild
index 514ac43356e4..d33b61297104 100644
--- a/app-mobilephone/scrcpy/scrcpy-1.18.ebuild
+++ b/app-mobilephone/scrcpy/scrcpy-1.20.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit meson
+inherit meson xdg
DESCRIPTION="Display and control your Android device"
HOMEPAGE="https://github.com/Genymobile/scrcpy"
@@ -16,7 +16,8 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86"
RDEPEND="media-libs/libsdl2[X]
- media-video/ffmpeg"
+ media-video/ffmpeg
+ virtual/libusb:1"
DEPEND="${RDEPEND}"
BDEPEND=""
@@ -27,3 +28,16 @@ src_configure() {
)
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"
+}
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"
+}