# Depends on: glib xorg-libxdamage xorg-libxext xorg-libxft
name=conky
-version=1.7.2
+version=1.8.0
release=1
source=(http://dl.sourceforge.net/sourceforge/conky/$name-$version.tar.bz2)
export conky_LIBS="$X11_LIBS $Xext_LIBS $XDamage_LIBS $XFixes_LIBS $Xft_LIBS $glib2_LIBS $libcurl_LIBS $FREETYPE_LIBS"
export conky_CFLAGS="$X11_CFLAGS $Xext_CFLAGS $XDamage_CFLAGS $XFixes_CFLAGS $Xft_CFLAGS $glib2_CFLAGS $libcurl_CFLAGS $FREETYPE_CFLAGS"
+ echo "ac_cv_lib_Xdamage_XDamageQueryExtension=yes" > config.cache
+
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
--disable-lua \
--enable-xft \
--enable-portmon \
- --enable-mpd
+ --enable-mpd \
+ --cache-file=config.cache
make
make DESTDIR=$PKG install