summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-06-13 15:41:00 +0200
committerLars Wendler <polynomial-c@gentoo.org>2019-06-13 16:27:26 +0200
commit3fd4b3155758ae51053a6f4543870f81fc2b19b9 (patch)
tree5fb8e4c34755d963a93a3fa3abe5476239cda925 /sys-fs
parentmedia-libs/openjpeg: ppc stable wrt bug #646774 (diff)
downloadgentoo-3fd4b3155758ae51053a6f4543870f81fc2b19b9.tar.gz
gentoo-3fd4b3155758ae51053a6f4543870f81fc2b19b9.tar.bz2
gentoo-3fd4b3155758ae51053a6f4543870f81fc2b19b9.zip
sys-fs/android-file-transfer-linux: Bump to version 3.9
Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/android-file-transfer-linux/Manifest1
-rw-r--r--sys-fs/android-file-transfer-linux/android-file-transfer-linux-3.9.ebuild64
2 files changed, 65 insertions, 0 deletions
diff --git a/sys-fs/android-file-transfer-linux/Manifest b/sys-fs/android-file-transfer-linux/Manifest
index 230b5bc53172..88c3e9236ea5 100644
--- a/sys-fs/android-file-transfer-linux/Manifest
+++ b/sys-fs/android-file-transfer-linux/Manifest
@@ -1,2 +1,3 @@
DIST android-file-transfer-linux-3.6.tar.gz 779459 BLAKE2B f71e7f3313a60cf12179908ed539e6b728e64c0b4e3b6b39dafd9926b27b96b54d31abac9da704111b2ab42867b1c58aac51ff547553cd5ad96dd8c00a5f670a SHA512 bcbc2f8bd39d093677b1c2dcb3d981293a8e79487884fcbe3450864dad9beff381fe966a2a42faf0af75a96753e4f139c95de7ed9175d7cb350055a35f7be4bc
DIST android-file-transfer-linux-3.8.tar.gz 780911 BLAKE2B 07b4e7670125b1ff382e7c6b1e36427fe0c1fd9665106d73144de5ca68692ae390496985fe83550ec90a64a83fa45b27e4e6d6738e4590ca8c5078a4814ac141 SHA512 b311b76658b57d16cd11c8f5bf03630adc6e0f1939d985a75e7effab584c93dbb82e65fb4cf84a9ef453c901c7f7d3100b96737de20577235fae6fd156a03da1
+DIST android-file-transfer-linux-3.9.tar.gz 781268 BLAKE2B 63032a39b39cf31b8d051c0069c0357f0b6ed5bd9e592ee5ce1f5e95438ff27571ec7d58789eb865a1896097c3cebf0ec30a89526b62c93694d71ca29e95d415 SHA512 7468ff19d2b4ae0f768eea70ec45246da11c4e541d07a9548d057c080adbbc905f76dcdff18c4c8478cd19aee6992d02beaf8b4275d7302997652e25351ab5c8
diff --git a/sys-fs/android-file-transfer-linux/android-file-transfer-linux-3.9.ebuild b/sys-fs/android-file-transfer-linux/android-file-transfer-linux-3.9.ebuild
new file mode 100644
index 000000000000..dbd8f4ce067c
--- /dev/null
+++ b/sys-fs/android-file-transfer-linux/android-file-transfer-linux-3.9.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils 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 qt5"
+
+RDEPEND="
+ sys-apps/file
+ sys-libs/readline:0=
+ fuse? ( sys-fs/fuse:0 )
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ )
+"
+
+DEPEND="${RDEPEND}"
+
+# required to override src_prepare from xdg eclass
+src_prepare() {
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_FUSE="$(usex fuse)"
+ -DBUILD_QT_UI="$(usex qt5)"
+ -DBUILD_SHARED_LIB="ON"
+ # Upstream recommends to keep this off as libusb is broken
+ -DUSB_BACKEND_LIBUSB="OFF"
+ $(usex qt5 '-DDESIRED_QT_VERSION=5' '')
+ )
+ cmake-utils_src_configure
+}
+
+pkg_preinst() {
+ xdg_pkg_preinst
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+}