2011-10-17 02:53:08 +00:00
|
|
|
# Copyright 1999-2010 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
|
|
|
EAPI="2"
|
|
|
|
|
|
|
|
inherit cmake-utils eutils versionator
|
|
|
|
|
|
|
|
MY_PN="${PN/plugins/plug-ins}"
|
|
|
|
MY_PV=$(replace_version_separator 3 '~')
|
|
|
|
MM_PV=$(get_version_component_range '1-2')
|
|
|
|
MMD_PV=$(get_version_component_range '1-3')
|
|
|
|
|
|
|
|
DESCRIPTION="Official plugins for cairo-dock"
|
|
|
|
HOMEPAGE="https://launchpad.net/cairo-dock-plug-ins/"
|
|
|
|
SRC_URI="http://launchpad.net/${MY_PN}/${MM_PV}/${MMD_PV}/+download/${PN}-${MY_PV}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="GPL-3"
|
|
|
|
SLOT="0"
|
2012-04-20 18:22:06 +00:00
|
|
|
KEYWORDS="~amd64 ~x86"
|
2011-10-17 02:53:08 +00:00
|
|
|
IUSE="alsa exif gio gmenu kde terminal tomboy vala webkit xfce xgamma xklavier"
|
|
|
|
|
|
|
|
RDEPEND="
|
|
|
|
dev-libs/dbus-glib
|
|
|
|
dev-libs/glib:2
|
|
|
|
dev-libs/libxml2
|
|
|
|
gnome-base/librsvg
|
|
|
|
sys-apps/dbus
|
|
|
|
x11-libs/cairo
|
|
|
|
x11-libs/gtk+:2
|
|
|
|
x11-libs/gtkglext
|
|
|
|
~x11-misc/cairo-dock-${PV}
|
|
|
|
|
|
|
|
alsa? ( media-libs/alsa-lib )
|
|
|
|
exif? ( media-libs/libexif )
|
|
|
|
gmenu? ( gnome-base/gnome-menus )
|
|
|
|
kde? ( kde-base/kdelibs )
|
|
|
|
terminal? ( x11-libs/vte )
|
|
|
|
vala? ( dev-lang/vala:0.12 )
|
|
|
|
webkit? ( >=net-libs/webkit-gtk-1.0 )
|
|
|
|
xfce? ( xfce-base/thunar )
|
|
|
|
xgamma? ( x11-libs/libXxf86vm )
|
|
|
|
xklavier? ( x11-libs/libxklavier )
|
|
|
|
"
|
|
|
|
|
|
|
|
DEPEND="${RDEPEND}
|
|
|
|
dev-util/intltool
|
|
|
|
sys-devel/gettext
|
|
|
|
dev-util/pkgconfig
|
|
|
|
"
|
|
|
|
|
|
|
|
S="${WORKDIR}/${PN}-${MY_PV}"
|
|
|
|
|
2012-01-28 02:38:31 +00:00
|
|
|
src_prepare() {
|
|
|
|
epatch "${FILESDIR}/python_sandbox.patch" || die
|
|
|
|
}
|
|
|
|
|
2011-10-17 02:53:08 +00:00
|
|
|
pkg_setup() {
|
|
|
|
if use gio; then
|
|
|
|
if ! use gmenu; then
|
|
|
|
ewarn "gio requires gmenu, implicitly added"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
# MAKE_IN_SOURCE_BUILD=true
|