summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-mobilephone')
-rw-r--r--app-mobilephone/gnokii/gnokii-0.6.31-r4.ebuild4
-rw-r--r--app-mobilephone/scrcpy/Manifest6
-rw-r--r--app-mobilephone/scrcpy/files/scrcpy-2.0-desktop.patch41
-rw-r--r--app-mobilephone/scrcpy/metadata.xml3
-rw-r--r--app-mobilephone/scrcpy/scrcpy-2.1.1.ebuild4
-rw-r--r--app-mobilephone/scrcpy/scrcpy-2.2.ebuild (renamed from app-mobilephone/scrcpy/scrcpy-2.0.ebuild)12
-rw-r--r--app-mobilephone/scrcpy/scrcpy-2.3.1-r1.ebuild45
7 files changed, 58 insertions, 57 deletions
diff --git a/app-mobilephone/gnokii/gnokii-0.6.31-r4.ebuild b/app-mobilephone/gnokii/gnokii-0.6.31-r4.ebuild
index bf1306ec46ff..0e7fe85f1478 100644
--- a/app-mobilephone/gnokii/gnokii-0.6.31-r4.ebuild
+++ b/app-mobilephone/gnokii/gnokii-0.6.31-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -12,7 +12,7 @@ if [[ ${PV} == *9999 ]]; then
inherit git-r3
else
SRC_URI="https://www.gnokii.org/download/${PN}/${P}.tar.bz2"
- KEYWORDS="amd64 ~hppa ~ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+ KEYWORDS="amd64 ~arm64 ~hppa ~ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
fi
DESCRIPTION="User space driver and tools for use with mobile phones"
diff --git a/app-mobilephone/scrcpy/Manifest b/app-mobilephone/scrcpy/Manifest
index 2c25d9be2395..2bce2ed94bfc 100644
--- a/app-mobilephone/scrcpy/Manifest
+++ b/app-mobilephone/scrcpy/Manifest
@@ -1,4 +1,6 @@
-DIST scrcpy-2.0.tar.gz 375902 BLAKE2B b45a0191a4b634a6fd165a870ce925968eb2bf697eedd88744abf6e6282afa8a4c2108e85e6d479be47e6ddc08a8b5a54875315d1319721639fea8b49f423817 SHA512 c7f6a20ff470c529f3d9a211ee02eebc028f698b2215665c8386afda8db4ea51206bb3c3182d846485399101f0add35844477ebd37df30724cb43c3882c6dc4d
DIST scrcpy-2.1.1.tar.gz 386002 BLAKE2B 3d1ec3829cc08d36a6b42f7429749000ea5a4aaf2b8501167fe03b68fb722ec9351da9f287aef752fbceebf04db1484071c4fdf3b84bc5d9eb3805f635502951 SHA512 247d2b4d5523412c667b3104621cdbb5d4a47f1fbc34e4fbde242212d9a4a198232d886eb5d4dc8678fbbe97a63d747827986fd34b08b0951bce02f256e65c47
-DIST scrcpy-server-v2.0 52867 BLAKE2B 6867677059ed60358e8d4f62a01d09d177a52a3ad5d9faf29017666b4566052c9be1777b75df24989d49acf640ff10071daddf760990f18c1df07e1f70c772ff SHA512 366e594ee87101635050185759eb03982b8749f1efe5c8f02d0fb5f60edfdacbd8280a183b872b1484648d2556cbde5abbaf1f3fd92a7f6f604181b9e81ffcde
+DIST scrcpy-2.2.tar.gz 396529 BLAKE2B 6f11dbde6900ef818dbd3e5f1edb169d8acc2a4940675a2cadaec362c1a56c409fe8bcdeab7fcd208c5b4c038d2ddb5da5b0092d5743b27f3719d0970d5553e5 SHA512 e1518d4eb649f40facfd61c8b29120dd11183dd1e753c3b3914794956f87c09777410d0b9f47a05be2763c92c352afd1ee0ac6077d7319e6b29835e1b1259f04
+DIST scrcpy-2.3.1.tar.gz 401278 BLAKE2B 0cb231aef87965f346613987c45a624ad853ad870000d78ccaeda6fabaa39cfbd1fed5da50f028aece96c7c12395edc521bf629d935fb8e45a806e487681e6b8 SHA512 4ef9398f23740edf8d09bb18ecc9f6e120b7d3991b8d359836f5e3f4a568484307a1f020da2edeb3193a4f4d6820b5948d6b80600e7ceeed869a2ed8136bfefd
DIST scrcpy-server-v2.1.1 56995 BLAKE2B 6a089ca33025873f48d62389b17ba6fb6249c007ef7d7fd21883351e7724c3207dce1cea8b655cb949361d26210f5bb6115a2f5f9895c8a3b129652a77848c3d SHA512 f9b27068a92042e6d05ca4d56e6220174fbb008d21c2c423ad3adf91ac1ba0d30cf63a2d9072608adee56f5b49e5a55f9a193737ddf80fb222b447af196c4a90
+DIST scrcpy-server-v2.2 64363 BLAKE2B 65f53a9b931ab076f06de174c1212077d5961a28881237967894ca5f9f59006b4974c4fd6c1e878df9fa7804b848a92b03689f07e27fa32489e66dede5220363 SHA512 7020b3e1b78a9e5896355d22855cffd338d2a455367a82a1aad0659511de42bff8112756ed614b56f9945340aeb56f42f6e093263450c08c02dd8774348dd64a
+DIST scrcpy-server-v2.3.1 66007 BLAKE2B f3b006bdec8fb3e34474a694fcd5d54fa1caac6b1757cd4ac74d84ce42c9e163e68dbb33985c1474fdeda4c124c317494837c24bc4c18e42cc7e285666d76374 SHA512 9360ad9321554bc9ab38833720e20fada1e0e3a9d1302fced2bbc035b87ea2bbc6802fa8d52fe73ae8d9272ac0f1759c6042badd0043392b90cb68c5c89fc57c
diff --git a/app-mobilephone/scrcpy/files/scrcpy-2.0-desktop.patch b/app-mobilephone/scrcpy/files/scrcpy-2.0-desktop.patch
deleted file mode 100644
index 531a4101a53c..000000000000
--- a/app-mobilephone/scrcpy/files/scrcpy-2.0-desktop.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 6706f3ce7f70a3ba5d09279be9c78d358af31e88 Mon Sep 17 00:00:00 2001
-From: Bernard Cafarelli <bernard.cafarelli@gmail.com>
-Date: Tue, 14 Mar 2023 21:48:23 +0100
-Subject: [PATCH] Fix linux desktop files validation
-
-Follow quoting rules from:
-https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#exec-variables
-Also use /bin/sh for scrpy-console
-
-Fixes #3633 <https://github.com/Genymobile/scrcpy/issues/3633>
----
- app/data/scrcpy-console.desktop | 2 +-
- app/data/scrcpy.desktop | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/app/data/scrcpy-console.desktop b/app/data/scrcpy-console.desktop
-index 47a63ec99..db3d9014c 100644
---- a/app/data/scrcpy-console.desktop
-+++ b/app/data/scrcpy-console.desktop
-@@ -5,7 +5,7 @@ Comment=Display and control your Android device
- # For some users, the PATH or ADB environment variables are set from the shell
- # startup file, like .bashrc or .zshrc… Run an interactive shell to get
- # environment correctly initialized.
--Exec=/bin/bash --norc --noprofile -i -c '"$SHELL" -i -c scrcpy || read -p "Press any key to quit..."'
-+Exec=/bin/sh --norc --noprofile -i -c "\"\\$SHELL\" -i -c scrcpy || read -p 'Press any key to quit...'"
- Icon=scrcpy
- Terminal=true
- Type=Application
-diff --git a/app/data/scrcpy.desktop b/app/data/scrcpy.desktop
-index 082b75e0f..1be86a2ba 100644
---- a/app/data/scrcpy.desktop
-+++ b/app/data/scrcpy.desktop
-@@ -5,7 +5,7 @@ Comment=Display and control your Android device
- # For some users, the PATH or ADB environment variables are set from the shell
- # startup file, like .bashrc or .zshrc… Run an interactive shell to get
- # environment correctly initialized.
--Exec=/bin/sh -c '"$SHELL" -i -c scrcpy'
-+Exec=/bin/sh -c "\"\\$SHELL\" -i -c scrcpy"
- Icon=scrcpy
- Terminal=false
- Type=Application
diff --git a/app-mobilephone/scrcpy/metadata.xml b/app-mobilephone/scrcpy/metadata.xml
index 6d3156f41a83..b3504f704818 100644
--- a/app-mobilephone/scrcpy/metadata.xml
+++ b/app-mobilephone/scrcpy/metadata.xml
@@ -5,9 +5,6 @@
<email>voyageur@gentoo.org</email>
<name>Bernard Cafarelli</name>
</maintainer>
- <use>
- <flag name="lto">Build with Link Time Optimization (LTO)</flag>
- </use>
<upstream>
<remote-id type="github">Genymobile/scrcpy</remote-id>
</upstream>
diff --git a/app-mobilephone/scrcpy/scrcpy-2.1.1.ebuild b/app-mobilephone/scrcpy/scrcpy-2.1.1.ebuild
index a24a7aa758ab..6b6083dbe912 100644
--- a/app-mobilephone/scrcpy/scrcpy-2.1.1.ebuild
+++ b/app-mobilephone/scrcpy/scrcpy-2.1.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -14,7 +14,6 @@ SRC_URI="https://github.com/Genymobile/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.g
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86"
-IUSE="lto"
DEPEND="media-libs/libsdl2[X]
media-video/ffmpeg
@@ -26,7 +25,6 @@ BDEPEND=""
src_configure() {
local emesonargs=(
- $(meson_use lto b_lto)
-Dprebuilt_server="${DISTDIR}/${PN}-server-v${PV}"
)
meson_src_configure
diff --git a/app-mobilephone/scrcpy/scrcpy-2.0.ebuild b/app-mobilephone/scrcpy/scrcpy-2.2.ebuild
index 819f99b5380d..b353534c5781 100644
--- a/app-mobilephone/scrcpy/scrcpy-2.0.ebuild
+++ b/app-mobilephone/scrcpy/scrcpy-2.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -14,7 +14,6 @@ SRC_URI="https://github.com/Genymobile/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.g
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86"
-IUSE="lto"
DEPEND="media-libs/libsdl2[X]
media-video/ffmpeg
@@ -22,13 +21,9 @@ DEPEND="media-libs/libsdl2[X]
# Manual install for ppc64 until bug #723528 is fixed
RDEPEND="${DEPEND}
!ppc64? ( dev-util/android-tools )"
-BDEPEND=""
-
-PATCHES=( "${FILESDIR}"/${P}-desktop.patch )
src_configure() {
local emesonargs=(
- $(meson_use lto b_lto)
-Dprebuilt_server="${DISTDIR}/${PN}-server-v${PV}"
)
meson_src_configure
@@ -36,4 +31,9 @@ src_configure() {
pkg_postinst() {
xdg_pkg_postrm
+
+ einfo "If you use pipewire because of a problem with libsdl2 it is possible that"
+ einfo "scrcpy will not start, in which case start the program by exporting the"
+ einfo "environment variable SDL_AUDIODRIVER=pipewire."
+ einfo "For more information see https://github.com/Genymobile/scrcpy/issues/3864."
}
diff --git a/app-mobilephone/scrcpy/scrcpy-2.3.1-r1.ebuild b/app-mobilephone/scrcpy/scrcpy-2.3.1-r1.ebuild
new file mode 100644
index 000000000000..ef5acfc0b38d
--- /dev/null
+++ b/app-mobilephone/scrcpy/scrcpy-2.3.1-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2024 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"
+
+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 )
+"
+
+src_configure() {
+ local emesonargs=(
+ -Dprebuilt_server="${DISTDIR}/${PN}-server-v${PV}"
+ )
+ meson_src_configure
+}
+
+pkg_postinst() {
+ xdg_pkg_postrm
+
+ einfo "If you use pipewire because of a problem with libsdl2 it is possible that"
+ einfo "scrcpy will not start, in which case start the program by exporting the"
+ einfo "environment variable SDL_AUDIODRIVER=pipewire."
+ einfo "For more information see https://github.com/Genymobile/scrcpy/issues/3864."
+}