From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D0853158020 for ; Sat, 19 Nov 2022 10:58:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F3F8BE0948; Sat, 19 Nov 2022 10:58:06 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D4B57E0948 for ; Sat, 19 Nov 2022 10:58:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A6FC33412DD for ; Sat, 19 Nov 2022 10:58:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 319C174D for ; Sat, 19 Nov 2022 10:58:04 +0000 (UTC) From: "Bernard Cafarelli" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Bernard Cafarelli" Message-ID: <1668855481.06d1ca8561cf0bd6ee0a3a8afa8e6aaa09e05a14.voyageur@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-mobilephone/scrcpy/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-mobilephone/scrcpy/metadata.xml app-mobilephone/scrcpy/scrcpy-1.24-r2.ebuild X-VCS-Directories: app-mobilephone/scrcpy/ X-VCS-Committer: voyageur X-VCS-Committer-Name: Bernard Cafarelli X-VCS-Revision: 06d1ca8561cf0bd6ee0a3a8afa8e6aaa09e05a14 X-VCS-Branch: master Date: Sat, 19 Nov 2022 10:58:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5f445ea8-a195-4174-a3a7-58e6d5f3d6bd X-Archives-Hash: 806d3a0827b166f97c26e7868a444239 commit: 06d1ca8561cf0bd6ee0a3a8afa8e6aaa09e05a14 Author: Bernard Cafarelli gentoo org> AuthorDate: Sat Nov 19 10:57:04 2022 +0000 Commit: Bernard Cafarelli gentoo org> CommitDate: Sat Nov 19 10:58:01 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06d1ca85 app-mobilephone/scrcpy: add USE flag for LTO This was hardcoded in ebuild Closes: https://bugs.gentoo.org/878317 Signed-off-by: Bernard Cafarelli gentoo.org> app-mobilephone/scrcpy/metadata.xml | 6 +++++ app-mobilephone/scrcpy/scrcpy-1.24-r2.ebuild | 37 ++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/app-mobilephone/scrcpy/metadata.xml b/app-mobilephone/scrcpy/metadata.xml index 8a473e90e026..6d3156f41a83 100644 --- a/app-mobilephone/scrcpy/metadata.xml +++ b/app-mobilephone/scrcpy/metadata.xml @@ -5,4 +5,10 @@ voyageur@gentoo.org Bernard Cafarelli + + Build with Link Time Optimization (LTO) + + + Genymobile/scrcpy + diff --git a/app-mobilephone/scrcpy/scrcpy-1.24-r2.ebuild b/app-mobilephone/scrcpy/scrcpy-1.24-r2.ebuild new file mode 100644 index 000000000000..a244fae445e4 --- /dev/null +++ b/app-mobilephone/scrcpy/scrcpy-1.24-r2.ebuild @@ -0,0 +1,37 @@ +# 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" +IUSE="lto" + +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 )" +BDEPEND="" + +src_configure() { + local emesonargs=( + $(meson_use lto b_lto) + -Dprebuilt_server="${DISTDIR}/${PN}-server-v${PV}" + ) + meson_src_configure +} + +pkg_postinst() { + xdg_pkg_postrm +}