blob: 0aa166ac5ece6fd2ac2c47b748a7254f32a3ef1f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit meson ninja-utils
DESCRIPTION="Display and control your Android device"
HOMEPAGE="https://blog.rom1v.com/2018/03/introducing-scrcpy/"
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} -> ${PN}-server-${PV}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="media-libs/libsdl2
media-video/ffmpeg"
RDEPEND="${DEPEND}"
src_configure() {
local emesonargs=(
-Db_lto=true
-Dprebuilt_server="${DISTDIR}/${PN}-server-${PV}"
)
meson_src_configure
}
src_install() {
meson_src_install
elog "This ebuild uses a prebuilt ${PN} server binary (the Android app)!"
}
|