summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2018-12-24 22:05:13 -0700
committerDenis Dupeyron <calchan@gentoo.org>2018-12-24 22:05:13 -0700
commit74d09d34af68ab731bacfb3f83165a537ef6f8be (patch)
tree860c2562bd0975e0ed259490b79f1d206541c253 /app-mobilephone/adb-sync
parentapp-vim/vim-go: bump to 1.19 (diff)
downloadgentoo-74d09d34af68ab731bacfb3f83165a537ef6f8be.tar.gz
gentoo-74d09d34af68ab731bacfb3f83165a537ef6f8be.tar.bz2
gentoo-74d09d34af68ab731bacfb3f83165a537ef6f8be.zip
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@gmail.com>. Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Denis Dupeyron <calchan@gentoo.org>
Diffstat (limited to 'app-mobilephone/adb-sync')
-rw-r--r--app-mobilephone/adb-sync/Manifest1
-rw-r--r--app-mobilephone/adb-sync/adb-sync-0_p20181127.ebuild31
-rw-r--r--app-mobilephone/adb-sync/metadata.xml15
3 files changed, 47 insertions, 0 deletions
diff --git a/app-mobilephone/adb-sync/Manifest b/app-mobilephone/adb-sync/Manifest
new file mode 100644
index 000000000000..88d532a94d1f
--- /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 000000000000..3ea566857a05
--- /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 000000000000..92ad7c2caa2f
--- /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>calchan@gentoo.org</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>