diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-11-03 11:54:03 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-11-03 11:54:03 +0000 |
commit | b864b778acc8e0fd786c31535784d81421d73724 (patch) | |
tree | b711f7e14c2d0387d968e4c635e161406e57a3bc /kde-base | |
parent | qt3.ebuild backports: added explicit $CFLAGS/CXXFLAGS support; now cmpiles an... (diff) | |
download | historical-b864b778acc8e0fd786c31535784d81421d73724.tar.gz historical-b864b778acc8e0fd786c31535784d81421d73724.tar.bz2 historical-b864b778acc8e0fd786c31535784d81421d73724.zip |
I added the patch back because he's required for kamera to build.
It only works with gphoto2_beta1 atm so I fixed the dep. Additionally I
added sane-backends to the deps to build kooka
Diffstat (limited to 'kde-base')
-rw-r--r-- | kde-base/kdegraphics/files/digest-kdegraphics-2.2.1-r2 | 1 | ||||
-rw-r--r-- | kde-base/kdegraphics/files/kdegraphics-2.2.1-r2-gentoo.diff | 11 | ||||
-rw-r--r-- | kde-base/kdegraphics/kdegraphics-2.2.1-r2.ebuild | 34 |
3 files changed, 46 insertions, 0 deletions
diff --git a/kde-base/kdegraphics/files/digest-kdegraphics-2.2.1-r2 b/kde-base/kdegraphics/files/digest-kdegraphics-2.2.1-r2 new file mode 100644 index 000000000000..0ad77978d544 --- /dev/null +++ b/kde-base/kdegraphics/files/digest-kdegraphics-2.2.1-r2 @@ -0,0 +1 @@ +MD5 a2d0b9242f20264167f8b96a8ba3a5c7 kdegraphics-2.2.1.tar.bz2 1634304 diff --git a/kde-base/kdegraphics/files/kdegraphics-2.2.1-r2-gentoo.diff b/kde-base/kdegraphics/files/kdegraphics-2.2.1-r2-gentoo.diff new file mode 100644 index 000000000000..b29ef814b70a --- /dev/null +++ b/kde-base/kdegraphics/files/kdegraphics-2.2.1-r2-gentoo.diff @@ -0,0 +1,11 @@ +--- kamera/kcontrol/kamera.cpp~ Sun Jul 22 17:26:01 2001 ++++ kamera/kcontrol/kamera.cpp Sun Jul 22 17:26:13 2001 +@@ -368,7 +368,7 @@ + { + CameraAbilities abilities; + +- char *name = item->text(0).latin1(); ++ char *name = (char *) item->text(0).latin1(); + + // retrieve camera abilities structure + if(gp_camera_abilities_by_name(name, &abilities) == GP_OK) { diff --git a/kde-base/kdegraphics/kdegraphics-2.2.1-r2.ebuild b/kde-base/kdegraphics/kdegraphics-2.2.1-r2.ebuild new file mode 100644 index 000000000000..2bb09e29b2cc --- /dev/null +++ b/kde-base/kdegraphics/kdegraphics-2.2.1-r2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Dan Armak <danarmak@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdegraphics/kdegraphics-2.2.1-r2.ebuild,v 1.1 2001/11/03 11:54:03 achim Exp $ +. /usr/portage/eclass/inherit.eclass || die +inherit kde-dist || die + +DESCRIPTION="${DESCRIPTION}Graphics" + +DEPEND="$DEPEND sys-devel/perl + media-gfx/sane-backends + tex? ( >=app-text/tetex-1.0.7 ) + gphoto2? ( =media-gfx/gphoto-2.0_beta1 >=media-libs/libgpio-20010607 )" + +RDEPEND="$RDEPEND gphoto2? ( >=media-gfx/gphoto-2.0_beta1 >=media-libs/libgpio-20010607 )" + +src_unpack() { + + base_src_unpack all patch + cd ${S} + +} + +src_compile() { + + kde_src_compile myconf + + use gphoto2 && myconf="$myconf --with-gphoto2-includes=/usr/include/gphoto2 --with-gphoto2-libraries=/usr/lib/gphoto2" || myconf="$myconf --without-kamera" + use tex && myconf="$myconf --with-system-kpathsea --with-tex-datadir=/usr/share" + kde_src_compile configure make + +} + + |