summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2009-08-11 13:59:47 +0000
committerMarkus Dittrich <markusle@gentoo.org>2009-08-11 13:59:47 +0000
commite96457b583f1f1c95c898b93f2cfb0433fb7d088 (patch)
treecf55bf9edb362cad60a1421919c37d4691725fe4 /sci-chemistry/vmd
parentRemove old ebuild (diff)
downloadgentoo-2-e96457b583f1f1c95c898b93f2cfb0433fb7d088.tar.gz
gentoo-2-e96457b583f1f1c95c898b93f2cfb0433fb7d088.tar.bz2
gentoo-2-e96457b583f1f1c95c898b93f2cfb0433fb7d088.zip
Added desktop entry and vmd icon (#262275).
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry/vmd')
-rw-r--r--sci-chemistry/vmd/ChangeLog7
-rw-r--r--sci-chemistry/vmd/files/vmd.desktop14
-rw-r--r--sci-chemistry/vmd/files/vmd.pngbin0 -> 8365 bytes
-rw-r--r--sci-chemistry/vmd/vmd-1.8.7.ebuild8
4 files changed, 27 insertions, 2 deletions
diff --git a/sci-chemistry/vmd/ChangeLog b/sci-chemistry/vmd/ChangeLog
index e07546317f1d..67b9272b479b 100644
--- a/sci-chemistry/vmd/ChangeLog
+++ b/sci-chemistry/vmd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-chemistry/vmd
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/vmd/ChangeLog,v 1.24 2009/08/07 13:29:11 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/vmd/ChangeLog,v 1.25 2009/08/11 13:59:47 markusle Exp $
+
+ 11 Aug 2009; Markus Dittrich <markusle@gentoo.org> vmd-1.8.7.ebuild,
+ +files/vmd.desktop, +files/vmd.png:
+ Added desktop entry and vmd icon (#262275).
+ Thanks much to Bjoern Olausson for creating them.
07 Aug 2009; Markus Dittrich <markusle@gentoo.org> vmd-1.8.7.ebuild,
files/vmd-1.8.7-config.patch:
diff --git a/sci-chemistry/vmd/files/vmd.desktop b/sci-chemistry/vmd/files/vmd.desktop
new file mode 100644
index 000000000000..fe09518a8eef
--- /dev/null
+++ b/sci-chemistry/vmd/files/vmd.desktop
@@ -0,0 +1,14 @@
+[Desktop Entry]
+Comment=Visual Molecular Dynamics
+Exec=/usr/bin/vmd
+GenericName=Visual Molecular Dynamics
+Icon=/usr/share/pixmaps/vmd.png
+Name=VMD
+NoDisplay=false
+Path=$HOME
+StartupNotify=true
+Terminal=1
+TerminalOptions=
+Type=Application
+Categories=Science;Application;
+X-KDE-SubstituteUID=false
diff --git a/sci-chemistry/vmd/files/vmd.png b/sci-chemistry/vmd/files/vmd.png
new file mode 100644
index 000000000000..33126483ca80
--- /dev/null
+++ b/sci-chemistry/vmd/files/vmd.png
Binary files differ
diff --git a/sci-chemistry/vmd/vmd-1.8.7.ebuild b/sci-chemistry/vmd/vmd-1.8.7.ebuild
index 4123b59229c4..af027138f8da 100644
--- a/sci-chemistry/vmd/vmd-1.8.7.ebuild
+++ b/sci-chemistry/vmd/vmd-1.8.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/vmd/vmd-1.8.7.ebuild,v 1.3 2009/08/07 13:29:11 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/vmd/vmd-1.8.7.ebuild,v 1.4 2009/08/11 13:59:47 markusle Exp $
EAPI="2"
@@ -162,4 +162,10 @@ src_install() {
# adjust path in vmd wrapper
sed -e "s:${D}::" -i "${D}"/usr/bin/${PN} \
|| die "failed to set up vmd wrapper script"
+
+ # install icon and generate desktop entry
+ insinto /usr/share/pixmaps
+ doins "${FILESDIR}"/vmd.png || die "Failed to install vmd icon"
+ insinto /usr/share/applications
+ doins "${FILESDIR}"/vmd.desktop || die "Failed to install desktop entry"
}