2006-02-23 15:26:10 +00:00
|
|
|
# Description: Graphics utilities for the KDE integrated X11 desktop
|
|
|
|
# URL: http://www.kde.org
|
|
|
|
# Maintainer: sten, nick dot steeves at shaw dot ca
|
|
|
|
# Packager:
|
|
|
|
# Depends on: kdebase, imagemagick, tetex, fribidi, sane, libgphoto2, freeglut, poppler
|
|
|
|
|
|
|
|
name=kdegraphics
|
2006-06-03 03:07:52 +00:00
|
|
|
version=3.5.3
|
|
|
|
release=1
|
|
|
|
source=(http://download.kde.org/stable/3.5.3/src/$name-$version.tar.bz2 \
|
2006-03-30 18:44:30 +00:00
|
|
|
svgdisplay.desktop)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
|
|
|
|
# Nvidia hack
|
|
|
|
NVIDIAINCLUDES=/usr/include/nvidia
|
|
|
|
if [ -d $NVIDIAINCLUDES ]; then
|
|
|
|
sed -i -e "s|^DEFS.*|DEFS = -I$NVIDIAINCLUDES @DEFS@|g" kpovmodeler/Makefile.in
|
|
|
|
fi
|
|
|
|
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--enable-multithreaded-kpdf \
|
|
|
|
--disable-dependency-tracking \
|
|
|
|
--disable-debug \
|
|
|
|
--enable-final
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
mkdir -p $PKG/usr/share/texmf/tex/kdvi
|
|
|
|
cp doc/kdvi/*.sty $PKG/usr/share/texmf/tex/kdvi
|
|
|
|
install -D ../svgdisplay.desktop \
|
|
|
|
$PKG/usr/share/applnk/.hidden/svgdisplay.desktop
|
|
|
|
}
|