summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2008-05-18 16:18:08 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2008-05-18 16:18:08 +0000
commit4c924aa821abd5645d5af121e537fb20650eee49 (patch)
treeadee62fcc08d33c27394a1f8661d8ee799a226bb /net-irc
parentamd64/x86 stable, bug #221063 (diff)
downloadgentoo-2-4c924aa821abd5645d5af121e537fb20650eee49.tar.gz
gentoo-2-4c924aa821abd5645d5af121e537fb20650eee49.tar.bz2
gentoo-2-4c924aa821abd5645d5af121e537fb20650eee49.zip
Install the desktop file only when the GUI client is built, and fix the name of the client.
(Portage version: 2.1.5)
Diffstat (limited to 'net-irc')
-rw-r--r--net-irc/quassel/ChangeLog7
-rw-r--r--net-irc/quassel/quassel-0.2.0_beta1.ebuild9
-rw-r--r--net-irc/quassel/quassel-9999.ebuild9
3 files changed, 20 insertions, 5 deletions
diff --git a/net-irc/quassel/ChangeLog b/net-irc/quassel/ChangeLog
index 8316b4913478..be7002a7fd2a 100644
--- a/net-irc/quassel/ChangeLog
+++ b/net-irc/quassel/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-irc/quassel
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v 1.13 2008/05/15 15:54:49 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/ChangeLog,v 1.14 2008/05/18 16:18:08 flameeyes Exp $
+
+ 18 May 2008; Diego Pettenò <flameeyes@gentoo.org>
+ quassel-0.2.0_beta1.ebuild, quassel-9999.ebuild:
+ Install the desktop file only when the GUI client is built, and fix the
+ name of the client.
*quassel-0.2.0_beta1 (15 May 2008)
diff --git a/net-irc/quassel/quassel-0.2.0_beta1.ebuild b/net-irc/quassel/quassel-0.2.0_beta1.ebuild
index e38d2db4b181..6a49c4f766f3 100644
--- a/net-irc/quassel/quassel-0.2.0_beta1.ebuild
+++ b/net-irc/quassel/quassel-0.2.0_beta1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/quassel-0.2.0_beta1.ebuild,v 1.1 2008/05/15 15:54:49 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/quassel-0.2.0_beta1.ebuild,v 1.2 2008/05/18 16:18:08 flameeyes Exp $
EAPI=1
@@ -73,7 +73,12 @@ src_install() {
use X && targets="${targets} build/targets/quasselclient"
dobin $targets || die "quasselcore install failed"
- domenu ${PN}.desktop || die "desktop file install failed"
+ # Only install the desktop file if the X client was installed
+ if use X; then
+ sed -i -e 's:Exec=quassel:Exec=quasselclient:' ${PN}.desktop \
+ || die "failed to fix desktop file"
+ domenu ${PN}.desktop || die "desktop file install failed"
+ fi
dodoc ChangeLog README README.Qtopia || "dodoc failed"
}
diff --git a/net-irc/quassel/quassel-9999.ebuild b/net-irc/quassel/quassel-9999.ebuild
index 6e4812133a13..17acb9c41864 100644
--- a/net-irc/quassel/quassel-9999.ebuild
+++ b/net-irc/quassel/quassel-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/quassel-9999.ebuild,v 1.3 2008/05/15 15:54:49 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/quassel/quassel-9999.ebuild,v 1.4 2008/05/18 16:18:08 flameeyes Exp $
EAPI=1
@@ -73,7 +73,12 @@ src_install() {
use X && targets="${targets} build/targets/quasselclient"
dobin $targets || die "quasselcore install failed"
- domenu ${PN}.desktop || die "desktop file install failed"
+ # Only install the desktop file if the X client was installed
+ if use X; then
+ sed -i -e 's:Exec=quassel:Exec=quasselclient:' ${PN}.desktop \
+ || die "failed to fix desktop file"
+ domenu ${PN}.desktop || die "desktop file install failed"
+ fi
dodoc ChangeLog README README.Qtopia || "dodoc failed"
}