summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-07-22 16:31:04 +0000
committerAchim Gottinger <achim@gentoo.org>2001-07-22 16:31:04 +0000
commit62acd173e5e724fa55908abb2b5183a2b4d712e5 (patch)
treeadac9db8e6f58e6a022ce1f71cbdae7aad4972da /kde-base/kdegraphics
parentUpdate to latest version (1.7) and removed older version. (diff)
downloadgentoo-2-62acd173e5e724fa55908abb2b5183a2b4d712e5.tar.gz
gentoo-2-62acd173e5e724fa55908abb2b5183a2b4d712e5.tar.bz2
gentoo-2-62acd173e5e724fa55908abb2b5183a2b4d712e5.zip
First 2.2 beta, now gphoto2 support works :)
Diffstat (limited to 'kde-base/kdegraphics')
-rw-r--r--kde-base/kdegraphics/files/digest-kdegraphics-2.2_beta11
-rw-r--r--kde-base/kdegraphics/files/kdegraphics-2.2_beta1-gentoo.diff11
-rw-r--r--kde-base/kdegraphics/kdegraphics-2.2_beta1.ebuild55
3 files changed, 67 insertions, 0 deletions
diff --git a/kde-base/kdegraphics/files/digest-kdegraphics-2.2_beta1 b/kde-base/kdegraphics/files/digest-kdegraphics-2.2_beta1
new file mode 100644
index 000000000000..9d62015cbd79
--- /dev/null
+++ b/kde-base/kdegraphics/files/digest-kdegraphics-2.2_beta1
@@ -0,0 +1 @@
+MD5 4573312ca570b54d36ae6c29bfd57ea8 kdegraphics-2.2beta1.tar.bz2
diff --git a/kde-base/kdegraphics/files/kdegraphics-2.2_beta1-gentoo.diff b/kde-base/kdegraphics/files/kdegraphics-2.2_beta1-gentoo.diff
new file mode 100644
index 000000000000..b29ef814b70a
--- /dev/null
+++ b/kde-base/kdegraphics/files/kdegraphics-2.2_beta1-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_beta1.ebuild b/kde-base/kdegraphics/kdegraphics-2.2_beta1.ebuild
new file mode 100644
index 000000000000..a9b5a0e96c55
--- /dev/null
+++ b/kde-base/kdegraphics/kdegraphics-2.2_beta1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Philippe Namias <pnamias@gentoo.org>
+
+V=2.2beta1
+A=${PN}-${V}.tar.bz2
+S=${WORKDIR}/${PN}-${V}
+DESCRIPTION="KDE ${V} - Graphics"
+SRC_PATH="kde/unstable/${V}/src/${A}"
+SRC_URI="ftp://ftp.kde.org/pub/$SRC_PATH
+ ftp://ftp.sourceforge.net/pub/mirrors/$SRC_PATH"
+
+HOMEPAGE="http://www.kde.org"
+
+DEPEND=">=kde-base/kdelibs-${PV} sys-devel/perl
+ tex? ( >=app-text/tetex-1.0.7 )
+ gphoto2? ( >=gnome-apps/gphoto-2.0_beta1 >=media-libs/libgpio-20010607 )"
+
+RDEPEND=">=kde-base/kdelibs-${PV} gphoto2? ( >=gnome-apps/gphoto-2.0_beta1 >=media-libs/libgpio-20010607 )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ patch -p0 < ${FILESDIR}/${PF}-gentoo.diff
+}
+
+src_compile() {
+ QTBASE=/usr/X11R6/lib/qt
+ local myconf
+ if [ "`use qtmt`" ]
+ then
+ myconf="--enable-mt"
+ fi
+ if [ "`use mitshm`" ]
+ then
+ myconf="$myconf --enable-mitshm"
+ fi
+ if [ "`use gphoto2`" ] ; then
+ myconf="$myconf --with-gphoto2-includes=/usr/include/gphoto2 --with-gphoto2-libraries=/usr/lib/gphoto2"
+ else
+ myconf="$myconf --without-kamera"
+ fi
+ try ./configure --prefix=${KDEDIR} --host=${CHOST} \
+ --with-qt-dir=$QTBASE $myconf --with-xinerama
+ try make
+}
+
+src_install() {
+ try make install DESTDIR=${D}
+ dodoc AUTHORS COPYING README ChangeLog
+}
+
+
+
+