# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
MY_PN="${PN/cairo-dock-plugins-}"
inherit autotools eutils gnome2 subversion
ESVN_REPO_URI="http://svn.berlios.de/svnroot/repos/cairo-dock/trunk/plug-ins/${MY_PN}"
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="xfce"
RDEPEND=""
DEPEND="${RDEPEND}
>=sys-devel/gettext-0.15
>=dev-util/intltool-0.35
>=dev-util/pkgconfig-0.19"
src_unpack() {
subversion_src_unpack
eautoreconf || die "eautoreconf failed"
glib-gettextize --copy --force || die "glib-gettextize failed"
intltoolize --automake --copy --force || die "intloolize failed"
}
src_compile() {
filter-ldflags -znow -z,now
filter-ldflags -Wl,-znow -Wl,-z,now
econf || die "econf failed"
make || 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"
}