summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-06-07 21:10:33 +0000
committerAchim Gottinger <achim@gentoo.org>2001-06-07 21:10:33 +0000
commit780b2bce00765185db9237aa25a67049d447a749 (patch)
tree9316f3238ca0569334290fbb86088ee9d30a7fa9 /kde-base/kdegraphics
parentFixed digest. (diff)
downloadgentoo-2-780b2bce00765185db9237aa25a67049d447a749.tar.gz
gentoo-2-780b2bce00765185db9237aa25a67049d447a749.tar.bz2
gentoo-2-780b2bce00765185db9237aa25a67049d447a749.zip
*** empty log message ***
Diffstat (limited to 'kde-base/kdegraphics')
-rw-r--r--kde-base/kdegraphics/kdegraphics-2.1.1.ebuild14
1 files changed, 10 insertions, 4 deletions
diff --git a/kde-base/kdegraphics/kdegraphics-2.1.1.ebuild b/kde-base/kdegraphics/kdegraphics-2.1.1.ebuild
index 060ce092d9ea..1ba6b92d3490 100644
--- a/kde-base/kdegraphics/kdegraphics-2.1.1.ebuild
+++ b/kde-base/kdegraphics/kdegraphics-2.1.1.ebuild
@@ -11,10 +11,11 @@ SRC_URI="ftp://ftp.kde.org/pub/$SRC_PATH
HOMEPAGE="http://www.kde.org"
-DEPEND=">=kde-base/kdelibs-${PV}
- >=app-text/tetex-1.0.7"
+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}"
+RDEPEND=">=kde-base/kdelibs-${PV} gphoto2? ( >=gnome-apps/gphoto-2.0_beta1 >=media-libs/libgpio-20010607 )"
src_compile() {
QTBASE=/usr/X11R6/lib/qt
@@ -23,10 +24,15 @@ src_compile() {
then
myconf="--enable-mt"
fi
- if [ "`use mitshm`" ]
+ 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=/opt/kde2.1 --host=${CHOST} \
--with-qt-dir=$QTBASE $myconf
try make