# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit autotools eutils gnome2 subversion RESTRICT="mirror" DESCRIPTION="Official plugins for cairo-dock" HOMEPAGE="http://www.cairo-dock.org" SRC_URI="" ESVN_REPO_URI="http://svn.berlios.de/svnroot/repos/${PN/-plugins/}/trunk/plug-ins" ESVN_STORE_DIR="${PORTAGE_ACTUAL_DISTDIR-${DISTDIR}}/svn-src/" LICENSE="GPL-2" SLOT="0" KEYWORDS="" IUSE="alsa gnome xfce" DEPEND="" RDEPEND="~gnome-extra/cairo-dock-${PV} x11-libs/vte" src_unpack() { subversion_src_unpack cd "${S}" intltoolize --force --copy || die "intltoolize failed" eautoreconf -isvf || die "eautoreconf failed" } src_compile() { econf \ $(use_enable gnome gnome-integration) \ $(use_enable xfce xfce-integration) \ $(use_enable alsa alsa-mixer) \ --disable-old-gnome-integration \ --enable-terminal || die "econf failed" } src_install() { emake DESTDIR="${D}" install || die "emake 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" }