mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-08 00:05:33 +03:00
app-mobilephone/scrcpy: add 3.3.3
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
This commit is contained in:
parent
78441b30ec
commit
66dc1b12bb
@ -1,2 +1,4 @@
|
||||
DIST scrcpy-3.3.2.tar.gz 465392 BLAKE2B 53bf21fef4388bd32f2957fd6a584d6e9a228b1ffae221e65e60ccb076d8837bb56621b91e54f24e6d9469d578f2545d6a0b2327809b4a842ad98790fead7f8b SHA512 798d7474b4a46c3d178ecd25709c52a31018722ce3d3fc3de418e8845bf43ca71ad1b080fcc3e35109da9f221d0e27696e59c738fcb2cff794784a5a2150868b
|
||||
DIST scrcpy-3.3.3.tar.gz 465309 BLAKE2B b38ff0eea8e654f61d47d6c6e6c3a4d0d674fbafce395b943d53905be234ae06baa6ade3cde7a42d0e411da424a5e6b06153a51e489dbd1786e97215cf1aef89 SHA512 626f9f99f5c032520c8348d44fb19a39f5a56edba17c3f10438d9156b9d35b11c0bae60f5e140e4c30ab6cb9e068f67b4329edcd1bdfa9cba43ecb08616dd33a
|
||||
DIST scrcpy-server-v3.3.2 90808 BLAKE2B e0a5880fa99fb5af2a48833a93ed20f108442b49937a71ec21095afab90ff12030fcdc24cca260c6c20da2a72c987e8984cf3fa1733a4ec8c3e0c5d8c76a2f51 SHA512 f77535dd88268300d2ec566719dbd0899b598416b63e4db808f29e20362b4ed3a3057ebeadcff94966ed7adf857d52cf4a1087fd1a03b99ae1876dc92e27a5ae
|
||||
DIST scrcpy-server-v3.3.3 90164 BLAKE2B 662ce33e8957e5db070b5f7c71f83c9dd49d65ca15e105837d3e806b13b351acdeb58741562302d0090b502ebf11ef5457a750a2f7fb041318ce90c411e2457c SHA512 73dfa8c983b19970b52ce21dc2605aae8fb6c25135b3e74cf77e55aba6a98aeba7a7cc3bdd5f900feca6ffdb0ad7c66598719f40a73cd9e25a6299ac3606dcad
|
||||
|
||||
55
app-mobilephone/scrcpy/scrcpy-3.3.3.ebuild
Normal file
55
app-mobilephone/scrcpy/scrcpy-3.3.3.ebuild
Normal file
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2025 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="X wayland"
|
||||
|
||||
DEPEND="
|
||||
media-libs/libsdl2[X?,wayland?]
|
||||
media-video/ffmpeg:=
|
||||
virtual/libusb:1
|
||||
"
|
||||
# Manual install for ppc64 until bug #723528 is fixed
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
!ppc64? ( dev-util/android-tools )
|
||||
"
|
||||
|
||||
DOCS=( {FAQ,README}.md doc/. )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
rm doc/{build,develop,macos,windows}.md || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dprebuilt_server="${DISTDIR}/${PN}-server-v${PV}"
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
|
||||
if has_version media-video/pipewire; then
|
||||
ewarn "On pipewire systems scrcpy might not start due to a problem with libsdl2."
|
||||
ewarn "If that is the case for you start the program as follows:"
|
||||
ewarn " $ SDL_AUDIODRIVER=pipewire scrcpy [...]"
|
||||
ewarn "For more information see https://github.com/Genymobile/scrcpy/issues/3864"
|
||||
fi
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user