public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Bernard Cafarelli" <voyageur@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-mobilephone/scrcpy/
Date: Wed, 19 Jul 2023 11:47:19 +0000 (UTC)	[thread overview]
Message-ID: <1689767094.e9ea075d145ec7407ccde9317f8cb03b283144f9.voyageur@gentoo> (raw)

commit:     e9ea075d145ec7407ccde9317f8cb03b283144f9
Author:     Marco Genasci <fedeliallalinea <AT> gmail <DOT> com>
AuthorDate: Mon Jul 10 13:27:46 2023 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Wed Jul 19 11:44:54 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9ea075d

app-mobilephone/scrcpy: bump version to 2.1

Signed-off-by: Marco Genasci <fedeliallalinea <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/31820
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>

 app-mobilephone/scrcpy/Manifest          |  2 ++
 app-mobilephone/scrcpy/metadata.xml      |  1 +
 app-mobilephone/scrcpy/scrcpy-2.1.ebuild | 39 ++++++++++++++++++++++++++++++++
 3 files changed, 42 insertions(+)

diff --git a/app-mobilephone/scrcpy/Manifest b/app-mobilephone/scrcpy/Manifest
index 928d2b985f99..fd7837ba3890 100644
--- a/app-mobilephone/scrcpy/Manifest
+++ b/app-mobilephone/scrcpy/Manifest
@@ -1,4 +1,6 @@
 DIST scrcpy-1.25.tar.gz 345594 BLAKE2B 9be58de258d2e048fc87ef642ba668ad7427faea51d6bd06d48d1ca61a5c55bbce2b758b445d21ea3052ac63809769043e57a28502c53fae98079056029ded1f SHA512 7f28adb69becdc247156d664744ef382cc9ac5e746d2be9c833a53309386c22eb90893b499aee80404cb9903ea40ce5f389b41f2201bf85801e1b8ab920b4eb0
 DIST scrcpy-2.0.tar.gz 375902 BLAKE2B b45a0191a4b634a6fd165a870ce925968eb2bf697eedd88744abf6e6282afa8a4c2108e85e6d479be47e6ddc08a8b5a54875315d1319721639fea8b49f423817 SHA512 c7f6a20ff470c529f3d9a211ee02eebc028f698b2215665c8386afda8db4ea51206bb3c3182d846485399101f0add35844477ebd37df30724cb43c3882c6dc4d
+DIST scrcpy-2.1.tar.gz 385830 BLAKE2B 2889f263325e9274c5b68fd2081f9a2093faf8e6bd3fec3cdf941ad25df88f0a73183e9225d69098d5d05455146e6e7e126211cf5e94d4df3ab1f68553ebe32a SHA512 bb0bf7d975beef1d30269485a070193226ae6527821fe6128d45f917353d4a7b52d0736ae462ea9fa52be744a8257753225fd8f99a15c2f88e15cbfc4c36c646
 DIST scrcpy-server-v1.25 42151 BLAKE2B 90789c8b259f9a63820652f8884b51abe1040201f37788542796fbff6445bc13259e2aaf635c99c6ccdb515d8fd4b0b3bcd54d8972d134086f05d149a5073d41 SHA512 2861f423b6c982354c5959570708b51832e18b9d376397f98a78c8d6137af22bb3f19cbce501d7f413276362e9ac9e0358b8984566ff04102a3720074ff1fea1
 DIST scrcpy-server-v2.0 52867 BLAKE2B 6867677059ed60358e8d4f62a01d09d177a52a3ad5d9faf29017666b4566052c9be1777b75df24989d49acf640ff10071daddf760990f18c1df07e1f70c772ff SHA512 366e594ee87101635050185759eb03982b8749f1efe5c8f02d0fb5f60edfdacbd8280a183b872b1484648d2556cbde5abbaf1f3fd92a7f6f604181b9e81ffcde
