summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2007-07-15 19:23:13 +0000
committerSamuli Suominen <drac@gentoo.org>2007-07-15 19:23:13 +0000
commitb235c399beb23ef442727d38fd5b1f232f554686 (patch)
treec6509e754b77eb1be030d65e4aa821d9bfdfffbf /media-sound/glame
parentif some __NR_* defines are missing, stub them out so we can keep our C-only a... (diff)
downloadgentoo-2-b235c399beb23ef442727d38fd5b1f232f554686.tar.gz
gentoo-2-b235c399beb23ef442727d38fd5b1f232f554686.tar.bz2
gentoo-2-b235c399beb23ef442727d38fd5b1f232f554686.zip
replace retarded 7 line sed hack with 1 line clean sed for previous commit.
(Portage version: 2.1.3_rc8)
Diffstat (limited to 'media-sound/glame')
-rw-r--r--media-sound/glame/glame-2.0.1.ebuild11
1 files changed, 2 insertions, 9 deletions
diff --git a/media-sound/glame/glame-2.0.1.ebuild b/media-sound/glame/glame-2.0.1.ebuild
index 5882552d670b..f01a6d8df744 100644
--- a/media-sound/glame/glame-2.0.1.ebuild
+++ b/media-sound/glame/glame-2.0.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/glame/glame-2.0.1.ebuild,v 1.10 2007/07/15 19:14:07 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/glame/glame-2.0.1.ebuild,v 1.11 2007/07/15 19:23:13 drac Exp $
WANT_AUTOCONF=2.5
@@ -43,17 +43,10 @@ src_unpack() {
eautoconf
cd "${S}"
epatch "${FILESDIR}"/${P}-cflags.patch
+ sed -i -e 's:glame.png:glame-logo.jpg:' src/gui/glame.desktop
}
src_compile() {
- if use gnome; then
- # Use a valid icon for the GNOME menu entry
- cp src/gui/glame.desktop src/gui/glame.desktop.old
- sed -e 's:glame.png:glame-logo.jpg:' \
- src/gui/glame.desktop.old > src/gui/glame.desktop
- rm src/gui/glame.desktop.old
- fi
-
econf $(use_enable alsa alsatest) \
$(use_enable debug swapfiledebug) $(use_enable debug) \
$(use_enable gnome gui) \