summaryrefslogtreecommitdiff
path: root/app-mobilephone
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-19 13:00:31 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-19 13:00:31 +0000
commit26f79803004cb53e92cf2f0e889de89979385aa9 (patch)
treed46d17cb971a2dffbe96669e4ad8d341eb5ee3c7 /app-mobilephone
parentc5572b13d51970d6603acd131f27991cc1b66a79 (diff)
gentoo auto-resync : 19:11:2022 - 13:00:31
Diffstat (limited to 'app-mobilephone')
-rw-r--r--app-mobilephone/Manifest.gzbin2054 -> 2057 bytes
-rw-r--r--app-mobilephone/scrcpy/Manifest3
-rw-r--r--app-mobilephone/scrcpy/metadata.xml6
-rw-r--r--app-mobilephone/scrcpy/scrcpy-1.24-r2.ebuild37
4 files changed, 45 insertions, 1 deletions
diff --git a/app-mobilephone/Manifest.gz b/app-mobilephone/Manifest.gz
index 2aba4130ea94..b9f5179d6cab 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 03525f7c8e84..53740cf587e6 100644
--- a/app-mobilephone/scrcpy/Manifest
+++ b/app-mobilephone/scrcpy/Manifest
@@ -1,4 +1,5 @@
DIST scrcpy-1.24.tar.gz 424970 BLAKE2B 33a0249ee9e9579b3bf8e0a4f94427b0c44b2a3aaf953c527a072d4f69ab89a680107b234803415741ba003ea6a8a207d33ce0d40341560fd6d85cda3807f7a6 SHA512 0eda7d6b0fb7339e1e32114d861194fd6bfce5ddb15d8d241f94278cb5800c2dd6c3bd69ea0b09b2bd5137757e85d679b2c789218e6933d83df4bc07dac09b2e
DIST scrcpy-server-v1.24 41159 BLAKE2B 332f05198bd64392ed870add260249d7e549ceb963e707ee6a249c08197c2c6a52bc427be0dfa99a479d61926d1ccea1471f5a448816b4b157c933d7a17cd75f SHA512 1bbc921e954c722307ef4fb2e1478954f6bf14544da362a9edeefd0f90def435bee409130d2ef2fddee98ec6255e12e9bda595507fec479f3feae0a57fb78236
EBUILD scrcpy-1.24-r1.ebuild 868 BLAKE2B 62269b6e351772639366f7254583a6c84a7362d7b3f68dc6eec929fd2041de97ba57ba75003aaa71d736e07788920d7bad372aab0315355d5fbf6c7c87d96e53 SHA512 43c83f799e73b5bfcec7f60cad1d5c60c36d8028f71330d217eb96a3953ad504b7e8264df073d9e75d9f5e50232fc87aa7bd93bc0e85b9266f61701bc89364ad
-MISC metadata.xml 253 BLAKE2B 8557c513beef73e834b0a000c523a3241da961c6307b6e98ac857dad0888c4bbd028c98f8499f01086c24e8f2f57c64bc75db20154dab232adefc2510fccac03 SHA512 67dd372ef7b684101d9198c6199a6403f8750132d80aab4f4daa4b31ebaea3d82eb9a18e904734e2ac10c77b237d67210055949ff1c6d5aad4f75951a096884a
+EBUILD scrcpy-1.24-r2.ebuild 889 BLAKE2B 690408122b728cb507fff76599647a3a5747ac881ff224cef13f06f66bf1ac75b997824b406856ea7f4db75cc8e8449f2e550bf9d5e5c79c043e329d80db2615 SHA512 83c4e242982ccca4bfc69deccb9501c356a29f55dbdaae0c271f31b8b7564fb493866bc44019798b96826530ac9e77b3096c22a8b4c2b0dae99c39ee84a45b25
+MISC metadata.xml 416 BLAKE2B a0f726ba54b43d068ed72c75576a9d397a0f358f98b97ac2db8eaf3fe2e6df4943e9e9b9e3a6ccdbdd3de2827b27178033228e43e3a1d6e93ef3db6ac5d2245e SHA512 d9765dc3395923a1f6b630c82ea5a1d08caa8a762b4bb58d5f271e36c6f78a363cb294e80bf32d04015eb1a0360b1f179a20bffc05c50b91b1be5ea34bbeda02
diff --git a/app-mobilephone/scrcpy/metadata.xml b/app-mobilephone/scrcpy/metadata.xml
index 8a473e90e026..6d3156f41a83 100644
--- a/app-mobilephone/scrcpy/metadata.xml
+++ b/app-mobilephone/scrcpy/metadata.xml
@@ -5,4 +5,10 @@
<email>voyageur@gentoo.org</email>
<name>Bernard Cafarelli</name>
</maintainer>
+ <use>
+ <flag name="lto">Build with Link Time Optimization (LTO)</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">Genymobile/scrcpy</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/app-mobilephone/scrcpy/scrcpy-1.24-r2.ebuild b/app-mobilephone/scrcpy/scrcpy-1.24-r2.ebuild
new file mode 100644
index 000000000000..a244fae445e4
--- /dev/null
+++ b/app-mobilephone/scrcpy/scrcpy-1.24-r2.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
+}