# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
WANT_AUTOCONF=latest
WANT_AUTOMAKE=latest
inherit gnome2 bzr autotools eutils
DESCRIPTION="Cairo-dock is a kind of dock applet, which doesn't depend on any gnome package."
HOMEPAGE="http://developer.berlios.de/projects/cairo-dock/"
SRC_URI="http://download2.berlios.de/cairo-dock/cairo-dock-sources-${PV}.tar.bz2"
LICENSE="GPL"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="glitz svg"
DEPEND="sys-apps/dbus
dev-libs/dbus-glib
x11-libs/libXxf86vm
dev-util/gtk-doc
svg? ( gnome-base/librsvg )
glitz? ( >=media-libs/glitz-0.4 )"
S="${WORKDIR}/opt/cairo-dock/trunk/cairo-dock"
src_unpack() {
unpack cairo-dock-sources-${PV}.tar.bz2
cd "${S}"
eautoreconf || die "eautoreconf failed"
intltoolize --copy --force || die "intltoolize failed"
}
src_compile() {
local myconf
econf ${myconf} \
$(use_enable gconf) \
|| die "econf failed"
emake || die "emake failed"
}
pkg_postinst() {
gnome2_pkg_postinst
ewarn "DO NOT report bugs to Gentoo's bugzilla"
elog "Please report all bugs to #gentoo-desktop-effects and if"
elog "they are upstream bugs to https://bugs.launchpad.net/awn/"
}