+DIST scrcpy-server-v2.1 56955 BLAKE2B d3f993fb39549ce2bdcf9dda6c9f6bbc57c1367236734990d5aa193eb6a99b1170b111cf0c0debcd4c8981144bbb86437a2ace355011c54996c2c60325bbea6d SHA512 4cf9a49f8f3cba1bab0bd8ad53773ebff6f89b291bfe808251e979270e43f24b79cf8cc8eaece94487c44410ebd28a546a70e9d8f8455df9cdb90b11f83714aa

diff --git a/app-mobilephone/scrcpy/metadata.xml b/app-mobilephone/scrcpy/metadata.xml
index 6d3156f41a83..fbaf39bf41c5 100644
--- a/app-mobilephone/scrcpy/metadata.xml
+++ b/app-mobilephone/scrcpy/metadata.xml
@@ -7,6 +7,7 @@
 	</maintainer>
 	<use>
 		<flag name="lto">Build with Link Time Optimization (LTO)</flag>
+		<flag name="pipewire">Enable support for the <pkg>media-video/pipewire</pkg> audio backend</flag>
 	</use>
 	<upstream>
 		<remote-id type="github">Genymobile/scrcpy</remote-id>

diff --git a/app-mobilephone/scrcpy/scrcpy-2.1.ebuild b/app-mobilephone/scrcpy/scrcpy-2.1.ebuild
new file mode 100644
index 000000000000..ac46fe51e905
--- /dev/null
+++ b/app-mobilephone/scrcpy/scrcpy-2.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2023 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 pipewire"
+
+DEPEND="media-libs/libsdl2[X]
+	media-video/ffmpeg
+	virtual/libusb:1"
+# Manual install for ppc64 until bug #723528 is fixed
+# pipewire workaround see https://github.com/Genymobile/scrcpy/issues/3864
+RDEPEND="${DEPEND}
+	!ppc64? ( dev-util/android-tools )
+	pipewire? ( media-libs/libsdl2[-alsa,pipewire] )"
+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
+}


             reply	other threads:[~2023-07-19 11:47 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-19 11:47 Bernard Cafarelli [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-11  7:20 [gentoo-commits] repo/gentoo:master commit in: app-mobilephone/scrcpy/ Bernard Cafarelli
2024-12-06  8:08 Bernard Cafarelli
2024-09-25  8:02 Bernard Cafarelli
2024-09-25  8:02 Bernard Cafarelli
2024-08-13  9:38 Bernard Cafarelli
2024-07-01 14:09 Bernard Cafarelli
2024-03-03 18:06 Bernard Cafarelli
2024-03-03 18:06 Bernard Cafarelli
2024-02-28 18:36 Bernard Cafarelli
2024-02-24 16:40 Michał Górny
2024-01-07 11:38 Michał Górny
2023-12-17 23:10 Bernard Cafarelli
2023-11-24 14:33 Bernard Cafarelli
2023-07-28 20:24 Bernard Cafarelli
2023-07-28 20:24 Bernard Cafarelli
2023-07-19 11:47 Bernard Cafarelli
2023-03-14 20:59 Bernard Cafarelli
2022-12-22 20:35 Bernard Cafarelli
2022-11-19 10:58 Bernard Cafarelli
2022-10-17 15:00 Bernard Cafarelli
2022-10-10 10:02 Bernard Cafarelli
2022-05-04 20:33 Bernard Cafarelli
2022-02-25 21:02 Bernard Cafarelli
2022-02-25 21:02 Bernard Cafarelli
2022-02-04 12:24 Bernard Cafarelli
2021-12-03  9:06 Bernard Cafarelli
2021-11-17 10:56 Bernard Cafarelli
2021-11-15 22:41 Bernard Cafarelli
2021-11-15 22:41 Bernard Cafarelli
2021-11-15 22:41 Bernard Cafarelli
2021-09-17 11:29 Bernard Cafarelli
2021-07-17 21:15 Georgy Yakovlev
2021-07-09  8:09 Bernard Cafarelli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1689767094.e9ea075d145ec7407ccde9317f8cb03b283144f9.voyageur@gentoo \
    --to=voyageur@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox