summaryrefslogtreecommitdiff
path: root/sys-fs/android-file-transfer-linux
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/android-file-transfer-linux')
-rw-r--r--sys-fs/android-file-transfer-linux/Manifest4
-rw-r--r--sys-fs/android-file-transfer-linux/android-file-transfer-linux-3.5.ebuild63
-rw-r--r--sys-fs/android-file-transfer-linux/android-file-transfer-linux-9999.ebuild63
-rw-r--r--sys-fs/android-file-transfer-linux/metadata.xml14
4 files changed, 144 insertions, 0 deletions
diff --git a/sys-fs/android-file-transfer-linux/Manifest b/sys-fs/android-file-transfer-linux/Manifest
new file mode 100644
index 000000000000..f8987cc7888d
--- /dev/null
+++ b/sys-fs/android-file-transfer-linux/Manifest
@@ -0,0 +1,4 @@
+DIST android-file-transfer-linux-3.5.tar.gz 779997 BLAKE2B af8f1025ae09f2e5a99116a1feb2449d2dcdf64887cd46e712c88f7911aea891ea5ff1705220b68ef9f6ab349a8c1d1955a843a47dcb53383a64a28f8830c7a8 SHA512 2a87a0a2c17b1f51cdce445291ccb99ee15ab24531e2cf41b1648702c66916d55ec8cdc1bd344bdbda5e4a1132daf0cc623862028f2d781812c24f8cf89a1367
+EBUILD android-file-transfer-linux-3.5.ebuild 1249 BLAKE2B 291048a184b70cffb2dd671b162404b3a11cf1e64d1b0ea4fb8ee7ac43295fd79d33113f3ec100ed1518c2898553e608c5051ac0874a317656fb163d98f97469 SHA512 8fe4e868db2e65d2415b67ef861f1d22c1fdbffcd68dc76ec7718ce8a447c4690351801dedad647e416240138d04f360672b984c460bb8017f651ce4b348f6cb
+EBUILD android-file-transfer-linux-9999.ebuild 1249 BLAKE2B 291048a184b70cffb2dd671b162404b3a11cf1e64d1b0ea4fb8ee7ac43295fd79d33113f3ec100ed1518c2898553e608c5051ac0874a317656fb163d98f97469 SHA512 8fe4e868db2e65d2415b67ef861f1d22c1fdbffcd68dc76ec7718ce8a447c4690351801dedad647e416240138d04f360672b984c460bb8017f651ce4b348f6cb
+MISC metadata.xml 429 BLAKE2B 8d4f35c4537ff2fbe3f410e1d07a5e973b13f644d8a22b2f0dbddefc360ba851802ea8c0af29383dd791f4df26f0d235acfc35e3051e295512d0c9fbef19e9e1 SHA512 65bc09b634fa9f7d501ca82d4b64ed6ab524d226dc2e47c8b52db340cb5614280ace108fdf1bcd37b6ba80ea48e7c5a249c43da5053fadb7d5993950b5448874
diff --git a/sys-fs/android-file-transfer-linux/android-file-transfer-linux-3.5.ebuild b/sys-fs/android-file-transfer-linux/android-file-transfer-linux-3.5.ebuild
new file mode 100644
index 000000000000..753c4b81006b
--- /dev/null
+++ b/sys-fs/android-file-transfer-linux/android-file-transfer-linux-3.5.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils gnome2-utils xdg-utils
+
+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}"
+
+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"
+ )
+ if use qt5 ; then
+ mycmakeargs+=(
+ -DDESIRED_QT_VERSION=5
+ )
+ fi
+ cmake-utils_src_configure
+}
+
+pkg_preinst() { gnome2_icon_savelist ; }
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
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
new file mode 100644
index 000000000000..753c4b81006b
--- /dev/null
+++ b/sys-fs/android-file-transfer-linux/android-file-transfer-linux-9999.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils gnome2-utils xdg-utils
+
+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}"
+
+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"
+ )
+ if use qt5 ; then
+ mycmakeargs+=(
+ -DDESIRED_QT_VERSION=5
+ )
+ fi
+ cmake-utils_src_configure
+}
+
+pkg_preinst() { gnome2_icon_savelist ; }
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
diff --git a/sys-fs/android-file-transfer-linux/metadata.xml b/sys-fs/android-file-transfer-linux/metadata.xml
new file mode 100644
index 000000000000..9746ecb92773
--- /dev/null
+++ b/sys-fs/android-file-transfer-linux/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>polynomial-c@gentoo.org</email>
+ <name>Lars Wendler</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">whoozle/android-file-transfer-linux</remote-id>
+ </upstream>
+ <use>
+ <flag name="fuse">Add FUSE mount helper</flag>
+ </use>
+</pkgmetadata>