mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
app-mobilephone/scrcpy: add 4.1
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
This commit is contained in:
@@ -1,2 +1,4 @@
|
||||
DIST scrcpy-4.0.tar.gz 489017 BLAKE2B a2ec4ff60d7357104405bc1c129727528074a2a8c48b4901900f204f93f297ae6587d182e368ee971651f0b23374431dc0e3b1bd4e149be75938f42b630982a2 SHA512 ca905bc7f0991925b21980a5619752fcb7834846cbb9a665da70505ca94021992a11b5653073ed637a6839503c2dc977acf557c9ff8192571aa71480e6ec9b71
|
||||
DIST scrcpy-4.1.tar.gz 493134 BLAKE2B 34bd5a73087c8ad3283d891805e459cb60c1807fb439dfad8a82869af30b6da88ce4438cf28f024d723bc0e1d33aa4f8f1f3b23d4843cffd40b2c9b9974de241 SHA512 bdfb33666baf2e9e1f80e005cae6adf4328250dc54e396bdee8b5fd83c966156361fc85c8b5a4b714c3b7c30e9dcee570ecb2c201a9d0f9b8e147e7433c27347
|
||||
DIST scrcpy-server-v4.0 732226 BLAKE2B 3896c93fe893985485500937e05127016987954ead6e0d5fe057dd9cb5a20f20eeb81af29f074a07aaeaaae6235eafd8e568eef5a6a91c94ab92bf3e12723d88 SHA512 7ebaf385aaafc0251ab506b4850a9b508c1a3da3b7b49f59c1bd54a72f1e7080a01f1270cc7fa8a6060f4b15621e5567ebb228128ad35ec44a7286622bbddb46
|
||||
DIST scrcpy-server-v4.1 733706 BLAKE2B 2125c2ab5986d1f457636c92f24fb9aab25a43e3885badc35d399d29e23f81f2588cc2aec381a2686ae931668ab150f47789a70b729509f47887a25273d2b879 SHA512 aa03d777589797cc3f1c7fba7280a9a623b5ffb5ab415df3a4618629131b91f96bfad6e10810bd3747cce16f2fede695487701e06f1f465be7fa717bf8d66982
|
||||
|
||||
55
app-mobilephone/scrcpy/scrcpy-4.1.ebuild
Normal file
55
app-mobilephone/scrcpy/scrcpy-4.1.ebuild
Normal file
@@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2026 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/libsdl3[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
|
||||
}
|
||||
Reference in New Issue
Block a user