diff options
author | Marco Genasci <fedeliallalinea@gmail.com> | 2023-07-10 15:27:46 +0200 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2023-07-19 13:44:54 +0200 |
commit | e9ea075d145ec7407ccde9317f8cb03b283144f9 (patch) | |
tree | b81e7774da3239d132f817ac82cddc6ceb1daf17 /app-mobilephone/scrcpy | |
parent | app-text/tesseract: add 5.3.2 (diff) | |
download | gentoo-e9ea075d145ec7407ccde9317f8cb03b283144f9.tar.gz gentoo-e9ea075d145ec7407ccde9317f8cb03b283144f9.tar.bz2 gentoo-e9ea075d145ec7407ccde9317f8cb03b283144f9.zip |
app-mobilephone/scrcpy: bump version to 2.1
Signed-off-by: Marco Genasci <fedeliallalinea@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/31820
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/metadata.xml | 1 | ||||
-rw-r--r-- | app-mobilephone/scrcpy/scrcpy-2.1.ebuild | 39 |
3 files changed, 42 insertions, 0 deletions
diff --git a/app-mobilephone/scrcpy/Manifest b/app-mobilephone/scrcpy/Manifest index 928d2b985f99..fd7837ba3890 100644 --- a/app-mobilephone/scrcpy/Manifest +++ b/app-mobilephone/scrcpy/Manifest @@ -1,4 +1,6 @@ DIST scrcpy-1.25.tar.gz 345594 BLAKE2B 9be58de258d2e048fc87ef642ba668ad7427faea51d6bd06d48d1ca61a5c55bbce2b758b445d21ea3052ac63809769043e57a28502c53fae98079056029ded1f SHA512 7f28adb69becdc247156d664744ef382cc9ac5e746d2be9c833a53309386c22eb90893b499aee80404cb9903ea40ce5f389b41f2201bf85801e1b8ab920b4eb0 DIST scrcpy-2.0.tar.gz 375902 BLAKE2B b45a0191a4b634a6fd165a870ce925968eb2bf697eedd88744abf6e6282afa8a4c2108e85e6d479be47e6ddc08a8b5a54875315d1319721639fea8b49f423817 SHA512 c7f6a20ff470c529f3d9a211ee02eebc028f698b2215665c8386afda8db4ea51206bb3c3182d846485399101f0add35844477ebd37df30724cb43c3882c6dc4d +DIST scrcpy-2.1.tar.gz 385830 BLAKE2B 2889f263325e9274c5b68fd2081f9a2093faf8e6bd3fec3cdf941ad25df88f0a73183e9225d69098d5d05455146e6e7e126211cf5e94d4df3ab1f68553ebe32a SHA512 bb0bf7d975beef1d30269485a070193226ae6527821fe6128d45f917353d4a7b52d0736ae462ea9fa52be744a8257753225fd8f99a15c2f88e15cbfc4c36c646 DIST scrcpy-server-v1.25 42151 BLAKE2B 90789c8b259f9a63820652f8884b51abe1040201f37788542796fbff6445bc13259e2aaf635c99c6ccdb515d8fd4b0b3bcd54d8972d134086f05d149a5073d41 SHA512 2861f423b6c982354c5959570708b51832e18b9d376397f98a78c8d6137af22bb3f19cbce501d7f413276362e9ac9e0358b8984566ff04102a3720074ff1fea1 DIST scrcpy-server-v2.0 52867 BLAKE2B 6867677059ed60358e8d4f62a01d09d177a52a3ad5d9faf29017666b4566052c9be1777b75df24989d49acf640ff10071daddf760990f18c1df07e1f70c772ff SHA512 366e594ee87101635050185759eb03982b8749f1efe5c8f02d0fb5f60edfdacbd8280a183b872b1484648d2556cbde5abbaf1f3fd92a7f6f604181b9e81ffcde +DIST scrcpy-server-v2.1 56955 BLAKE2B d3f993fb39549ce2bdcf9dda6c9f6bbc57c1367236734990d5aa193eb6a99b1170b111cf0c0debcd4c8981144bbb86437a2ace355011c54996c2c60325bbea6d SHA512 4cf9a49f8f3cba1bab0bd8ad53773ebff6f89b291bfe808251e979270e43f24b79cf8cc8eaece94487c44410ebd28a546a70e9d8f8455df9cdb90b11f83714aa diff --git a/app-mobilephone/scrcpy/metadata.xml b/app-mobilephone/scrcpy/metadata.xml index 6d3156f41a83..fbaf39bf41c5 100644 --- a/app-mobilephone/scrcpy/metadata.xml +++ b/app-mobilephone/scrcpy/metadata.xml @@ -7,6 +7,7 @@ </maintainer> <use> <flag name="lto">Build with Link Time Optimization (LTO)</flag> + <flag name="pipewire">Enable support for the <pkg>media-video/pipewire</pkg> audio backend</flag> </use> <upstream> <remote-id type="github">Genymobile/scrcpy</remote-id> diff --git a/app-mobilephone/scrcpy/scrcpy-2.1.ebuild b/app-mobilephone/scrcpy/scrcpy-2.1.ebuild new file mode 100644 index 000000000000..ac46fe51e905 --- /dev/null +++ b/app-mobilephone/scrcpy/scrcpy-2.1.ebuild @@ -0,0 +1,39 @@ +# 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 +} |