# ChangeLog for net-www/khttrack
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/khttrack/ChangeLog,v 1.7 2004/09/03 23:24:08 pvdabeel Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/khttrack/ChangeLog,v 1.8 2004/12/26 10:52:35 motaboy Exp $
+
+ 26 Dec 2004; Simone Gotti <motaboy@gentoo.org>
+ +files/khttrack-0.10-configure-arts.patch, khttrack-0.10.ebuild:
+ Added a patch to the configure script to honor the arts USE flag. Fixes bug
+ #75592.
04 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org>
khttrack-0.10.ebuild:
--- /dev/null
+--- configure 2003-06-08 18:25:45.000000000 +0000
++++ configure.orig 2004-12-26 11:39:44.433634864 +0000
+@@ -8399,126 +8399,6 @@
+ fi
+
+
+- echo $ac_n "checking for mcopidl""... $ac_c" 1>&6
+-echo "configure:8404: checking for mcopidl" >&5
+- if test -n "$MCOPIDL"; then
+- kde_cv_path="$MCOPIDL";
+- else
+- kde_cache=`echo mcopidl | sed 'y%./+-%__p_%'`
+-
+- if eval "test \"`echo '$''{'kde_cv_path_$kde_cache'+set}'`\" = set"; then
+- echo $ac_n "(cached) $ac_c" 1>&6
+-else
+-
+- kde_cv_path="NONE"
+- dirs="$kde_default_bindirs"
+- kde_save_IFS=$IFS
+- IFS=':'
+- for dir in $PATH; do
+- dirs="$dirs $dir"
+- done
+- IFS=$kde_save_IFS
+-
+- for dir in $dirs; do
+- if test -x "$dir/mcopidl"; then
+- if test -n ""
+- then
+- evalstr="$dir/mcopidl 2>&1 "
+- if eval $evalstr; then
+- kde_cv_path="$dir/mcopidl"
+- break
+- fi
+- else
+- kde_cv_path="$dir/mcopidl"
+- break
+- fi
+- fi
+- done
+-
+- eval "kde_cv_path_$kde_cache=$kde_cv_path"
+-
+-
+-fi
+-
+-
+- eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
+-
+- fi
+-
+- if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
+- echo "$ac_t""not found" 1>&6
+-
+- { echo "configure: error: The important program mcopidl was not found!
+-Please check whether you installed KDE correctly.
+-" 1>&2; exit 1; }
+-
+- else
+- echo "$ac_t""$kde_cv_path" 1>&6
+- MCOPIDL=$kde_cv_path
+-
+- fi
+-
+-
+- echo $ac_n "checking for artsc-config""... $ac_c" 1>&6
+-echo "configure:8464: checking for artsc-config" >&5
+- if test -n "$ARTSCCONFIG"; then
+- kde_cv_path="$ARTSCCONFIG";
+- else
+- kde_cache=`echo artsc-config | sed 'y%./+-%__p_%'`
+-
+- if eval "test \"`echo '$''{'kde_cv_path_$kde_cache'+set}'`\" = set"; then
+- echo $ac_n "(cached) $ac_c" 1>&6
+-else
+-
+- kde_cv_path="NONE"
+- dirs="$kde_default_bindirs"
+- kde_save_IFS=$IFS
+- IFS=':'
+- for dir in $PATH; do
+- dirs="$dirs $dir"
+- done
+- IFS=$kde_save_IFS
+-
+- for dir in $dirs; do
+- if test -x "$dir/artsc-config"; then
+- if test -n ""
+- then
+- evalstr="$dir/artsc-config 2>&1 "
+- if eval $evalstr; then
+- kde_cv_path="$dir/artsc-config"
+- break
+- fi
+- else
+- kde_cv_path="$dir/artsc-config"
+- break
+- fi
+- fi
+- done
+-
+- eval "kde_cv_path_$kde_cache=$kde_cv_path"
+-
+-
+-fi
+-
+-
+- eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""
+-
+- fi
+-
+- if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then
+- echo "$ac_t""not found" 1>&6
+-
+- { echo "configure: error: The important program artsc-config was not found!
+-Please check whether you installed KDE correctly.
+-" 1>&2; exit 1; }
+-
+- else
+- echo "$ac_t""$kde_cv_path" 1>&6
+- ARTSCCONFIG=$kde_cv_path
+-
+- fi
+-
+-
+ echo $ac_n "checking for kde-config""... $ac_c" 1>&6
+ echo "configure:8524: checking for kde-config" >&5
+ if test -n "$KDECONFIG"; then
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/khttrack/khttrack-0.10.ebuild,v 1.10 2004/09/03 23:24:08 pvdabeel Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/khttrack/khttrack-0.10.ebuild,v 1.11 2004/12/26 10:52:35 motaboy Exp $
-inherit kde
+inherit kde eutils
DESCRIPTION="KDE 3.x frontend for httrack"
SRC_URI="http://savannah.nongnu.org/download/khttrack/stable.pkg/${PV}/${P}.tar.bz2"
DEPEND="net-www/httrack"
RDEPEND="net-www/httrack"
need-kde 3
+
+src_unpack() {
+ kde_src_unpack
+
+ use arts || epatch ${FILESDIR}/khttrack-0.10-configure-arts.patch
+}