diff options
Diffstat (limited to 'app-mobilephone')
20 files changed, 86 insertions, 289 deletions
diff --git a/app-mobilephone/adebar/adebar-2.4.1.ebuild b/app-mobilephone/adebar/adebar-2.4.1.ebuild index 1577d71816f9..3d44674e47c8 100644 --- a/app-mobilephone/adebar/adebar-2.4.1.ebuild +++ b/app-mobilephone/adebar/adebar-2.4.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 @@ -9,21 +9,20 @@ DESCRIPTION="Android DEvice Backup And Report, using Bash and ADB" HOMEPAGE="https://codeberg.org/izzy/Adebar" SRC_URI="https://codeberg.org/izzy/Adebar/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}" + LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64" -IUSE="" RDEPEND=" app-shells/bash dev-util/android-tools " -S="${WORKDIR}/${PN}" - DISABLE_AUTOFORMATTING="no" DOC_CONTENTS="Please refer to the documentation at https://codeberg.org/izzy/Adebar/wiki. -You can find example configurations at ${ROOT}/usr/share/doc/${PF}. +You can find example configurations at /usr/share/doc/${PF}. To customize, copy to \${XDG_CONFIG_HOME}/${PN} and edit it to your liking. Contrary to the documentation, the Gentoo installation does not allow configuration files relative to main program ${PN} installed to /usr/bin. diff --git a/app-mobilephone/adebar/metadata.xml b/app-mobilephone/adebar/metadata.xml index 46861791de00..f737de18059c 100644 --- a/app-mobilephone/adebar/metadata.xml +++ b/app-mobilephone/adebar/metadata.xml @@ -5,4 +5,7 @@ <email>billie@gentoo.org</email> <name>Daniel Pielmeier</name> </maintainer> + <upstream> + <remote-id type="codeberg">izzy/Adebar</remote-id> + </upstream> </pkgmetadata> diff --git a/app-mobilephone/anyremote/anyremote-6.5.ebuild b/app-mobilephone/anyremote/anyremote-6.5.ebuild index 3cdd0f3f8831..f049e6cc81cf 100644 --- a/app-mobilephone/anyremote/anyremote-6.5.ebuild +++ b/app-mobilephone/anyremote/anyremote-6.5.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DESCRIPTION="Bluetooth, infrared or cable remote control service" HOMEPAGE="http://anyremote.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" diff --git a/app-mobilephone/dfu-util/dfu-util-0.11.ebuild b/app-mobilephone/dfu-util/dfu-util-0.11.ebuild index e643a791ad8a..93350d080235 100644 --- a/app-mobilephone/dfu-util/dfu-util-0.11.ebuild +++ b/app-mobilephone/dfu-util/dfu-util-0.11.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 @@ -7,8 +7,8 @@ if [[ ${PV} == *9999 ]] ; then EGIT_REPO_URI="git://git.code.sf.net/p/dfu-util/dfu-util" inherit autotools git-r3 else - SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - KEYWORDS="amd64 ~arm64 ~riscv x86" + SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz" + KEYWORDS="amd64 arm64 ~riscv x86" fi DESCRIPTION="implements the Host (PC) side of the USB DFU (Device Firmware Upgrade) protocol" diff --git a/app-mobilephone/dfu-util/dfu-util-9999.ebuild b/app-mobilephone/dfu-util/dfu-util-9999.ebuild index 502898893811..7204f3fb82a4 100644 --- a/app-mobilephone/dfu-util/dfu-util-9999.ebuild +++ b/app-mobilephone/dfu-util/dfu-util-9999.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 @@ -7,7 +7,7 @@ if [[ ${PV} == *9999 ]] ; then EGIT_REPO_URI="git://git.code.sf.net/p/dfu-util/dfu-util" inherit autotools git-r3 else - SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz" KEYWORDS="~amd64 ~riscv ~x86" fi diff --git a/app-mobilephone/gammu/Manifest b/app-mobilephone/gammu/Manifest index 6a177effc321..b083ab159211 100644 --- a/app-mobilephone/gammu/Manifest +++ b/app-mobilephone/gammu/Manifest @@ -1 +1 @@ -DIST gammu-1.42.0.tar.bz2 2193946 BLAKE2B 074f870624efbd28aaf9ecb445063ff7ec070cd1498c00a2e93a8842ed2afd5a0bc6475d950885eec883bed158528dda0588809c2d55ef78c83f0eed3e1b4aff SHA512 f440df357578ce7f5ddd17f2f0f6405b4dacbca3e5da65a469f3f1e92c71bf899a7ef0977438c803ed9b1d7d15324d4a43bd9d97d986119a522243e2e6304971 +DIST gammu-1.42.0.tar.xz 1747520 BLAKE2B 13f2627ad189e8ca92da2b16c4f7f5f792f601ca5f7620e251526f79b399b54eb3fb46b420ccb81d4bb44c7777d417c96390001d30dbbe9740eb3d737c574716 SHA512 b1826b011b7af15c87bd1e9214536607450553f9b5c7ba9b40ea2a1b9d8dcc8cab61106055fcb4aeb69e78ea29d2f4986ffd7df20210ed76bc6a0c474e140ba1 diff --git a/app-mobilephone/gammu/gammu-1.42.0-r1.ebuild b/app-mobilephone/gammu/gammu-1.42.0-r1.ebuild index ba396cb0f1fc..00ba2ed482b2 100644 --- a/app-mobilephone/gammu/gammu-1.42.0-r1.ebuild +++ b/app-mobilephone/gammu/gammu-1.42.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -7,7 +7,7 @@ inherit cmake DESCRIPTION="A tool to handle your cellular phone" HOMEPAGE="https://wammu.eu/gammu/" -SRC_URI="https://dl.cihar.com/${PN}/releases/${P}.tar.bz2" +SRC_URI="https://dl.cihar.com/${PN}/releases/${P}.tar.xz" LICENSE="GPL-2" SLOT="0" diff --git a/app-mobilephone/gnokii/files/gnokii-9999-icon.patch b/app-mobilephone/gnokii/files/gnokii-9999-icon.patch deleted file mode 100644 index 13ca2cf6e4ce..000000000000 --- a/app-mobilephone/gnokii/files/gnokii-9999-icon.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/xgnokii/xgnokii.desktop.in -+++ b/xgnokii/xgnokii.desktop.in -@@ -2,7 +2,7 @@ - _Name=Xgnokii - _GenericName=Mobile Phone Suite - _Comment=Manage your mobile phone --Icon=phone -+Icon=xgnokii - Exec=xgnokii - Terminal=false - Type=Application diff --git a/app-mobilephone/gnokii/files/gnokii-9999-translations.patch b/app-mobilephone/gnokii/files/gnokii-9999-translations.patch deleted file mode 100644 index 2f61cc222738..000000000000 --- a/app-mobilephone/gnokii/files/gnokii-9999-translations.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/po/POTFILES.in -+++ b/po/POTFILES.in -@@ -57,6 +57,7 @@ - smsd/pq.c - smsd/smsd.c - smsd/sqlite.c -+utils/gnokii-configure.glade - utils/mgnokiidev.c - xgnokii/xgnokii.c - xgnokii/xgnokii_calendar.c diff --git a/app-mobilephone/gnokii/gnokii-0.6.31-r4.ebuild b/app-mobilephone/gnokii/gnokii-0.6.31-r5.ebuild index bf1306ec46ff..ecb43f31fb9f 100644 --- a/app-mobilephone/gnokii/gnokii-0.6.31-r4.ebuild +++ b/app-mobilephone/gnokii/gnokii-0.6.31-r5.ebuild @@ -1,28 +1,23 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 + inherit autotools desktop linux-info strip-linguas HOMEPAGE="https://www.gnokii.org/" -if [[ ${PV} == *9999 ]]; then - EGIT_REPO_URI=" - git://git.savannah.nongnu.org/${PN}.git - http://git.savannah.gnu.org/r/${PN}.git" - 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" -fi DESCRIPTION="User space driver and tools for use with mobile phones" +SRC_URI="https://www.gnokii.org/download/${PN}/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" +KEYWORDS="amd64 ~arm64 ~hppa ~ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="bluetooth debug ical irda mysql nls +pcsc-lite postgres sms usb X" RDEPEND=" !app-mobilephone/smstools dev-libs/glib:2 + sys-libs/readline:= bluetooth? ( kernel_linux? ( net-wireless/bluez ) ) ical? ( dev-libs/libical:= ) pcsc-lite? ( sys-apps/pcsc-lite ) @@ -33,7 +28,8 @@ RDEPEND=" usb? ( virtual/libusb:0 ) X? ( x11-libs/gtk+:2 ) " -DEPEND="${RDEPEND} +DEPEND="${RDEPEND}" +BDEPEND=" dev-util/intltool irda? ( virtual/os-headers ) nls? ( sys-devel/gettext ) @@ -56,12 +52,6 @@ PATCHES=( ) src_prepare() { - [[ ${PV} == *9999 ]] && \ - PATCHES=( - "${FILESDIR}"/${P}-icon.patch - "${FILESDIR}"/${P}-translations.patch - ) - default sed -i -e "s:/usr/local:${EPREFIX}/usr:" Docs/sample/gnokiirc || die @@ -85,23 +75,24 @@ src_configure() { config_xdebug="--disable-xdebug" fi - econf \ - --disable-static \ - --enable-security \ - --disable-unix98test \ - $(use_enable bluetooth) \ - ${config_xdebug} \ - $(use_enable debug fulldebug) \ - $(use_enable debug rlpdebug) \ - $(use_enable ical libical) \ - $(use_enable irda) \ - $(use_enable mysql) \ - $(use_enable nls) \ - $(use_enable pcsc-lite libpcsclite) \ - $(use_enable postgres) \ - $(use_enable sms smsd) \ - $(use_enable usb libusb) \ + local myeconfargs=( + --enable-security + --disable-unix98test + $(use_enable bluetooth) + ${config_xdebug} + $(use_enable debug fulldebug) + $(use_enable debug rlpdebug) + $(use_enable ical libical) + $(use_enable irda) + $(use_enable mysql) + $(use_enable nls) + $(use_enable pcsc-lite libpcsclite) + $(use_enable postgres) + $(use_enable sms smsd) + $(use_enable usb libusb) $(use_with X x) + ) + econf "${myeconfargs[@]}" } src_test() { @@ -137,10 +128,4 @@ pkg_postinst() { elog "Make sure the user that runs gnokii has read/write access to the device" elog "which your phone is connected to." elog "The simple way of doing that is to add your user to the uucp group." - if [[ ${PV} == *9999 ]]; then - elog "This is the GIT version of ${PN}. It is experimental but may have important bug fixes." - elog "You can keep track of the most recent commits at:" - elog " http://git.savannah.gnu.org/cgit/gnokii.git/" - elog "Whenever there is a change you are interested in, you can re-emerge ${P}." - fi } diff --git a/app-mobilephone/gnokii/gnokii-9999.ebuild b/app-mobilephone/gnokii/gnokii-9999.ebuild deleted file mode 100644 index 5031ffef4a3d..000000000000 --- a/app-mobilephone/gnokii/gnokii-9999.ebuild +++ /dev/null @@ -1,135 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools desktop linux-info strip-linguas - -HOMEPAGE="https://www.gnokii.org/" -if [[ ${PV} == *9999 ]]; then - EGIT_REPO_URI=" - git://git.savannah.nongnu.org/${PN}.git - http://git.savannah.gnu.org/r/${PN}.git" - 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" -fi -DESCRIPTION="User space driver and tools for use with mobile phones" - -LICENSE="GPL-2" -SLOT="0" -IUSE="bluetooth debug ical irda mysql nls +pcsc-lite postgres sms usb X" - -RDEPEND=" - !app-mobilephone/smstools - bluetooth? ( kernel_linux? ( net-wireless/bluez ) ) - ical? ( dev-libs/libical:= ) - pcsc-lite? ( sys-apps/pcsc-lite ) - sms? ( - dev-libs/glib:2 - postgres? ( dev-db/postgresql:* ) - mysql? ( dev-db/mysql-connector-c:= ) - ) - usb? ( virtual/libusb:0 ) - X? ( x11-libs/gtk+:2 )" -DEPEND="${RDEPEND} - dev-util/intltool - irda? ( virtual/os-headers ) - nls? ( sys-devel/gettext )" - -CONFIG_CHECK="~UNIX98_PTYS" - -S="${WORKDIR}/${PN}-${PV%.1}" - -# Supported languages and translated documentation -# Be sure all languages are prefixed with a single space! -MY_AVAILABLE_LINGUAS=" cs de et fi fr it nl pl pt sk sl sv zh_CN" - -PATCHES=( - "${FILESDIR}"/${P}-fix_xgnokii_inclusion.patch - "${FILESDIR}"/${P}-gcc5.patch -) - -src_prepare() { - [[ ${PV} == *9999 ]] && \ - PATCHES=( - "${FILESDIR}"/${P}-icon.patch - "${FILESDIR}"/${P}-translations.patch - ) - - sed -i -e "s:/usr/local:${EPREFIX}/usr:" Docs/sample/gnokiirc || die - - default - - eautoreconf -} - -src_configure() { - strip-linguas ${MY_AVAILABLE_LINGUAS} - - local config_xdebug - if use X && use debug; then - config_xdebug="--enable-xdebug" - else - config_xdebug="--disable-xdebug" - fi - - econf \ - --disable-static \ - --disable-unix98test \ - $(use_enable bluetooth) \ - ${config_xdebug} \ - $(use_enable debug fulldebug) \ - $(use_enable debug rlpdebug) \ - $(use_enable ical libical) \ - $(use_enable irda) \ - $(use_enable mysql) \ - $(use_enable nls) \ - $(use_enable pcsc-lite libpcsclite) \ - $(use_enable postgres) \ - $(use_enable sms smsd) \ - $(use_enable usb libusb) \ - $(use_with X x) -} - -src_test() { - echo common/phones/fake.c >> po/POTFILES.in || die - default -} - -src_install() { - default - - # package provides .pc files - find "${D}" -name '*.la' -delete || die - - insinto /etc - doins Docs/sample/gnokiirc - - # only one file needs suid root to make a pseudo device - fperms 4755 /usr/sbin/mgnokiidev - - use X && newicon Docs/sample/logo/gnokii.xpm xgnokii.xpm - - if use sms; then - cd smsd || die - - docinto smsd - use mysql && dodoc sms.tables.mysql.sql README.MySQL - use postgres && dodoc sms.tables.pq.sql - dodoc README ChangeLog README.Tru64 action - fi -} - -pkg_postinst() { - elog "Make sure the user that runs gnokii has read/write access to the device" - elog "which your phone is connected to." - elog "The simple way of doing that is to add your user to the uucp group." - if [[ ${PV} == *9999 ]]; then - elog "This is the GIT version of ${PN}. It is experimental but may have important bug fixes." - elog "You can keep track of the most recent commits at:" - elog " http://git.savannah.gnu.org/cgit/gnokii.git/" - elog "Whenever there is a change you are interested in, you can re-emerge ${P}." - fi -} diff --git a/app-mobilephone/gnokii/metadata.xml b/app-mobilephone/gnokii/metadata.xml index 92b0244c867b..8dddbab7845c 100644 --- a/app-mobilephone/gnokii/metadata.xml +++ b/app-mobilephone/gnokii/metadata.xml @@ -14,4 +14,7 @@ <flag name="sms">Enable SMS support (build smsd)</flag> <flag name="pcsc-lite">Enable smartcard support with <pkg>sys-apps/pcsc-lite</pkg></flag> </use> + <upstream> + <remote-id type="savannah">gnokii</remote-id> + </upstream> </pkgmetadata> diff --git a/app-mobilephone/heimdall/metadata.xml b/app-mobilephone/heimdall/metadata.xml index c72a6e44e35e..1ceb474f6567 100644 --- a/app-mobilephone/heimdall/metadata.xml +++ b/app-mobilephone/heimdall/metadata.xml @@ -4,5 +4,6 @@ <!-- maintainer-needed --> <upstream> <remote-id type="sourcehut">~grimler/Heimdall</remote-id> + <remote-id type="github">Benjamin-Dobell/Heimdall</remote-id> </upstream> </pkgmetadata> diff --git a/app-mobilephone/scmxx/scmxx-0.9.0-r1.ebuild b/app-mobilephone/scmxx/scmxx-0.9.0-r1.ebuild index ee5459b3efd1..f713abcbf405 100644 --- a/app-mobilephone/scmxx/scmxx-0.9.0-r1.ebuild +++ b/app-mobilephone/scmxx/scmxx-0.9.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -7,7 +7,7 @@ inherit autotools DESCRIPTION="Exchange data with Siemens phones" HOMEPAGE="http://www.hendrik-sattler.de/scmxx/" -SRC_URI="mirror://sourceforge/scmxx/${P}.tar.bz2" +SRC_URI="https://downloads.sourceforge.net/scmxx/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" diff --git a/app-mobilephone/scrcpy/Manifest b/app-mobilephone/scrcpy/Manifest index 2c25d9be2395..d7644e8cb7e9 100644 --- a/app-mobilephone/scrcpy/Manifest +++ b/app-mobilephone/scrcpy/Manifest @@ -1,4 +1,4 @@ -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-server-v2.1.1 56995 BLAKE2B 6a089ca33025873f48d62389b17ba6fb6249c007ef7d7fd21883351e7724c3207dce1cea8b655cb949361d26210f5bb6115a2f5f9895c8a3b129652a77848c3d SHA512 f9b27068a92042e6d05ca4d56e6220174fbb008d21c2c423ad3adf91ac1ba0d30cf63a2d9072608adee56f5b49e5a55f9a193737ddf80fb222b447af196c4a90 +DIST scrcpy-2.4.tar.gz 411206 BLAKE2B 878e20b5a8b6cbe81491baf330500c3ffa779e6a1d52b1624fd8f1862768668bd73b9845cc983a6f112db88f77b5f414c1762e616999ceb24ba3733775bf932d SHA512 05467a476a9a7eb3034eb5c16875a00dceedf25a9a3acde26738c6dfbc314e9c2a515feb3f6050c7b47436cc2a44ae2d05664b1783b1b1d7c63660044404b3d6 +DIST scrcpy-2.5.tar.gz 415854 BLAKE2B ce79c885c89728d90c7a30d3670107a2a3c0be10d9d25dca9dfc916ec2b096a1ce967f7b1c73384cd630fd8418498bebb65aeeb8a0b6423d6dcb4fb3d3d7415a SHA512 676078e55f287f84847af898d39bc073bda7accf8905f84f87c2ec927dff9d71133a69dece9bd65fc6e4778204f5f5287239e163f88a5bdb900e1f10427d4238 +DIST scrcpy-server-v2.4 69007 BLAKE2B c34d75bb34dcdaf27111366575f46d8e1d54c3d9a0eca8cb569367204a3e51e4d5b05f8a4d2de9868fe48ca4e3d323c583a99da86132e533dbede78314ca447a SHA512 6618e3bd23f139f5ed10d00dd8f8bb259bd9eaa5bca4625d3da2b38c2d1aa2cd10b6e412b6e79b1b0aecc291bde9dd2f2fddf416544b18046648a6c2b92e3368 +DIST scrcpy-server-v2.5 69624 BLAKE2B a4c8aaab320e07d0c7086238a2f1e842df40ba8a85b7ed3f519f2e6f8511f6d513c80e6693a1db6c69f2c15e71e7d08db3d37ebefa47633efdaae2e706809e1c SHA512 4c5ff163b4cb232d34f0cf8788bf01c3a0b08bfe0ab854da58df6f9d2296387225b822a639d35d90c307b0c6ff9cde6281ad5fd3985717645e0b6ec3ded0150b 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.4.ebuild index a24a7aa758ab..ef5acfc0b38d 100644 --- a/app-mobilephone/scrcpy/scrcpy-2.1.1.ebuild +++ b/app-mobilephone/scrcpy/scrcpy-2.4.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 @@ -8,25 +8,28 @@ 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}" +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" +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="" +RDEPEND=" + ${DEPEND} + !ppc64? ( dev-util/android-tools ) +" 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.5.ebuild index 819f99b5380d..ef5acfc0b38d 100644 --- a/app-mobilephone/scrcpy/scrcpy-2.0.ebuild +++ b/app-mobilephone/scrcpy/scrcpy-2.5.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 @@ -8,27 +8,28 @@ 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}" +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" +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="" - -PATCHES=( "${FILESDIR}"/${P}-desktop.patch ) +RDEPEND=" + ${DEPEND} + !ppc64? ( dev-util/android-tools ) +" src_configure() { local emesonargs=( - $(meson_use lto b_lto) -Dprebuilt_server="${DISTDIR}/${PN}-server-v${PV}" ) meson_src_configure @@ -36,4 +37,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/sobexsrv/metadata.xml b/app-mobilephone/sobexsrv/metadata.xml index 175e0352033a..d6a55e86d4c0 100644 --- a/app-mobilephone/sobexsrv/metadata.xml +++ b/app-mobilephone/sobexsrv/metadata.xml @@ -1,10 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>bircoph@gentoo.org</email> - <name>Andrew Savchenko</name> - </maintainer> + <!-- maintainer-needed --> <longdescription> sobexsrv is a Bluetooth OBEX server with Bluetooth Security Mode-2 (application triggered security) support. It implements |