public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/android-file-transfer-linux/
Date: Mon, 16 Nov 2020 12:50:38 +0000 (UTC)	[thread overview]
Message-ID: <1605531034.31410fe914ec4c7e1164e76cfda02090389d8eda.polynomial-c@gentoo> (raw)

commit:     31410fe914ec4c7e1164e76cfda02090389d8eda
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 16 12:47:23 2020 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Nov 16 12:50:34 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31410fe9

sys-fs/android-file-transfer-linux: Synced live ebuild

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 .../android-file-transfer-linux-9999.ebuild        | 46 +++++++++++++++-------
 1 file changed, 31 insertions(+), 15 deletions(-)

diff --git a/sys-fs/android-file-transfer-linux/android-file-transfer-linux-9999.ebuild b/sys-fs/android-file-transfer-linux/android-file-transfer-linux-9999.ebuild
index 96cfef23353..3ef7155a7e2 100644
--- a/sys-fs/android-file-transfer-linux/android-file-transfer-linux-9999.ebuild
+++ b/sys-fs/android-file-transfer-linux/android-file-transfer-linux-9999.ebuild
@@ -1,9 +1,11 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit cmake xdg
+PYTHON_COMPAT=( python3_{6..9} )
+
+inherit cmake python-single-r1 xdg
 
 DESCRIPTION="Android File Transfer for Linux"
 HOMEPAGE="https://github.com/whoozle/android-file-transfer-linux"
@@ -19,21 +21,44 @@ fi
 LICENSE="LGPL-2.1"
 SLOT="0"
 
-IUSE="fuse qt5"
+IUSE="fuse libressl python qt5 taglib zune"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 RDEPEND="
 	sys-apps/file
 	sys-libs/readline:0=
 	fuse? ( sys-fs/fuse:0 )
+	python? (
+		${PYTHON_DEPS}
+		$(python_gen_cond_dep '
+			dev-python/pybind11[${PYTHON_USEDEP}]
+		')
+	)
 	qt5? (
 		dev-qt/qtcore:5
 		dev-qt/qtgui:5
+		dev-qt/qtnetwork:5
 		dev-qt/qtwidgets:5
 	)
+	taglib? ( media-libs/taglib )
+	zune? (
+		!libressl? ( dev-libs/openssl:0= )
+		libressl? ( dev-libs/libressl:0= )
+	)
 "
 
 DEPEND="${RDEPEND}"
 
+BDEPEND="
+	virtual/pkgconfig
+	qt5? ( dev-qt/linguist-tools:5 )
+"
+
+pkg_setup() {
+	use python && python-single-r1_pkg_setup
+}
+
 # required to override src_prepare from xdg eclass
 src_prepare() {
 	cmake_src_prepare
@@ -42,23 +67,14 @@ src_prepare() {
 src_configure() {
 	local mycmakeargs=(
 		-DBUILD_FUSE="$(usex fuse)"
+		-DBUILD_MTPZ="$(usex zune)"
+		-DBUILD_PYTHON="$(usex python)"
 		-DBUILD_QT_UI="$(usex qt5)"
 		-DBUILD_SHARED_LIB="ON"
+		-DBUILD_TAGLIB="$(usex taglib)"
 		# Upstream recommends to keep this off as libusb is broken
 		-DUSB_BACKEND_LIBUSB="OFF"
 		$(usex qt5 '-DDESIRED_QT_VERSION=5' '')
 	)
 	cmake_src_configure
 }
-
-pkg_preinst() {
-	xdg_pkg_preinst
-}
-
-pkg_postinst() {
-	xdg_pkg_postinst
-}
-
-pkg_postrm() {
-	xdg_pkg_postrm
-}


             reply	other threads:[~2020-11-16 12:50 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-16 12:50 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-28  0:05 [gentoo-commits] repo/gentoo:master commit in: sys-fs/android-file-transfer-linux/ Andreas Sturmlechner
2024-10-24 17:58 Sam James
2024-09-19  1:26 Sam James
2024-09-19  1:26 Sam James
2024-07-31  9:24 Pacho Ramos
2024-07-31  9:24 Pacho Ramos
2022-06-22  7:33 Lars Wendler
2022-06-22  7:33 Lars Wendler
2021-06-02  1:13 Sam James
2021-05-02 17:47 Mikle Kolyada
2021-01-04  0:09 Sam James
2021-01-03 20:31 Lars Wendler
2021-01-03 20:31 Lars Wendler
2020-12-14 14:08 Lars Wendler
2020-11-16 12:50 Lars Wendler
2020-11-16 12:50 Lars Wendler
2019-12-22 13:37 Andreas K. Hüttel
2019-06-13 14:27 Lars Wendler
2019-06-13 14:27 Lars Wendler
2019-05-20  9:24 Lars Wendler
2019-05-20  9:24 Lars Wendler
2019-01-08  9:48 Lars Wendler
2018-11-12  9:29 Lars Wendler
2018-11-12  9:29 Lars Wendler
2018-09-13 17:42 Lars Wendler

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=1605531034.31410fe914ec4c7e1164e76cfda02090389d8eda.polynomial-c@gentoo \
    --to=polynomial-c@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