commit:     74d09d34af68ab731bacfb3f83165a537ef6f8be
Author:     Denis Dupeyron <calchan <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 25 05:05:13 2018 +0000
Commit:     Denis Dupeyron <calchan <AT> gentoo <DOT> org>
CommitDate: Tue Dec 25 05:05:13 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74d09d34

app-mobilephone/adb-sync: initial commit

Mostly taken from:
  https://github.com/jgeboski/ebuilds/tree/master/app-backup/adb-sync
Thanks to James Geboski <jgeboski <AT> gmail.com>.

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Denis Dupeyron <calchan <AT> gentoo.org>

 app-mobilephone/adb-sync/Manifest                  |  1 +
 .../adb-sync/adb-sync-0_p20181127.ebuild           | 31 ++++++++++++++++++++++
 app-mobilephone/adb-sync/metadata.xml              | 15 +++++++++++
 3 files changed, 47 insertions(+)

diff --git a/app-mobilephone/adb-sync/Manifest 
b/app-mobilephone/adb-sync/Manifest
new file mode 100644
index 00000000000..88d532a94d1
--- /dev/null
+++ b/app-mobilephone/adb-sync/Manifest
@@ -0,0 +1 @@
+DIST adb-sync-0_p20181127.tar.gz 13952 BLAKE2B 
b9097f44eebd76e54cee41f097933f85151399e99275268274252b53f47ab241ecb888f3631dd9f657213160f02e9f3638d782fb24de8e38631d0e2a81b6b03e
 SHA512 
007b9ec089170f3e679a26f23952043ad922a2f988532183200ddd15792858d4d38c6dbd617b32ff0e17d01b37b246c173e4a3f8c008f7cf4bca551e64cd0ca3

diff --git a/app-mobilephone/adb-sync/adb-sync-0_p20181127.ebuild 
b/app-mobilephone/adb-sync/adb-sync-0_p20181127.ebuild
new file mode 100644
index 00000000000..3ea566857a0
--- /dev/null
+++ b/app-mobilephone/adb-sync/adb-sync-0_p20181127.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
+
+inherit python-single-r1 python-utils-r1
+
+COMMIT=b0a2a10
+
+DESCRIPTION="Synchronize files between a PC and an Android device using ADB"
+HOMEPAGE="https://github.com/google/adb-sync";
+SRC_URI="https://github.com/google/adb-sync/tarball/${COMMIT} -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+channel"
+
+RDEPEND="
+       dev-util/android-tools
+       channel? ( net-misc/socat )"
+DEPEND=""
+
+S="${WORKDIR}/google-adb-sync-${COMMIT}"
+
+src_install() {
+       dodoc README.md
+       python_doscript adb-sync
+       use channel && dobin adb-channel
+}

diff --git a/app-mobilephone/adb-sync/metadata.xml 
b/app-mobilephone/adb-sync/metadata.xml
new file mode 100644
index 00000000000..92ad7c2caa2
--- /dev/null
+++ b/app-mobilephone/adb-sync/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="person">
+    <name>Denis Dupeyron</name>
+    <email>[email protected]</email>
+  </maintainer>
+  <upstream>
+    <bugs-to>https://github.com/google/adb-sync/issues</bugs-to>
+    <remote-id type="github">google/adb-sync</remote-id>
+  </upstream>
+  <use>
+    <flag name="channel">Install the adb-channel script</flag>
+  </use>
+</pkgmetadata>

Reply via email to