summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2006-02-11 10:13:58 +0000
committerAlin Năstac <mrness@gentoo.org>2006-02-11 10:13:58 +0000
commit7437d1579920c080c4ca8159fef1f84c5e8ede59 (patch)
treedcd1b6430795c030f84d93f037c5d14a9c9945bb /app-mobilephone/gnokii
parentfixed broken encoding in ChangeLog (diff)
downloadgentoo-2-7437d1579920c080c4ca8159fef1f84c5e8ede59.tar.gz
gentoo-2-7437d1579920c080c4ca8159fef1f84c5e8ede59.tar.bz2
gentoo-2-7437d1579920c080c4ca8159fef1f84c5e8ede59.zip
Condition installation of desktop file by the X useflag (#122347).
(Portage version: 2.0.54)
Diffstat (limited to 'app-mobilephone/gnokii')
-rw-r--r--app-mobilephone/gnokii/ChangeLog5
-rw-r--r--app-mobilephone/gnokii/gnokii-0.6.10.ebuild8
2 files changed, 9 insertions, 4 deletions
diff --git a/app-mobilephone/gnokii/ChangeLog b/app-mobilephone/gnokii/ChangeLog
index c63e5607f823..fc7f0097dfb0 100644
--- a/app-mobilephone/gnokii/ChangeLog
+++ b/app-mobilephone/gnokii/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-mobilephone/gnokii
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/ChangeLog,v 1.31 2006/02/06 06:25:16 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/ChangeLog,v 1.32 2006/02/11 10:13:58 mrness Exp $
+
+ 11 Feb 2006; Alin Nastac <mrness@gentoo.org> gnokii-0.6.10.ebuild:
+ Condition installation of desktop file by the X useflag (#122347).
06 Feb 2006; Aron Griffis <agriffis@gentoo.org> gnokii-0.6.10.ebuild:
Mark 0.6.10 stable on alpha
diff --git a/app-mobilephone/gnokii/gnokii-0.6.10.ebuild b/app-mobilephone/gnokii/gnokii-0.6.10.ebuild
index b8404609f04d..7906ea7c9aa2 100644
--- a/app-mobilephone/gnokii/gnokii-0.6.10.ebuild
+++ b/app-mobilephone/gnokii/gnokii-0.6.10.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/gnokii-0.6.10.ebuild,v 1.8 2006/02/06 06:25:16 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/gnokii-0.6.10.ebuild,v 1.9 2006/02/11 10:13:58 mrness Exp $
inherit eutils flag-o-matic linux-info
@@ -77,8 +77,10 @@ src_install() {
einstall || die "smsd make install failed"
fi
- insinto /usr/share/applications
- doins ${FILESDIR}/${PN}.desktop
+ if use X; then
+ insinto /usr/share/applications
+ doins ${FILESDIR}/${PN}.desktop
+ fi
}
pkg_postinst() {