summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2003-03-16 14:33:43 +0000
committerAlastair Tse <liquidx@gentoo.org>2003-03-16 14:33:43 +0000
commita970da06c1b41d49b54fe48044ff233c28ab5488 (patch)
treea0808677d732b0dc9649ea457ff4a948ab2a67a4 /media-video/realone/realone-1.ebuild
parentpixmap and menu entry cleanups (diff)
downloadgentoo-2-a970da06c1b41d49b54fe48044ff233c28ab5488.tar.gz
gentoo-2-a970da06c1b41d49b54fe48044ff233c28ab5488.tar.bz2
gentoo-2-a970da06c1b41d49b54fe48044ff233c28ab5488.zip
menu entry and pixmap fixes
Diffstat (limited to 'media-video/realone/realone-1.ebuild')
-rw-r--r--media-video/realone/realone-1.ebuild16
1 files changed, 14 insertions, 2 deletions
diff --git a/media-video/realone/realone-1.ebuild b/media-video/realone/realone-1.ebuild
index 096dc9804545..0884964d058c 100644
--- a/media-video/realone/realone-1.ebuild
+++ b/media-video/realone/realone-1.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/realone/realone-1.ebuild,v 1.5 2003/02/13 13:33:25 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/realone/realone-1.ebuild,v 1.6 2003/03/16 14:33:43 liquidx Exp $
+
+IUSE="gnome kde"
inherit virtualx
@@ -107,10 +109,20 @@ src_install() {
doins Gemini_0_1 RealMediaSDK_6_0 RealPlayer_9_0 RealShared_0_0
# KDE desktop entry
- if [ ${KDEDIR} ]; then
+ if [ -n "`use kde`" -a -n "${KDEDIR}" ]; then
insinto ${KDEDIR}/${APPLNK}
doins ${FILESDIR}/realone.desktop
fi
+
+ # Gnome desktop entry
+ if [ -n "`use gnome`" ]; then
+ insinto /usr/share/applications
+ doins ${FILESDIR}/realone.desktop
+ fi
+
+ # Install pixmaps
+ insinto /usr/share/pixmaps
+ doins *.xpm
# Wrapper script
exeinto /opt/bin