# ChangeLog for media-gfx/xv
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/xv/ChangeLog,v 1.6 2002/09/02 06:13:19 jmorgan Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/xv/ChangeLog,v 1.7 2002/10/13 16:37:52 doctomoe Exp $
*xv-3.10a-r2 (05 Jun 2002)
+ 13 Oct 2002; Olivier Reisch <doctomoe@gentoo.org> xv-3.10a-r2.ebuild:
+ Fixed the ebuild to apply patches correctly if we both have use ppc and use png
+
02 Sep 2002; Jack Morgan <jmorgan@gentoo.org> xv-3.10a-r2.ebuild
Added sparc/sparc64 keywords :
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/xv/xv-3.10a-r2.ebuild,v 1.8 2002/10/05 05:39:15 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/xv/xv-3.10a-r2.ebuild,v 1.9 2002/10/13 16:37:52 doctomoe Exp $
IUSE="png"
S=${WORKDIR}/${P}
-DESCRIPTION="An interactive image manipulation program for X which can
-deal with a wide variety of image formats"
+DESCRIPTION="An interactive image manipulation program for X which can deal with a wide variety of image formats"
SRC_URI="ftp://ftp.cis.upenn.edu/pub/xv/${P}.tar.gz
png? http://www.ibiblio.org/gentoo/distfiles/xv-png-patch.tar.bz2"
HOMEPAGE="http://www.trilon.com/xv/index.html"
cd ${S}
patch -p1 < ${WORKDIR}/${P}-naz-gentoo.patch || die
)
- if [ ${ARCH} = "ppc" ]
+
+ if [ `use ppc` ] && [ -z `use png` ]
then
- cd ${S}
- patch -p1 < ${FILESDIR}/xv-${PV}-ppc.patch || die
+ cd ${S}
+ patch -p1 < ${FILESDIR}/xv-${PV}-ppc.patch || die
fi
}