summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-06-23 19:22:50 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-06-23 19:22:50 +0000
commitf2206e3dd78989ed968dcf5e2dd5fd6d13485d2e (patch)
tree2d204eb3c1cbaa7eed9ef430e39ae29be6693c60 /gnome-extra/wp_tray/wp_tray-0.5.5.ebuild
parentVersion bumps: new TuxOnIce - 3.1.1.1, new genpatches. (diff)
downloadhistorical-f2206e3dd78989ed968dcf5e2dd5fd6d13485d2e.tar.gz
historical-f2206e3dd78989ed968dcf5e2dd5fd6d13485d2e.tar.bz2
historical-f2206e3dd78989ed968dcf5e2dd5fd6d13485d2e.zip
Fix building with GCC 4.5+ wrt #323079 by Diego E. Pettenò.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'gnome-extra/wp_tray/wp_tray-0.5.5.ebuild')
-rw-r--r--gnome-extra/wp_tray/wp_tray-0.5.5.ebuild26
1 files changed, 13 insertions, 13 deletions
diff --git a/gnome-extra/wp_tray/wp_tray-0.5.5.ebuild b/gnome-extra/wp_tray/wp_tray-0.5.5.ebuild
index c27596f98bf0..a9287b3cc237 100644
--- a/gnome-extra/wp_tray/wp_tray-0.5.5.ebuild
+++ b/gnome-extra/wp_tray/wp_tray-0.5.5.ebuild
@@ -1,15 +1,16 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/wp_tray/wp_tray-0.5.5.ebuild,v 1.4 2010/06/23 19:13:01 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/wp_tray/wp_tray-0.5.5.ebuild,v 1.5 2010/06/23 19:22:50 ssuominen Exp $
-inherit gnome2 multilib eutils
+EAPI=2
+GCONF_DEBUG=no
+inherit eutils gnome2 multilib
DESCRIPTION="Wallpaper Manager for the Gnome Desktop"
HOMEPAGE="http://planetearthworm.com/projects/wp_tray"
-
SRC_URI="http://planetearthworm.com/projects/${PN}/files/${P}.tar.gz"
-LICENSE="GPL-2"
+LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
@@ -24,19 +25,18 @@ DEPEND="${RDEPEND}
dev-util/pkgconfig
dev-libs/boost"
-src_compile() {
- local myconf
-
- myconf="${myconf} --with-boostfilesystem=/usr/$(get_libdir)/libboost_filesystem.so"
- myconf="${myconf} --with-boostregex=/usr/$(get_libdir)/libboost_regex.so"
+pkg_setup() {
+ G2CONF="${G2CONF} --with-boostfilesystem=/usr/$(get_libdir)/libboost_filesystem.so"
+ G2CONF="${G2CONF} --with-boostregex=/usr/$(get_libdir)/libboost_regex.so"
+ DOCS="AUTHORS ChangeLog NEWS README*"
+}
- econf ${myconf} || die "Configure failure"
- emake || die "Make failure"
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gcc45.patch
+ gnome2_src_prepare
}
src_install() {
addpredict /root/.gconf
gnome2_src_install
}
-
-DOCS="AUTHORS ChangeLog INSTALL NEWS README*"