summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-misc/android-file-transfer/Manifest1
-rw-r--r--net-misc/android-file-transfer/android-file-transfer-2.2.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/net-misc/android-file-transfer/Manifest b/net-misc/android-file-transfer/Manifest
new file mode 100644
index 0000000..07a9034
--- /dev/null
+++ b/net-misc/android-file-transfer/Manifest
@@ -0,0 +1 @@
+DIST android-file-transfer-2.2.tar.gz 61402 SHA256 b63d2be61ea2807ffd839b143425d0b00c032a13c9a7517d85b4eb650b710116 SHA512 68a1a49c7211722c3ee7edf0fd451d4ddb32a97b06c8ade4e41b1abc1ab3e0796bcae0075eb8d34763502388988891d8689bb8269e80a1cda8fe9be921ff7261 WHIRLPOOL 1470a4c2b1c199bfce7bbe24a0fdcb8a27d2cdaf1233c9b01b073e28cdc679fc57a9cd9a97ac43cf1c957d5b110ee5b89ae26717221acb2d2b38d3a6a5875d0b
diff --git a/net-misc/android-file-transfer/android-file-transfer-2.2.ebuild b/net-misc/android-file-transfer/android-file-transfer-2.2.ebuild
new file mode 100644
index 0000000..91f5502
--- /dev/null
+++ b/net-misc/android-file-transfer/android-file-transfer-2.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+inherit cmake-utils
+
+MY_PN=${PN}-linux
+DESCRIPTION="Reliable MTP client with minimalistic UI"
+HOMEPAGE="https://whoozle.github.io/android-file-transfer-linux/"
+SRC_URI="https://github.com/whoozle/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="fuse qt4 +qt5"
+REQUIRED_USE="^^ ( qt4 qt5 )"
+
+RDEPEND="fuse? ( sys-fs/fuse )
+ qt4? ( dev-qt/qtcore:4
+ dev-qt/qtgui:4 )
+ qt5? ( dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5 )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${MY_PN}-${PV}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_build qt4 QT_UI)
+ $(cmake-utils_use_build qt5 QT_UI)
+ )
+ cmake-utils_src_configure
+}