summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-03-09 22:05:35 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-03-09 22:05:35 +0000
commitb742152618f9ce66defd8ccfd97f798839e4d29d (patch)
tree3ee9e34a6f0c4d1ca5e3d917ac7d56cea43a60f3 /games-board/gtkatlantic/gtkatlantic-0.4.2.ebuild
parentMarked ppc stable for bug #303727. (diff)
downloadgentoo-2-b742152618f9ce66defd8ccfd97f798839e4d29d.tar.gz
gentoo-2-b742152618f9ce66defd8ccfd97f798839e4d29d.tar.bz2
gentoo-2-b742152618f9ce66defd8ccfd97f798839e4d29d.zip
Fix building with libpng14 wrt #308741 by Locke Shinseiko.
(Portage version: 2.2_rc66/cvs/Linux x86_64)
Diffstat (limited to 'games-board/gtkatlantic/gtkatlantic-0.4.2.ebuild')
-rw-r--r--games-board/gtkatlantic/gtkatlantic-0.4.2.ebuild13
1 files changed, 9 insertions, 4 deletions
diff --git a/games-board/gtkatlantic/gtkatlantic-0.4.2.ebuild b/games-board/gtkatlantic/gtkatlantic-0.4.2.ebuild
index bb48a65324fd..2185133b2c08 100644
--- a/games-board/gtkatlantic/gtkatlantic-0.4.2.ebuild
+++ b/games-board/gtkatlantic/gtkatlantic-0.4.2.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/gtkatlantic/gtkatlantic-0.4.2.ebuild,v 1.3 2008/01/24 07:57:28 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/gtkatlantic/gtkatlantic-0.4.2.ebuild,v 1.4 2010/03/09 22:05:34 ssuominen Exp $
-inherit games
+EAPI=2
+inherit eutils games
DESCRIPTION="Monopoly-like game that works with the monopd server"
HOMEPAGE="http://gtkatlantic.gradator.net/"
@@ -13,12 +14,16 @@ SLOT="0"
KEYWORDS="~amd64 ppc x86"
IUSE=""
-RDEPEND="=x11-libs/gtk+-2*
+RDEPEND="x11-libs/gtk+:2
dev-libs/libxml2
media-libs/libpng"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-libpng14.patch
+}
+
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS ChangeLog NEWS README