forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-mobilephone/scrcpy: bump version to 1.23
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Marco Genasci <[email protected]> Closes: gentoo#24327 Signed-off-by: Bernard Cafarelli <[email protected]>
- Loading branch information
1 parent
aefd954
commit e5fe251
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# 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 | ||
} |