diff options
author | Caleb Tennis <caleb@gentoo.org> | 2004-12-27 15:23:12 +0000 |
---|---|---|
committer | Caleb Tennis <caleb@gentoo.org> | 2004-12-27 15:23:12 +0000 |
commit | 00628e1935ed8aff653d66c264d22ab23585c04e (patch) | |
tree | 76e71267708be82112827bf4e03e8b0861880e47 /kde-base/kdegraphics/kdegraphics-3.2.3-r3.ebuild | |
parent | Initial commit for hibernate (Manifest recommit) (diff) | |
download | gentoo-2-00628e1935ed8aff653d66c264d22ab23585c04e.tar.gz gentoo-2-00628e1935ed8aff653d66c264d22ab23585c04e.tar.bz2 gentoo-2-00628e1935ed8aff653d66c264d22ab23585c04e.zip |
Adding patches for security bug #75204
Diffstat (limited to 'kde-base/kdegraphics/kdegraphics-3.2.3-r3.ebuild')
-rw-r--r-- | kde-base/kdegraphics/kdegraphics-3.2.3-r3.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/kde-base/kdegraphics/kdegraphics-3.2.3-r3.ebuild b/kde-base/kdegraphics/kdegraphics-3.2.3-r3.ebuild new file mode 100644 index 000000000000..cb2b22922240 --- /dev/null +++ b/kde-base/kdegraphics/kdegraphics-3.2.3-r3.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdegraphics/kdegraphics-3.2.3-r3.ebuild,v 1.1 2004/12/27 15:23:12 caleb Exp $ + +inherit kde-dist eutils + +DESCRIPTION="KDE graphics-related apps" + +KEYWORDS="x86 ppc ~sparc ~alpha hppa ~amd64 ia64" +IUSE="gphoto2 tetex scanner opengl" + +DEPEND="~kde-base/kdebase-${PV} + gphoto2? ( media-gfx/gphoto2 ) + scanner? ( media-gfx/sane-backends ) + tetex? ( virtual/tetex ) + dev-libs/fribidi + opengl? ( virtual/glut virtual/opengl ) + media-libs/imlib + virtual/ghostscript + media-libs/tiff + x86? ( scanner? sys-libs/libieee1284 )" +RDEPEND="${DEPEND} + app-text/xpdf" + +src_unpack() { + kde_src_unpack + epatch ${FILESDIR}/${P}-gcc34-compile.patch + epatch ${FILESDIR}/post-3.2.3-kdegraphics_2.diff + epatch ${FILESDIR}/post-3.2.3-kdegraphics-2.diff +} + +src_compile() { + + use gphoto2 \ + && myconf="$myconf --with-kamera \ + --with-gphoto2-includes=/usr/include/gphoto2 \ + --with-gphoto2-libraries=/usr/lib/gphoto2" \ + || myconf="$myconf --without-kamera" + + use tetex && myconf="$myconf --with-system-kpathsea --with-tex-datadir=/usr/share" + + use scanner || DO_NOT_COMPILE="$DO_NOT_COMPILE kooka libkscan" + + myconf="$myconf --with-imlib --with-imlib-config=/usr/bin" + kde_src_compile +} |