summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Freeman <rich0@gentoo.org>2013-11-20 23:49:06 +0000
committerRichard Freeman <rich0@gentoo.org>2013-11-20 23:49:06 +0000
commite9b4a74b03474709978b82d8ab8c3be66e512928 (patch)
tree8d6c76759714adcfa1e6a7e00d2a971810c09f31 /dev-util/android-sdk-update-manager
parentAdd ruby20 target. Cleanup old. (diff)
downloadgentoo-2-e9b4a74b03474709978b82d8ab8c3be66e512928.tar.gz
gentoo-2-e9b4a74b03474709978b82d8ab8c3be66e512928.tar.bz2
gentoo-2-e9b4a74b03474709978b82d8ab8c3be66e512928.zip
Add desktop entry and udev rule. Thanks to C.J. Wijtmans. 491508
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x08C170DE55EC123A)
Diffstat (limited to 'dev-util/android-sdk-update-manager')
-rw-r--r--dev-util/android-sdk-update-manager/ChangeLog7
-rw-r--r--dev-util/android-sdk-update-manager/android-sdk-update-manager-22.3.ebuild6
-rw-r--r--dev-util/android-sdk-update-manager/files/80-android.rules4
-rw-r--r--dev-util/android-sdk-update-manager/files/android-sdk-update-manager.desktop10
4 files changed, 24 insertions, 3 deletions
diff --git a/dev-util/android-sdk-update-manager/ChangeLog b/dev-util/android-sdk-update-manager/ChangeLog
index 1f6ed51c9fe9..4b12581bec9a 100644
--- a/dev-util/android-sdk-update-manager/ChangeLog
+++ b/dev-util/android-sdk-update-manager/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/android-sdk-update-manager
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/android-sdk-update-manager/ChangeLog,v 1.57 2013/11/02 03:30:43 rich0 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/android-sdk-update-manager/ChangeLog,v 1.58 2013/11/20 23:49:06 rich0 Exp $
+
+ 20 Nov 2013; Richard Freeman <rich0@gentoo.org> +files/80-android.rules,
+ android-sdk-update-manager-22.3.ebuild,
+ +files/android-sdk-update-manager.desktop:
+ Add desktop entry and udev rule. Thanks to C.J. Wijtmans. 491508
*android-sdk-update-manager-22.3 (02 Nov 2013)
diff --git a/dev-util/android-sdk-update-manager/android-sdk-update-manager-22.3.ebuild b/dev-util/android-sdk-update-manager/android-sdk-update-manager-22.3.ebuild
index cd4bc1b360a9..02a7f87b8d2e 100644
--- a/dev-util/android-sdk-update-manager/android-sdk-update-manager-22.3.ebuild
+++ b/dev-util/android-sdk-update-manager/android-sdk-update-manager-22.3.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/android-sdk-update-manager/android-sdk-update-manager-22.3.ebuild,v 1.1 2013/11/02 03:30:43 rich0 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/android-sdk-update-manager/android-sdk-update-manager-22.3.ebuild,v 1.2 2013/11/20 23:49:06 rich0 Exp $
EAPI="5"
-inherit eutils user
+inherit eutils user udev
MY_P="android-sdk_r${PV}-linux"
@@ -86,6 +86,8 @@ src_install(){
insinto "/etc/revdep-rebuild" && doins "${T}/80${PN}" || die
+ udev_dorules "${FILESDIR}"/80-android.rules || die
+ domenu "${FILESDIR}"/android-sdk-update-manager.desktop || die
}
pkg_postinst() {
diff --git a/dev-util/android-sdk-update-manager/files/80-android.rules b/dev-util/android-sdk-update-manager/files/80-android.rules
new file mode 100644
index 000000000000..e6eda7c938a0
--- /dev/null
+++ b/dev-util/android-sdk-update-manager/files/80-android.rules
@@ -0,0 +1,4 @@
+SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", MODE="0664", GROUP="android"
+SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0664", GROUP="android"
+SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", MODE="0664", GROUP="android"
+SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0664", GROUP="android"
diff --git a/dev-util/android-sdk-update-manager/files/android-sdk-update-manager.desktop b/dev-util/android-sdk-update-manager/files/android-sdk-update-manager.desktop
new file mode 100644
index 000000000000..83f1d25990ca
--- /dev/null
+++ b/dev-util/android-sdk-update-manager/files/android-sdk-update-manager.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=1.0
+Name=Android SDK update-manager
+Type=Application
+Comment=Manage/update Android SDK (tools).
+Terminal=false
+Exec=/opt/android-sdk-update-manager/tools/android
+Icon=/opt/android-sdk-update-manager/tools/apps/SdkController/res/drawable-xhdpi/ic_launcher.png
+Categories=Development;
+GenericName=Android SDK update-manager