# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit autotools eutils gnome2 subversion ESVN_REPO_URI="http://svn.berlios.de/svnroot/repos/cairo-dock/trunk/themes" ESVN_STORE_DIR="${PORTAGE_ACTUAL_DISTDIR-${DISTDIR}}/svn-src/" DESCRIPTION="Official plugins for cairo-dock" HOMEPAGE="http://developer.berlios.de/projects/cairo-dock/" SRC_URI="" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="debug doc glitz svg" RDEPEND="svg? ( gnome-base/librsvg ) glitz? ( >=media-libs/glitz-0.4 )" DEPEND="${RDEPEND} >=sys-devel/gettext-0.15 >=dev-util/intltool-0.35 >=dev-util/pkgconfig-0.19" pkg_setup() { G2CONF="${G2CONF} $(use_enable glitz) $(use_enable svg)" if use svg && ! built_with_use x11-libs/cairo svg ; then eerror "Please rebuild cairo with USE=\"svg\"" die "rebuild cairo with USE=\"svg\"" fi } src_unpack() { subversion_src_unpack eautoreconf || die "eautoreconf failed" glib-gettextize --copy --force || die "glib-gettextize failed" intltoolize --automake --copy --force || die "intloolize failed" } pkg_postinst() { gnome2_pkg_postinst ewarn "DO NOT report bugs to Gentoo's bugzilla" einfo "Please report all bugs to #gentoo-desktop-effects" einfo "Thank you on behalf of the Gentoo Desktop-Effects team" }