diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2010-10-31 23:41:55 +0000 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2010-10-31 23:41:55 +0000 |
commit | 0f92a507a1e7bcf5938b403072b65bed46051aae (patch) | |
tree | 8f64d07535d59d1610576fe0de0cdbd71c058b0a /sci-electronics/gspiceui/gspiceui-0.9.99.ebuild | |
parent | Update EAPI. Fix dependencies. Set SUPPORT_PYTHON_ABIS. Use PyPI mirrors. (diff) | |
download | gentoo-2-0f92a507a1e7bcf5938b403072b65bed46051aae.tar.gz gentoo-2-0f92a507a1e7bcf5938b403072b65bed46051aae.tar.bz2 gentoo-2-0f92a507a1e7bcf5938b403072b65bed46051aae.zip |
Fix LDFLAGS and CXXFLAGS, remove icon extension in desktop file
(Portage version: 2.1.9.23/cvs/Linux x86_64)
Diffstat (limited to 'sci-electronics/gspiceui/gspiceui-0.9.99.ebuild')
-rw-r--r-- | sci-electronics/gspiceui/gspiceui-0.9.99.ebuild | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/sci-electronics/gspiceui/gspiceui-0.9.99.ebuild b/sci-electronics/gspiceui/gspiceui-0.9.99.ebuild index dbf493779a91..6f33e03fc4fc 100644 --- a/sci-electronics/gspiceui/gspiceui-0.9.99.ebuild +++ b/sci-electronics/gspiceui/gspiceui-0.9.99.ebuild @@ -1,11 +1,11 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gspiceui/gspiceui-0.9.99.ebuild,v 1.2 2010/10/19 09:40:15 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/gspiceui/gspiceui-0.9.99.ebuild,v 1.3 2010/10/31 23:41:55 dilfridge Exp $ EAPI="2" WX_GTK_VER="2.8" -inherit wxwidgets +inherit eutils wxwidgets MY_P="${PN}-v${PV}" @@ -28,11 +28,8 @@ RDEPEND="${DEPEND} S="${WORKDIR}/${MY_P}" src_prepare() { - # Removing pre-configured CXXFLAGS from Makefile. The Makefile then only appends - # the flags required for wxwidgets to the Gentoo preset. - sed -i \ - -e "s:CXXFLAGS = -O -pipe:CXXFLAGS += :" \ - src/Makefile || die "Patching src/Makefile failed" + # Use Gentoo LDFLAGS and CXXFLAGS + epatch "${FILESDIR}/${P}-flags.patch" # Adjusting the doc path at src/main/HelpTasks.cpp sed -i \ @@ -57,7 +54,7 @@ src_install() { doins -r lib/* || die fi - make_desktop_entry gspiceui "GNU Spice GUI" gspiceui.xpm "Electronics" + make_desktop_entry gspiceui "GNU Spice GUI" gspiceui "Electronics" } pkg_postinst() { |