commit: b48db7ab43ddb16d5c3e020f0a760b9fd08c6da4 Author: Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr> AuthorDate: Mon Mar 31 21:44:37 2025 +0000 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> CommitDate: Mon Apr 7 07:03:39 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b48db7ab
sys-fs/android-file-transfer-linux: Bump to 4.4 Fixes some bugs, even since snapshot in tree. Closes: https://bugs.gentoo.org/953281 Closes: https://github.com/gentoo/gentoo/pull/41409 Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr> Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> sys-fs/android-file-transfer-linux/Manifest | 1 + .../android-file-transfer-linux-4.4.ebuild | 66 ++++++++++++++++++++++ 2 files changed, 67 insertions(+) diff --git a/sys-fs/android-file-transfer-linux/Manifest b/sys-fs/android-file-transfer-linux/Manifest index dae284f5c2da..b34076b2b60c 100644 --- a/sys-fs/android-file-transfer-linux/Manifest +++ b/sys-fs/android-file-transfer-linux/Manifest @@ -1 +1,2 @@ DIST android-file-transfer-linux-4.3_p20250109.tar.gz 1072274 BLAKE2B 83ec3fbaa71707db994026f3946feebb258be218773c8469fe2fea352b9aee2924b3799bb6fd4222c702e6891b275c7f48b5d52a2c835b4d2af7d7ce945966a0 SHA512 5b010de34ea5aa3452a8ae21bfcfcf2e4cf404342306365baa578d4e62f353661875c52e2ac9b740d5d2527ef537c26c6d7307175d0ba484c340ba1cc8c55995 +DIST android-file-transfer-linux-4.4.tar.gz 1071851 BLAKE2B 078a105adcf34c3aca25050bf4fe71dc1107a39aeabfdec7ff9c63fe3522941a731a8d309fbdaac259543e9c2a9cd873dac71db5f3b3ddd72fe5f1d333f2cac6 SHA512 4d22c9535dca3471f1dd6a13bb86f78992228a0ad25b4fbdbb41f906c12c76dfffb65b04bcf2a6b08c09ecfe5e20f7b5b1d6d1fe6bb77b3e10d614324d374592 diff --git a/sys-fs/android-file-transfer-linux/android-file-transfer-linux-4.4.ebuild b/sys-fs/android-file-transfer-linux/android-file-transfer-linux-4.4.ebuild new file mode 100644 index 000000000000..d97e8e673b92 --- /dev/null +++ b/sys-fs/android-file-transfer-linux/android-file-transfer-linux-4.4.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit cmake python-single-r1 xdg + +DESCRIPTION="Android File Transfer for Linux" +HOMEPAGE="https://github.com/whoozle/android-file-transfer-linux" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/whoozle/android-file-transfer-linux.git" +else + SRC_URI="https://github.com/whoozle/android-file-transfer-linux/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="fuse gui python taglib zune" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + sys-apps/file + sys-libs/readline:0= + fuse? ( sys-fs/fuse:0 ) + gui? ( dev-qt/qtbase:6[gui,network,widgets] ) + python? ( + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/pybind11[${PYTHON_USEDEP}] + ') + ) + taglib? ( media-libs/taglib:= ) + zune? ( dev-libs/openssl:0= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + gui? ( dev-qt/qttools:6[linguist] ) +" + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_SKIP_RPATH=ON + -DBUILD_FUSE="$(usex fuse)" + -DBUILD_MTPZ="$(usex zune)" + -DBUILD_PYTHON="$(usex python)" + -DBUILD_QT_UI="$(usex gui)" + -DBUILD_SHARED_LIB="ON" + -DBUILD_TAGLIB="$(usex taglib)" + # Upstream recommends to keep this off as libusb is broken + -DUSB_BACKEND_LIBUSB="OFF" + ) + + # prevent using of last version + use python && mycmakeargs+=( -DPython_EXECUTABLE="${PYTHON}" ) + + cmake_src_configure +}
