You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
779 B
35 lines
779 B
# Copyright 1999-2022 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"
|
|
|
|
RDEPEND="media-libs/libsdl2[X]
|
|
media-video/ffmpeg
|
|
virtual/libusb:1"
|
|
DEPEND="${RDEPEND}"
|
|
BDEPEND=""
|
|
|
|
src_configure() {
|
|
local emesonargs=(
|
|
-Db_lto=true
|
|
-Dprebuilt_server="${DISTDIR}/${PN}-server-v${PV}"
|
|
)
|
|
meson_src_configure
|
|
}
|
|
|
|
pkg_postinst() {
|
|
xdg_pkg_postrm
|
|
}
|