From c6a12f3c8604a9269cfb82d666fc716df0e67792 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 28 Jul 2023 22:38:01 +0100 Subject: gentoo auto-resync : 28:07:2023 - 22:38:00 --- app-mobilephone/scrcpy/Manifest | 8 +++--- app-mobilephone/scrcpy/metadata.xml | 1 - app-mobilephone/scrcpy/scrcpy-2.1.1.ebuild | 42 ++++++++++++++++++++++++++++++ app-mobilephone/scrcpy/scrcpy-2.1.ebuild | 39 --------------------------- 4 files changed, 46 insertions(+), 44 deletions(-) create mode 100644 app-mobilephone/scrcpy/scrcpy-2.1.1.ebuild delete mode 100644 app-mobilephone/scrcpy/scrcpy-2.1.ebuild (limited to 'app-mobilephone/scrcpy') diff --git a/app-mobilephone/scrcpy/Manifest b/app-mobilephone/scrcpy/Manifest index 0da58b54afc5..8e6372acbc20 100644 --- a/app-mobilephone/scrcpy/Manifest +++ b/app-mobilephone/scrcpy/Manifest @@ -1,8 +1,8 @@ AUX scrcpy-2.0-desktop.patch 1828 BLAKE2B 3c851590f3fb7c983cdf0dfa866ccc13dd5ead987a592843af304aff204cc31ee8413c72edd7690d09ac9ef56d140f7d754b7a873ba53e205f4ae8680d69d1ea SHA512 7025335d6d4fba4b7c221562d40fb1006a7365eb6c5e159f7b69caf76f114592be47997c515447617de22295d4435f31afa80f621e0b838d05439b22260681fa DIST scrcpy-2.0.tar.gz 375902 BLAKE2B b45a0191a4b634a6fd165a870ce925968eb2bf697eedd88744abf6e6282afa8a4c2108e85e6d479be47e6ddc08a8b5a54875315d1319721639fea8b49f423817 SHA512 c7f6a20ff470c529f3d9a211ee02eebc028f698b2215665c8386afda8db4ea51206bb3c3182d846485399101f0add35844477ebd37df30724cb43c3882c6dc4d -DIST scrcpy-2.1.tar.gz 385830 BLAKE2B 2889f263325e9274c5b68fd2081f9a2093faf8e6bd3fec3cdf941ad25df88f0a73183e9225d69098d5d05455146e6e7e126211cf5e94d4df3ab1f68553ebe32a SHA512 bb0bf7d975beef1d30269485a070193226ae6527821fe6128d45f917353d4a7b52d0736ae462ea9fa52be744a8257753225fd8f99a15c2f88e15cbfc4c36c646 +DIST scrcpy-2.1.1.tar.gz 386002 BLAKE2B 3d1ec3829cc08d36a6b42f7429749000ea5a4aaf2b8501167fe03b68fb722ec9351da9f287aef752fbceebf04db1484071c4fdf3b84bc5d9eb3805f635502951 SHA512 247d2b4d5523412c667b3104621cdbb5d4a47f1fbc34e4fbde242212d9a4a198232d886eb5d4dc8678fbbe97a63d747827986fd34b08b0951bce02f256e65c47 DIST scrcpy-server-v2.0 52867 BLAKE2B 6867677059ed60358e8d4f62a01d09d177a52a3ad5d9faf29017666b4566052c9be1777b75df24989d49acf640ff10071daddf760990f18c1df07e1f70c772ff SHA512 366e594ee87101635050185759eb03982b8749f1efe5c8f02d0fb5f60edfdacbd8280a183b872b1484648d2556cbde5abbaf1f3fd92a7f6f604181b9e81ffcde -DIST scrcpy-server-v2.1 56955 BLAKE2B d3f993fb39549ce2bdcf9dda6c9f6bbc57c1367236734990d5aa193eb6a99b1170b111cf0c0debcd4c8981144bbb86437a2ace355011c54996c2c60325bbea6d SHA512 4cf9a49f8f3cba1bab0bd8ad53773ebff6f89b291bfe808251e979270e43f24b79cf8cc8eaece94487c44410ebd28a546a70e9d8f8455df9cdb90b11f83714aa +DIST scrcpy-server-v2.1.1 56995 BLAKE2B 6a089ca33025873f48d62389b17ba6fb6249c007ef7d7fd21883351e7724c3207dce1cea8b655cb949361d26210f5bb6115a2f5f9895c8a3b129652a77848c3d SHA512 f9b27068a92042e6d05ca4d56e6220174fbb008d21c2c423ad3adf91ac1ba0d30cf63a2d9072608adee56f5b49e5a55f9a193737ddf80fb222b447af196c4a90 EBUILD scrcpy-2.0.ebuild 935 BLAKE2B 8d89ce17a9f3ff5e323b3d065a75d770d4b570ddeacf5375c9d11f379165d61b6f8742398cda72e67b47bfedb7059f91661e1dd898ebdf48dc7f89c5b67f5732 SHA512 712736981e5928ba571869af71565e12edf3aa184e8a22eb8510ccfe054d13cc92feb76456a3cf442d489210a6a62892dddcf428b22a9d321387c653822c7c83 -EBUILD scrcpy-2.1.ebuild 1023 BLAKE2B 1007de50186f09a9501845e292807b9678cb1ecb84794f90671afdda98d0bcaccadc62f01abca76e51caa969854133636268e1382b4a370aa27a1aad14842dcb SHA512 d83e4bbbdbd1819ba4d67a6d7c9c271963e81b4def415bca8ff8c2f72fc250512de5b0c790d9538042048c545ee13fcb6dbdc0c337dab8c8e068363c22ba9609 -MISC metadata.xml 516 BLAKE2B 9abc0d5e292251190ddb19ccc88621c10ff1106a8251fcd14e09a0e55a4a4020d2dccadeae769b70b3b18d303499538b668ae6c468e7826fde67c5b0681cf260 SHA512 e827ca934e30ae643e5020e7df8ab29a6477c3b0686b51e3069f7a7b550ea765a9d6994fb5602cbf2cdb9aad9ca02461857b917a3dccce80222f817896083be9 +EBUILD scrcpy-2.1.1.ebuild 1194 BLAKE2B cf7e3da3e174e82be48a85ab36b3f1162495217057b86e5cea93614a8cd0d5a1b0a0a7a17c815f677d6b48000d0c7bc3e167f3eb6cc0be0add8057d81291cc0f SHA512 5a13247b94266fab292eb37b1e030bed298578dc2b6637701a35e4b69fa950d8f48cccac3819e842cb28144d313a0186938fc386dfb3274f97a8e0f7e8ea2acf +MISC metadata.xml 416 BLAKE2B a0f726ba54b43d068ed72c75576a9d397a0f358f98b97ac2db8eaf3fe2e6df4943e9e9b9e3a6ccdbdd3de2827b27178033228e43e3a1d6e93ef3db6ac5d2245e SHA512 d9765dc3395923a1f6b630c82ea5a1d08caa8a762b4bb58d5f271e36c6f78a363cb294e80bf32d04015eb1a0360b1f179a20bffc05c50b91b1be5ea34bbeda02 diff --git a/app-mobilephone/scrcpy/metadata.xml b/app-mobilephone/scrcpy/metadata.xml index fbaf39bf41c5..6d3156f41a83 100644 --- a/app-mobilephone/scrcpy/metadata.xml +++ b/app-mobilephone/scrcpy/metadata.xml @@ -7,7 +7,6 @@ Build with Link Time Optimization (LTO) - Enable support for the media-video/pipewire audio backend Genymobile/scrcpy diff --git a/app-mobilephone/scrcpy/scrcpy-2.1.1.ebuild b/app-mobilephone/scrcpy/scrcpy-2.1.1.ebuild new file mode 100644 index 000000000000..a24a7aa758ab --- /dev/null +++ b/app-mobilephone/scrcpy/scrcpy-2.1.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2023 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 + + einfo "If you use pipewire because of a problem with libsdl2 it is possible that" + einfo "scrcpy will not start, in which case start the program by exporting the" + einfo "environment variable SDL_AUDIODRIVER=pipewire." + einfo "For more information see https://github.com/Genymobile/scrcpy/issues/3864." +} diff --git a/app-mobilephone/scrcpy/scrcpy-2.1.ebuild b/app-mobilephone/scrcpy/scrcpy-2.1.ebuild deleted file mode 100644 index ac46fe51e905..000000000000 --- a/app-mobilephone/scrcpy/scrcpy-2.1.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2023 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 pipewire" - -DEPEND="media-libs/libsdl2[X] - media-video/ffmpeg - virtual/libusb:1" -# Manual install for ppc64 until bug #723528 is fixed -# pipewire workaround see https://github.com/Genymobile/scrcpy/issues/3864 -RDEPEND="${DEPEND} - !ppc64? ( dev-util/android-tools ) - pipewire? ( media-libs/libsdl2[-alsa,pipewire] )" -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 -} -- cgit v1.2.3