From b742152618f9ce66defd8ccfd97f798839e4d29d Mon Sep 17 00:00:00 2001 From: Samuli Suominen Date: Tue, 9 Mar 2010 22:05:35 +0000 Subject: Fix building with libpng14 wrt #308741 by Locke Shinseiko. (Portage version: 2.2_rc66/cvs/Linux x86_64) --- games-board/gtkatlantic/gtkatlantic-0.4.2.ebuild | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'games-board/gtkatlantic/gtkatlantic-0.4.2.ebuild') 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 -- cgit v1.2.3-65-gdbad