summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-10-05 10:30:07 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-10-05 10:30:07 +0000
commit35f7bad021bba6418e86ce878bc63e0356f463f9 (patch)
tree0b4c70be8916611a6aef875902bfde7906d3822b /x11-misc/xsri
parentUse slot dep for gtk (diff)
downloadgentoo-2-35f7bad021bba6418e86ce878bc63e0356f463f9.tar.gz
gentoo-2-35f7bad021bba6418e86ce878bc63e0356f463f9.tar.bz2
gentoo-2-35f7bad021bba6418e86ce878bc63e0356f463f9.zip
Fix build, see ChangeLog for details
(Portage version: 2.2_rc88/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc/xsri')
-rw-r--r--x11-misc/xsri/ChangeLog8
-rw-r--r--x11-misc/xsri/xsri-2.1.0-r1.ebuild16
2 files changed, 17 insertions, 7 deletions
diff --git a/x11-misc/xsri/ChangeLog b/x11-misc/xsri/ChangeLog
index e42c52e57c7c..7a3e53f77ac3 100644
--- a/x11-misc/xsri/ChangeLog
+++ b/x11-misc/xsri/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-misc/xsri
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xsri/ChangeLog,v 1.10 2008/05/06 13:41:08 drac Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xsri/ChangeLog,v 1.11 2010/10/05 10:30:07 ssuominen Exp $
+
+ 05 Oct 2010; Samuli Suominen <ssuominen@gentoo.org> xsri-2.1.0-r1.ebuild:
+ Don't build with -DG.*_DISABLE_DEPRECATED flags wrt #339582 by Diego E.
+ Pettenò.
06 May 2008; Samuli Suominen <drac@gentoo.org> xsri-2.1.0.ebuild,
xsri-2.1.0-r1.ebuild:
diff --git a/x11-misc/xsri/xsri-2.1.0-r1.ebuild b/x11-misc/xsri/xsri-2.1.0-r1.ebuild
index 02beaaf0eda8..508f35b0cf17 100644
--- a/x11-misc/xsri/xsri-2.1.0-r1.ebuild
+++ b/x11-misc/xsri/xsri-2.1.0-r1.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xsri/xsri-2.1.0-r1.ebuild,v 1.7 2010/07/22 11:29:44 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xsri/xsri-2.1.0-r1.ebuild,v 1.8 2010/10/05 10:30:07 ssuominen Exp $
-inherit base rpm
+EAPI=2
+inherit autotools rpm
DESCRIPTION="The xsri wallpaper setter from RedHat"
HOMEPAGE="http://fedora.redhat.com/"
@@ -13,11 +14,16 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
IUSE=""
-RDEPEND="=x11-libs/gtk+-2*"
+RDEPEND="x11-libs/gtk+:2"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
+src_prepare() {
+ sed -i -e '/-DG.*_DISABLE_DEPRECATED/d' Makefile.am || die
+ eautoreconf
+}
+
src_install() {
- base_src_install "$@"
- dodoc AUTHORS README NEWS
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS README
}