diff options
Diffstat (limited to 'app-mobilephone')
36 files changed, 389 insertions, 220 deletions
diff --git a/app-mobilephone/adb-sync/Manifest b/app-mobilephone/adb-sync/Manifest deleted file mode 100644 index 3616b559f681..000000000000 --- a/app-mobilephone/adb-sync/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST adb-sync-0_p20190101.tar.gz 13956 BLAKE2B 380109fa302fc5376de8124aa31c3fa03a27ece22d7f2d74638a5387820ad7c2b294daa6e8185f6eef49524e987d7a7f1222a1ee3b6550247993ebcc7c1ac98d SHA512 8bd5eb514c63327860017402f509231a0882cd3624ed3350039b2383f38e503abc6cd319ff41a47d70031958b0b38b973c36272fc4af6e69cce54e15e6bb6990 diff --git a/app-mobilephone/adb-sync/adb-sync-0_p20190101.ebuild b/app-mobilephone/adb-sync/adb-sync-0_p20190101.ebuild deleted file mode 100644 index b55e95dfd7be..000000000000 --- a/app-mobilephone/adb-sync/adb-sync-0_p20190101.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" -PYTHON_COMPAT=( python3_{7,8} ) - -inherit python-single-r1 - -COMMIT=fb7c549753de7a5579ed3400dd9f8ac71f7bf1b1 - -DESCRIPTION="Synchronize files between a PC and an Android device using ADB" -HOMEPAGE="https://github.com/google/adb-sync" -SRC_URI="https://github.com/google/adb-sync/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" -IUSE="+channel" -REQUIRED_USE=${PYTHON_REQUIRED_USE} - -RDEPEND="${PYTHON_DEPS} - dev-util/android-tools - channel? ( net-misc/socat )" -DEPEND="" - -S="${WORKDIR}/adb-sync-${COMMIT}" - -src_install() { - dodoc README.md - python_doscript adb-sync - use channel && dobin adb-channel -} diff --git a/app-mobilephone/adb-sync/metadata.xml b/app-mobilephone/adb-sync/metadata.xml deleted file mode 100644 index 5df204b9821f..000000000000 --- a/app-mobilephone/adb-sync/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <upstream> - <bugs-to>https://github.com/google/adb-sync/issues</bugs-to> - <remote-id type="github">google/adb-sync</remote-id> - </upstream> - <use> - <flag name="channel">Install the adb-channel script</flag> - </use> -</pkgmetadata> diff --git a/app-mobilephone/adebar/Manifest b/app-mobilephone/adebar/Manifest new file mode 100644 index 000000000000..ce565359d4d5 --- /dev/null +++ b/app-mobilephone/adebar/Manifest @@ -0,0 +1 @@ +DIST adebar-2.4.1.tar.gz 64226 BLAKE2B 88387844779d9ec857b3f23ca397703fd021cfefbbcb0e5e9bfdea04270adf0cb062d0b34035a93248e7574be5a0dc664f839267e8af82b17967b256f9a57dfc SHA512 7fea787157d1a9bde18601a5199fb57ce108545ade80774ad1d70d64aa7263e9da91f9da1dfa15ff17e266ab0fb78bacab2a767b636013a64d5b2a63f20d74d7 diff --git a/app-mobilephone/adebar/adebar-2.4.1.ebuild b/app-mobilephone/adebar/adebar-2.4.1.ebuild new file mode 100644 index 000000000000..1577d71816f9 --- /dev/null +++ b/app-mobilephone/adebar/adebar-2.4.1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit readme.gentoo-r1 + +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" + +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}. +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. +So the documentation must be placed in the users home directory." + +src_prepare() { + default + + sed -i -e 's|\(BINDIR=\).*|\1"/usr/share/adebar"|' ${PN}-cli + sed -i -e 's|\(LIBDIR=\).*|\1"/usr/lib/adebar"|' ${PN}-cli + sed -i -e '/-d "\$HOME\/\.config\/adebar"/,+2d' ${PN}-cli +} + +src_install() { + local libdir=/usr/lib/${PN} + local sharedir=/usr/share/${PN} + + newbin ${PN}-cli ${PN} + + insinto ${libdir} + doins -r lib/* + + exeinto ${sharedir}/tools + doexe tools/* + fperms 0644 ${sharedir}/tools/xml2array.php + + insinto ${sharedir}/templates + doins -r templates/* + + dodoc -r doc/* + dodoc README.md + + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog +} diff --git a/app-mobilephone/adebar/metadata.xml b/app-mobilephone/adebar/metadata.xml new file mode 100644 index 000000000000..46861791de00 --- /dev/null +++ b/app-mobilephone/adebar/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>billie@gentoo.org</email> + <name>Daniel Pielmeier</name> + </maintainer> +</pkgmetadata> diff --git a/app-mobilephone/anyremote/anyremote-6.5.ebuild b/app-mobilephone/anyremote/anyremote-6.5.ebuild index 8f44f2a4b9c0..3cdd0f3f8831 100644 --- a/app-mobilephone/anyremote/anyremote-6.5.ebuild +++ b/app-mobilephone/anyremote/anyremote-6.5.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=8 DESCRIPTION="Bluetooth, infrared or cable remote control service" HOMEPAGE="http://anyremote.sourceforge.net/" @@ -24,9 +24,8 @@ RDEPEND=" zeroconf? ( net-dns/avahi ) " -DEPEND="${RDEPEND} - virtual/pkgconfig -" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" DOCS=( AUTHORS ChangeLog NEWS README ) diff --git a/app-mobilephone/dfu-util/Manifest b/app-mobilephone/dfu-util/Manifest index d2039ad698c0..9f29244ce9e3 100644 --- a/app-mobilephone/dfu-util/Manifest +++ b/app-mobilephone/dfu-util/Manifest @@ -1,2 +1 @@ DIST dfu-util-0.11.tar.gz 152462 BLAKE2B 3734698dd62de8a1c781f7631ae17ee9755241ce4d614b028fe6d6c3a117f3a301c174dcadf52252d55b08cfd75298c27a588e880837317ff73c32ab8863ccdd SHA512 fc5304a483ac10e35bf1b9304becdeb407b2e44d8ac51474d2fa17877e6cf71b0126f7e12ebb331d75e7adeb9c173ff5cf083a06ded5847dbe477534cf26a553 -DIST dfu-util-0.9.tar.gz 138397 BLAKE2B e3a9db3276204d25fbcdd7d50caacd28a8e043d2781b5f942cd0df343d046870003abeaa1005a2774d03c4198ce96fa2124040987069c5f444e36e4f365a5e0e SHA512 caa7148b7a9004e2b1f7bc4f1a26b48abfe311743bc0eeed1ab57459910371affc39b6fe7e74b7cac6ca9de41a9901b7a970253ca92d7d66d5008f8a11d2c952 diff --git a/app-mobilephone/dfu-util/dfu-util-0.11.ebuild b/app-mobilephone/dfu-util/dfu-util-0.11.ebuild index b6dbaf8f4aa0..e643a791ad8a 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-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -8,11 +8,11 @@ if [[ ${PV} == *9999 ]] ; then inherit autotools git-r3 else SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - KEYWORDS="~amd64 ~arm64 ~x86" + KEYWORDS="amd64 ~arm64 ~riscv x86" fi DESCRIPTION="implements the Host (PC) side of the USB DFU (Device Firmware Upgrade) protocol" -HOMEPAGE="http://dfu-util.sourceforge.net/" +HOMEPAGE="https://dfu-util.sourceforge.net/" LICENSE="GPL-2" SLOT="0" diff --git a/app-mobilephone/dfu-util/dfu-util-0.9.ebuild b/app-mobilephone/dfu-util/dfu-util-0.9.ebuild deleted file mode 100644 index e0eaa1553ad5..000000000000 --- a/app-mobilephone/dfu-util/dfu-util-0.9.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -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 x86" -fi - -DESCRIPTION="implements the Host (PC) side of the USB DFU (Device Firmware Upgrade) protocol" -HOMEPAGE="http://dfu-util.sourceforge.net/" - -LICENSE="GPL-2" -SLOT="0" - -RDEPEND="virtual/libusb:1" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -src_prepare() { - default - [[ ${PV} == "9999" ]] && eautoreconf -} diff --git a/app-mobilephone/dfu-util/dfu-util-9999.ebuild b/app-mobilephone/dfu-util/dfu-util-9999.ebuild index 0f4c6cd5a619..502898893811 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-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -8,11 +8,11 @@ if [[ ${PV} == *9999 ]] ; then inherit autotools git-r3 else SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - KEYWORDS="~amd64 ~x86" + KEYWORDS="~amd64 ~riscv ~x86" fi DESCRIPTION="implements the Host (PC) side of the USB DFU (Device Firmware Upgrade) protocol" -HOMEPAGE="http://dfu-util.sourceforge.net/" +HOMEPAGE="https://dfu-util.sourceforge.net/" LICENSE="GPL-2" SLOT="0" diff --git a/app-mobilephone/gammu/Manifest b/app-mobilephone/gammu/Manifest index 8db479407c06..b083ab159211 100644 --- a/app-mobilephone/gammu/Manifest +++ b/app-mobilephone/gammu/Manifest @@ -1 +1 @@ -DIST gammu-1.41.0.tar.bz2 2167233 BLAKE2B 4b0bf77246cc6a07a52457cff2bae44e63ebfe2715cb0c0b7d89c3d6352bb2df4cd5e7fd9b62d316e316fb1e73108fe561e030b7444eccd601cd0d2541b9f0e9 SHA512 f2c2534d3827216bf015607431938e0cf2524d5f2c670a5f76bb5ab7928962d22de981bbbf2dfa7af833c7903b60a775242048210bac6c35b1a9ee7668db4543 +DIST gammu-1.42.0.tar.xz 1747520 BLAKE2B 13f2627ad189e8ca92da2b16c4f7f5f792f601ca5f7620e251526f79b399b54eb3fb46b420ccb81d4bb44c7777d417c96390001d30dbbe9740eb3d737c574716 SHA512 b1826b011b7af15c87bd1e9214536607450553f9b5c7ba9b40ea2a1b9d8dcc8cab61106055fcb4aeb69e78ea29d2f4986ffd7df20210ed76bc6a0c474e140ba1 diff --git a/app-mobilephone/gammu/files/gammu-1.42.0-CMP0110-policy.patch b/app-mobilephone/gammu/files/gammu-1.42.0-CMP0110-policy.patch new file mode 100644 index 000000000000..b67cebd17a41 --- /dev/null +++ b/app-mobilephone/gammu/files/gammu-1.42.0-CMP0110-policy.patch @@ -0,0 +1,12 @@ +diff --git a/CMakeLists.txt.orig b/CMakeLists.txt +index 6cffb02..f7993cf 100644 +--- a/CMakeLists.txt.orig ++++ b/CMakeLists.txt +@@ -13,6 +13,7 @@ set (CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake") + # Silent some warnings from CMake 2.6 + cmake_policy(SET CMP0003 NEW) + cmake_policy(SET CMP0009 NEW) ++cmake_policy(SET CMP0110 NEW) + + option (COVERAGE "Add flags for Coverage analysis" OFF) + diff --git a/app-mobilephone/gammu/files/gammu-1.42.0-fortify-source-3.patch b/app-mobilephone/gammu/files/gammu-1.42.0-fortify-source-3.patch new file mode 100644 index 000000000000..dba1ca50ec6d --- /dev/null +++ b/app-mobilephone/gammu/files/gammu-1.42.0-fortify-source-3.patch @@ -0,0 +1,31 @@ +https://bugs.gentoo.org/854324 +https://github.com/gammu/gammu/commit/a37e5d8054f863fa71e38e244dd4da13eee6e251 + +From a37e5d8054f863fa71e38e244dd4da13eee6e251 Mon Sep 17 00:00:00 2001 +From: Martin Liska <mliska@suse.cz> +Date: Mon, 20 Jun 2022 10:24:13 +0200 +Subject: [PATCH] Fix buffer overflow in Backup.Creator + +I noticed that while testing the upcoming GCC 12 with -D_FORTIFY_SOURCE=3: +here I have + +$1 = 0x7ffff7f0f940 <Buffer.1.lto_priv.1> "Linux, kernel 5.16.14-1-default (#1 SMP PREEMPT Fri Mar 11 12:33:34 UTC 2022 (80acc65))" +(gdb) p (int)strlen(GetOS()) +$3 = 87 +so GetOS() returns 87 chars while: + +include/gammu-backup.h: char Creator[80]; + +Fixes: #701 +--- a/include/gammu-backup.h ++++ b/include/gammu-backup.h +@@ -218,7 +218,7 @@ typedef struct { + /** + * Name of program which created backup + */ +- char Creator[80]; ++ char Creator[512]; + /** + * Timestamp of backup + */ + diff --git a/app-mobilephone/gammu/files/gammu-1.42.0-gammu-detect.patch b/app-mobilephone/gammu/files/gammu-1.42.0-gammu-detect.patch new file mode 100644 index 000000000000..03e9ea631732 --- /dev/null +++ b/app-mobilephone/gammu/files/gammu-1.42.0-gammu-detect.patch @@ -0,0 +1,22 @@ +diff --git a/gammu-detect/udev.c.orig b/gammu-detect/udev.c +index 4d25949..e0cd383 100644 +--- a/gammu-detect/udev.c.orig ++++ b/gammu-detect/udev.c +@@ -189,12 +189,12 @@ void udev_detect(void) + client = g_udev_client_new(subsys); + + list = g_udev_client_query_by_subsystem(client, subsys[0]); +- for (iter = list; iter; iter = g_list_next(iter)) { +- dump_device_and_parent(G_UDEV_DEVICE(iter->data), 0); +- if (device_is_valid(G_UDEV_DEVICE(iter->data))) { +- device_dump_config(G_UDEV_DEVICE(iter->data)); ++ for (iter = g_list_first(list); iter; iter = g_list_next(iter)) { ++ dump_device_and_parent(iter->data, 0); ++ if (device_is_valid(iter->data)) { ++ device_dump_config(iter->data); + } +- g_object_unref(G_UDEV_DEVICE(iter->data)); ++ g_object_unref(iter->data); + } + } + diff --git a/app-mobilephone/gammu/gammu-1.41.0.ebuild b/app-mobilephone/gammu/gammu-1.42.0-r1.ebuild index 67a45a3dae6a..00ba2ed482b2 100644 --- a/app-mobilephone/gammu/gammu-1.41.0.ebuild +++ b/app-mobilephone/gammu/gammu-1.42.0-r1.ebuild @@ -1,38 +1,46 @@ -# Copyright 2019-2021 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 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" KEYWORDS="amd64 x86" IUSE="bluetooth curl dbi debug irda mysql nls odbc postgres usb" -DEPEND=" +COMMON_DEPEND=" dev-libs/glib:2= dev-libs/libgudev:= virtual/libiconv bluetooth? ( net-wireless/bluez:= ) curl? ( net-misc/curl:= ) dbi? ( >=dev-db/libdbi-0.8.3:= ) - irda? ( virtual/os-headers ) mysql? ( dev-db/mysql-connector-c:= ) nls? ( sys-devel/gettext ) odbc? ( dev-db/unixODBC ) postgres? ( dev-db/postgresql:= ) usb? ( virtual/libusb:1= ) " - +DEPEND=" + ${COMMON_DEPEND} + irda? ( virtual/os-headers ) +" RDEPEND=" - ${DEPEND} + ${COMMON_DEPEND} dev-util/dialog " +PATCHES=( + "${FILESDIR}/${P}-CMP0110-policy.patch" + "${FILESDIR}/${P}-gammu-detect.patch" + "${FILESDIR}/${P}-fortify-source-3.patch" +) + src_configure() { local mycmakeargs=( -DWITH_BLUETOOTH=$(usex bluetooth) @@ -51,7 +59,7 @@ src_configure() { } src_test() { - addwrite "/run/lock/LCK..bar" + addwrite "/var/lock/LCK..bar" LD_LIBRARY_PATH="${BUILD_DIR}/libgammu" cmake_src_test -j1 } diff --git a/app-mobilephone/gammu/metadata.xml b/app-mobilephone/gammu/metadata.xml index d17bdaf5475d..58e4d954b478 100644 --- a/app-mobilephone/gammu/metadata.xml +++ b/app-mobilephone/gammu/metadata.xml @@ -1,16 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>ktrace@yandex.ru</email> - <name>Victor Kustov</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> + <!-- maintainer-needed --> <use> - <flag name="bluetooth">Enables bluetooth support</flag> <flag name="curl">Enables curl support</flag> <flag name="irda">Enables infrared support</flag> <flag name="nls">Enable native language support</flag> diff --git a/app-mobilephone/gnokii/files/gnokii-0.6.31-sqlite-typo.patch b/app-mobilephone/gnokii/files/gnokii-0.6.31-sqlite-typo.patch new file mode 100644 index 000000000000..b3dd41d22019 --- /dev/null +++ b/app-mobilephone/gnokii/files/gnokii-0.6.31-sqlite-typo.patch @@ -0,0 +1,18 @@ +https://bugs.gentoo.org/829800 +https://src.fedoraproject.org/rpms/gnokii/raw/rawhide/f/gnokii-0.6.31-sqlite3.patch + +Patch by Robert Scheck <robert@fedoraproject.org> for gnokii <= 0.6.31 which adds +the missing linking to -lsqlite3 by correcting the configure script. Without this +patch the libsmsd_sqlite.so fails with "undefined symbol: sqlite3_open" simply. + +--- a/configure.in ++++ b/configure.in +@@ -747,7 +747,7 @@ + have_sqlite=no + PKG_CHECK_MODULES(SQLITE3, sqlite3, have_sqlite=yes, have_sqlite=no) + if test x$enable_sqlite != xno && test x$PKGCONF != xno ; then +- SQLITE_LIBS=SQLITE3_LIBS ++ SQLITE_LIBS=$SQLITE3_LIBS + dnl SQLITE_CFLAGS=SQLITE3_CFLAGS + AC_SUBST(SQLITE_LIBS) + AC_SUBST(SQLITE_CFLAGS) diff --git a/app-mobilephone/gnokii/gnokii-0.6.31-r3.ebuild b/app-mobilephone/gnokii/gnokii-0.6.31-r4.ebuild index 7052b8e8aa7b..0e7fe85f1478 100644 --- a/app-mobilephone/gnokii/gnokii-0.6.31-r3.ebuild +++ b/app-mobilephone/gnokii/gnokii-0.6.31-r4.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit autotools desktop eutils linux-info +inherit autotools desktop linux-info strip-linguas HOMEPAGE="https://www.gnokii.org/" if [[ ${PV} == *9999 ]]; then @@ -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" @@ -52,6 +52,7 @@ PATCHES=( "${FILESDIR}"/${P}-fix_xgnokii_inclusion.patch "${FILESDIR}"/${P}-gcc5.patch "${FILESDIR}"/${P}-gcc7.patch + "${FILESDIR}"/${PN}-0.6.31-sqlite-typo.patch ) src_prepare() { diff --git a/app-mobilephone/gnokii/gnokii-9999.ebuild b/app-mobilephone/gnokii/gnokii-9999.ebuild index a0db30a29c88..5031ffef4a3d 100644 --- a/app-mobilephone/gnokii/gnokii-9999.ebuild +++ b/app-mobilephone/gnokii/gnokii-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit autotools desktop eutils linux-info +inherit autotools desktop linux-info strip-linguas HOMEPAGE="https://www.gnokii.org/" if [[ ${PV} == *9999 ]]; then diff --git a/app-mobilephone/gnokii/metadata.xml b/app-mobilephone/gnokii/metadata.xml index 8a52983490b2..92b0244c867b 100644 --- a/app-mobilephone/gnokii/metadata.xml +++ b/app-mobilephone/gnokii/metadata.xml @@ -1,17 +1,17 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<!-- maintainer-needed --> -<longdescription> -gnokii provides tools and a user space driver for use with mobile phones. -With gnokii you can do such things as make data calls, update your address book, -change calendar entires, send and receive SMS messages and load ring tones -depending on the phone you have. -</longdescription> -<use> - <flag name="ical">Enable support for <pkg>dev-libs/libical</pkg></flag> - <flag name="irda">Enable infrared support</flag> - <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> + <!-- maintainer-needed --> + <longdescription> + gnokii provides tools and a user space driver for use with mobile phones. + With gnokii you can do such things as make data calls, update your address book, + change calendar entires, send and receive SMS messages and load ring tones + depending on the phone you have. + </longdescription> + <use> + <flag name="ical">Enable support for <pkg>dev-libs/libical</pkg></flag> + <flag name="irda">Enable infrared support</flag> + <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> </pkgmetadata> diff --git a/app-mobilephone/heimdall/Manifest b/app-mobilephone/heimdall/Manifest index db7aa53c6f4a..e9a2e5b5577c 100644 --- a/app-mobilephone/heimdall/Manifest +++ b/app-mobilephone/heimdall/Manifest @@ -1,2 +1,2 @@ -DIST heimdall-1.4.2.tar.bz2 5506713 BLAKE2B 775abc8d47f9efac21f28e47d607ab4b07f8948fcca005c78ddb7ed093e51a76f60ac5c04150a3424c360813d180cd1df1ff8a87295918bff872f41123250a58 SHA512 b2b0a8a8db6a52236716fff9748a391388c1b2b1774a26fab9b451b8dab5ff35e8e1403555a65daec180fc961388c7581d170df6e3599a102fd304a133da8674 -DIST heimdall-1.4.2.tar.gz 5486693 BLAKE2B 213bfa5bb7ede8d418847916a5ec16c17e4dec7fcb07de296d96e16c929634167afb57e13cee0e8a6e42fbbddcd2f2e0f5069cfbc3e8c3b5721d2d303ef48407 SHA512 c554662f9ccb763a8e9867a0c563618879d2533af985d44db3c237d3ee51add44c1681d13b1a83b72b30ba6e5b32d7c2f9c02b31114c67c5fbe01cbb010acfe7 +DIST heimdall-2.0.1.tar.gz 83642 BLAKE2B 29cd784a4ea4c25f9670d27c306ca95d60d7ad8a11175d2ee835a0cf1e7fc5eb179aa4e49c5e05e280ed5ce475a9e66e56b48444dd4b3b93ea8cb173e3d18060 SHA512 f6df4551702a7ad7688018d60569b8b94f20be4f78a9b4bf5f6e89396ed43cd7519617ef1f420b41bbfeec8b51ae636759a7b90443d3d5945cd8744b43e2d0ef +DIST heimdall-2.0.2.tar.gz 83619 BLAKE2B 783f94243730a53f25e8d6d95b4c0839d727a5290aed72948fa7e7a3f4217b3ef1cbfc5e3cd828642d0eb5e965b153097d9dfde11d6fcec2066364a444899f41 SHA512 62849bfe7550214dd774efea65169673fa916f9d204000f793d995aed9def95fcc895c8913cd648f2397ab7fd154257e0394b78c180ed60d043c75858bac7c0a diff --git a/app-mobilephone/heimdall/heimdall-1.4.2-r1.ebuild b/app-mobilephone/heimdall/heimdall-2.0.1.ebuild index 9bd4e13eb6db..b1c61d9f7b06 100644 --- a/app-mobilephone/heimdall/heimdall-1.4.2-r1.ebuild +++ b/app-mobilephone/heimdall/heimdall-2.0.1.ebuild @@ -1,21 +1,21 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit cmake udev if [[ ${PV} != 9999 ]]; then - SRC_URI="https://github.com/Benjamin-Dobell/Heimdall/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64" - S="${WORKDIR}/Heimdall-${PV}" + SRC_URI="https://git.sr.ht/~grimler/Heimdall/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="amd64 ~arm64" + S="${WORKDIR}/Heimdall-v${PV}" else inherit git-r3 - EGIT_REPO_URI="https://github.com/Benjamin-Dobell/Heimdall.git" + EGIT_REPO_URI="https://git.sr.ht/~grimler/Heimdall" fi DESCRIPTION="Tool suite used to flash firmware onto Samsung devices" -HOMEPAGE="https://glassechidna.com.au/heimdall/ https://github.com/Benjamin-Dobell/Heimdall" +HOMEPAGE="https://git.sr.ht/~grimler/Heimdall https://glassechidna.com.au/heimdall/ https://github.com/Benjamin-Dobell/Heimdall" LICENSE="MIT" SLOT="0" @@ -46,3 +46,7 @@ src_install() { udev_dorules heimdall/60-heimdall.rules dodoc README.md Linux/README } + +pkg_postinst() { + udev_reload +} diff --git a/app-mobilephone/heimdall/heimdall-1.4.2.ebuild b/app-mobilephone/heimdall/heimdall-2.0.2.ebuild index ec8238d43d9b..7595551d2aa5 100644 --- a/app-mobilephone/heimdall/heimdall-1.4.2.ebuild +++ b/app-mobilephone/heimdall/heimdall-2.0.2.ebuild @@ -1,35 +1,35 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit cmake udev if [[ ${PV} != 9999 ]]; then - SRC_URI="https://gitlab.com/BenjaminDobell/Heimdall/-/archive/v${PV}/Heimdall-v${PV}.tar.bz2 -> ${P}.tar.bz2" - KEYWORDS="amd64" + SRC_URI="https://git.sr.ht/~grimler/Heimdall/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm64" S="${WORKDIR}/Heimdall-v${PV}" else inherit git-r3 - EGIT_REPO_URI="https://gitlab.com/BenjaminDobell/Heimdall.git" + EGIT_REPO_URI="https://git.sr.ht/~grimler/Heimdall" fi -DESCRIPTION="Tool suite used to flash firmware onto Samsung Galaxy S devices" -HOMEPAGE="https://glassechidna.com.au/heimdall/" +DESCRIPTION="Tool suite used to flash firmware onto Samsung devices" +HOMEPAGE="https://git.sr.ht/~grimler/Heimdall https://glassechidna.com.au/heimdall/ https://github.com/Benjamin-Dobell/Heimdall" LICENSE="MIT" SLOT="0" IUSE="gui" RDEPEND=" - >=dev-libs/libusb-1.0.18:1= sys-libs/zlib + virtual/libusb:1= gui? ( dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtwidgets:5 - ) -" + )" + DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig" @@ -43,9 +43,14 @@ src_configure() { src_install() { dobin "${BUILD_DIR}"/bin/heimdall use gui && dobin "${BUILD_DIR}"/bin/heimdall-frontend + udev_dorules heimdall/60-heimdall.rules + dodoc README.md Linux/README +} - insinto "$(get_udevdir)/rules.d" - doins heimdall/60-heimdall.rules +pkg_postinst() { + udev_reload +} - dodoc README.md Linux/README +pkg_postrm() { + udev_reload } diff --git a/app-mobilephone/heimdall/heimdall-9999.ebuild b/app-mobilephone/heimdall/heimdall-9999.ebuild index e4026eb23735..69599346a8bb 100644 --- a/app-mobilephone/heimdall/heimdall-9999.ebuild +++ b/app-mobilephone/heimdall/heimdall-9999.ebuild @@ -1,21 +1,21 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit cmake udev if [[ ${PV} != 9999 ]]; then - SRC_URI="https://github.com/Benjamin-Dobell/Heimdall/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" - S="${WORKDIR}/Heimdall-${PV}" + SRC_URI="https://git.sr.ht/~grimler/Heimdall/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="amd64 ~arm64" + S="${WORKDIR}/Heimdall-v${PV}" else inherit git-r3 - EGIT_REPO_URI="https://github.com/Benjamin-Dobell/Heimdall.git" + EGIT_REPO_URI="https://git.sr.ht/~grimler/Heimdall" fi DESCRIPTION="Tool suite used to flash firmware onto Samsung devices" -HOMEPAGE="https://glassechidna.com.au/heimdall/ https://github.com/Benjamin-Dobell/Heimdall" +HOMEPAGE="https://git.sr.ht/~grimler/Heimdall https://glassechidna.com.au/heimdall/ https://github.com/Benjamin-Dobell/Heimdall" LICENSE="MIT" SLOT="0" @@ -46,3 +46,11 @@ src_install() { udev_dorules heimdall/60-heimdall.rules dodoc README.md Linux/README } + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +} diff --git a/app-mobilephone/heimdall/metadata.xml b/app-mobilephone/heimdall/metadata.xml index 05a9dfaa474c..1ceb474f6567 100644 --- a/app-mobilephone/heimdall/metadata.xml +++ b/app-mobilephone/heimdall/metadata.xml @@ -3,6 +3,7 @@ <pkgmetadata> <!-- 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/qtadb/metadata.xml b/app-mobilephone/qtadb/metadata.xml index 85e4ed814fa2..fd3e7b225477 100644 --- a/app-mobilephone/qtadb/metadata.xml +++ b/app-mobilephone/qtadb/metadata.xml @@ -1,5 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<!-- maintainer-needed --> + <!-- maintainer-needed --> + <upstream> + <remote-id type="bitbucket">michalmotyczko/qtadb</remote-id> + </upstream> </pkgmetadata> diff --git a/app-mobilephone/scmxx/scmxx-0.9.0.ebuild b/app-mobilephone/scmxx/scmxx-0.9.0-r1.ebuild index 2df2b2dcf4ea..ee5459b3efd1 100644 --- a/app-mobilephone/scmxx/scmxx-0.9.0.ebuild +++ b/app-mobilephone/scmxx/scmxx-0.9.0-r1.ebuild @@ -1,7 +1,9 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 + +inherit autotools DESCRIPTION="Exchange data with Siemens phones" HOMEPAGE="http://www.hendrik-sattler.de/scmxx/" @@ -13,8 +15,15 @@ KEYWORDS="~amd64 x86" IUSE="bluetooth nls" RDEPEND="bluetooth? ( net-wireless/bluez )" -DEPEND="${RDEPEND} - nls? ( sys-devel/gettext )" +DEPEND="${RDEPEND}" +BDEPEND="nls? ( sys-devel/gettext )" + +src_prepare() { + default + + # Clang 16 + eautoreconf +} src_install() { default diff --git a/app-mobilephone/scrcpy/Manifest b/app-mobilephone/scrcpy/Manifest index b2fe734b6620..c84956b3ef44 100644 --- a/app-mobilephone/scrcpy/Manifest +++ b/app-mobilephone/scrcpy/Manifest @@ -1,4 +1,4 @@ -DIST scrcpy-1.18.tar.gz 299497 BLAKE2B aaecb14ea5accf12b23e3b4d07069640e3778d6050dd28c7962ca458645f5e8215b7b7376b809086a3edf98fca1375d935eae429219c1fa5df91088360e46347 SHA512 9cd3841c65cd1f20f277e336b69eec475ea75f403b6761b91639bf6fe876c29d763f056ee2b226f6eabe312b3bdabcad9e72c0384a11fa9f5091ff9587292a6f -DIST scrcpy-1.19.tar.gz 314821 BLAKE2B 526d494efbc90ee23a1adc62e8658e0b7c0d10dc51f7a2ffdb85246afb7b8bae3dce9821cc969f57a52706bfa1829eba6e9505739a3f3c89f26226571085edae SHA512 be6b5a662aa7f0e5f75d9e66298ac0905e296d84cfbf8ff7e34ed20fdbbe14ebd7c759bc5a7bcde1e0a86c990d0f2c2fc5b0155d6dd011371e5ca48bf35d4a03 -DIST scrcpy-server-v1.18 37330 BLAKE2B 02c5e58d72825abbc7d5a6e0f0e87f7effb016cc8baf77f975d6519200aee00401a67ea0e284e4f2188623dfd1c0800cc0dbfad25df0b51b3bc9aa5bacc3a7f2 SHA512 fffd06bbd1cae78af2112f0bd59c8da1c0f838206e3141d255a395ee633f52499eb85b5398a8b4d121241dd3e46088c790476061c3da2a12a319791096045454 -DIST scrcpy-server-v1.19 37330 BLAKE2B 63296a4cab39b55106d0ae9f1df1b7cfa1993f2fdcf937d0fb0fc6b6afd181a1a068f53b6e75b8e80f3e05e7125fb76d57cacd366cfe76113bbb10527dc8a82b SHA512 8befe774fc7caa02c408af57f30b7eaf0009f542d8998363c8fb55c229ff53b2049ed7259404f6262cac4afd5a7077006b1d136fa1b319c8195d0c3ee9ba2dbe +DIST scrcpy-2.3.1.tar.gz 401278 BLAKE2B 0cb231aef87965f346613987c45a624ad853ad870000d78ccaeda6fabaa39cfbd1fed5da50f028aece96c7c12395edc521bf629d935fb8e45a806e487681e6b8 SHA512 4ef9398f23740edf8d09bb18ecc9f6e120b7d3991b8d359836f5e3f4a568484307a1f020da2edeb3193a4f4d6820b5948d6b80600e7ceeed869a2ed8136bfefd +DIST scrcpy-2.4.tar.gz 411206 BLAKE2B 878e20b5a8b6cbe81491baf330500c3ffa779e6a1d52b1624fd8f1862768668bd73b9845cc983a6f112db88f77b5f414c1762e616999ceb24ba3733775bf932d SHA512 05467a476a9a7eb3034eb5c16875a00dceedf25a9a3acde26738c6dfbc314e9c2a515feb3f6050c7b47436cc2a44ae2d05664b1783b1b1d7c63660044404b3d6 +DIST scrcpy-server-v2.3.1 66007 BLAKE2B f3b006bdec8fb3e34474a694fcd5d54fa1caac6b1757cd4ac74d84ce42c9e163e68dbb33985c1474fdeda4c124c317494837c24bc4c18e42cc7e285666d76374 SHA512 9360ad9321554bc9ab38833720e20fada1e0e3a9d1302fced2bbc035b87ea2bbc6802fa8d52fe73ae8d9272ac0f1759c6042badd0043392b90cb68c5c89fc57c +DIST scrcpy-server-v2.4 69007 BLAKE2B c34d75bb34dcdaf27111366575f46d8e1d54c3d9a0eca8cb569367204a3e51e4d5b05f8a4d2de9868fe48ca4e3d323c583a99da86132e533dbede78314ca447a SHA512 6618e3bd23f139f5ed10d00dd8f8bb259bd9eaa5bca4625d3da2b38c2d1aa2cd10b6e412b6e79b1b0aecc291bde9dd2f2fddf416544b18046648a6c2b92e3368 diff --git a/app-mobilephone/scrcpy/files/scrcpy-2.3.1-bash-completion.patch b/app-mobilephone/scrcpy/files/scrcpy-2.3.1-bash-completion.patch new file mode 100644 index 000000000000..6540db5fdb8e --- /dev/null +++ b/app-mobilephone/scrcpy/files/scrcpy-2.3.1-bash-completion.patch @@ -0,0 +1,22 @@ +diff --git a/app/data/bash-completion/scrcpy b/app/data/bash-completion/scrcpy +index 0c8543107..694ce1899 100644 +--- a/app/data/bash-completion/scrcpy ++++ b/app/data/bash-completion/scrcpy +@@ -115,13 +115,13 @@ _scrcpy() { + COMPREPLY=($(compgen -W 'front back external' -- "$cur")) + return + ;; +- --orientation +- --display-orientation) +- COMPREPLY=($(compgen -> '0 90 180 270 flip0 flip90 flip180 flip270' -- "$cur")) ++ --orientation \ ++ |--display-orientation) ++ COMPREPLY=($(compgen -W '0 90 180 270 flip0 flip90 flip180 flip270' -- "$cur")) + return + ;; + --record-orientation) +- COMPREPLY=($(compgen -> '0 90 180 270' -- "$cur")) ++ COMPREPLY=($(compgen -W '0 90 180 270' -- "$cur")) + return + ;; + --lock-video-orientation) diff --git a/app-mobilephone/scrcpy/metadata.xml b/app-mobilephone/scrcpy/metadata.xml index 8a473e90e026..b3504f704818 100644 --- a/app-mobilephone/scrcpy/metadata.xml +++ b/app-mobilephone/scrcpy/metadata.xml @@ -5,4 +5,7 @@ <email>voyageur@gentoo.org</email> <name>Bernard Cafarelli</name> </maintainer> + <upstream> + <remote-id type="github">Genymobile/scrcpy</remote-id> + </upstream> </pkgmetadata> diff --git a/app-mobilephone/scrcpy/scrcpy-1.18.ebuild b/app-mobilephone/scrcpy/scrcpy-1.18.ebuild deleted file mode 100644 index 514ac43356e4..000000000000 --- a/app-mobilephone/scrcpy/scrcpy-1.18.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit meson - -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" -DEPEND="${RDEPEND}" -BDEPEND="" - -src_configure() { - local emesonargs=( - -Db_lto=true - -Dprebuilt_server="${DISTDIR}/${PN}-server-v${PV}" - ) - meson_src_configure -} diff --git a/app-mobilephone/scrcpy/scrcpy-1.19.ebuild b/app-mobilephone/scrcpy/scrcpy-1.19.ebuild deleted file mode 100644 index 514ac43356e4..000000000000 --- a/app-mobilephone/scrcpy/scrcpy-1.19.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit meson - -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" -DEPEND="${RDEPEND}" -BDEPEND="" - -src_configure() { - local emesonargs=( - -Db_lto=true - -Dprebuilt_server="${DISTDIR}/${PN}-server-v${PV}" - ) - meson_src_configure -} diff --git a/app-mobilephone/scrcpy/scrcpy-2.3.1-r2.ebuild b/app-mobilephone/scrcpy/scrcpy-2.3.1-r2.ebuild new file mode 100644 index 000000000000..6183caa2ec12 --- /dev/null +++ b/app-mobilephone/scrcpy/scrcpy-2.3.1-r2.ebuild @@ -0,0 +1,47 @@ +# 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 ) +" + +PATCHES=( "${FILESDIR}"/${P}-bash-completion.patch ) + +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." +} diff --git a/app-mobilephone/scrcpy/scrcpy-2.4.ebuild b/app-mobilephone/scrcpy/scrcpy-2.4.ebuild new file mode 100644 index 000000000000..ef5acfc0b38d --- /dev/null +++ b/app-mobilephone/scrcpy/scrcpy-2.4.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." +} 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 |