app-mobilephone/scrcpy: add 2.4
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
This commit is contained in:
parent
a22fa398b6
commit
3c0fc1ed82
|
@ -1,2 +1,4 @@
|
|||
DIST scrcpy-2.3.1.tar.gz 401278 BLAKE2B 0cb231aef87965f346613987c45a624ad853ad870000d78ccaeda6fabaa39cfbd1fed5da50f028aece96c7c12395edc521bf629d935fb8e45a806e487681e6b8 SHA512 4ef9398f23740edf8d09bb18ecc9f6e120b7d3991b8d359836f5e3f4a568484307a1f020da2edeb3193a4f4d6820b5948d6b80600e7ceeed869a2ed8136bfefd
|
||||
DIST scrcpy-2.4.tar.gz 411206 BLAKE2B 878e20b5a8b6cbe81491baf330500c3ffa779e6a1d52b1624fd8f1862768668bd73b9845cc983a6f112db88f77b5f414c1762e616999ceb24ba3733775bf932d SHA512 05467a476a9a7eb3034eb5c16875a00dceedf25a9a3acde26738c6dfbc314e9c2a515feb3f6050c7b47436cc2a44ae2d05664b1783b1b1d7c63660044404b3d6
|
||||
DIST scrcpy-server-v2.3.1 66007 BLAKE2B f3b006bdec8fb3e34474a694fcd5d54fa1caac6b1757cd4ac74d84ce42c9e163e68dbb33985c1474fdeda4c124c317494837c24bc4c18e42cc7e285666d76374 SHA512 9360ad9321554bc9ab38833720e20fada1e0e3a9d1302fced2bbc035b87ea2bbc6802fa8d52fe73ae8d9272ac0f1759c6042badd0043392b90cb68c5c89fc57c
|
||||
DIST scrcpy-server-v2.4 69007 BLAKE2B c34d75bb34dcdaf27111366575f46d8e1d54c3d9a0eca8cb569367204a3e51e4d5b05f8a4d2de9868fe48ca4e3d323c583a99da86132e533dbede78314ca447a SHA512 6618e3bd23f139f5ed10d00dd8f8bb259bd9eaa5bca4625d3da2b38c2d1aa2cd10b6e412b6e79b1b0aecc291bde9dd2f2fddf416544b18046648a6c2b92e3368
|
||||
|
|
|
@ -0,0 +1,45 @@
|
|||
# Copyright 1999-2024 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"
|
||||
|
||||
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 )
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-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."
|
||||
}
|
Loading…
Reference in New Issue