56 lines
1.2 KiB
Bash
56 lines
1.2 KiB
Bash
# Copyright 1999-2010 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
EAPI="3"
|
|
|
|
inherit cmake-utils eutils versionator
|
|
|
|
MY_PN="${PN/plugins/plug-ins}"
|
|
MM_PV=$(get_version_component_range '1-2')
|
|
|
|
DESCRIPTION="Official plugins for cairo-dock"
|
|
HOMEPAGE="http://www.glx-dock.org"
|
|
SRC_URI="http://launchpad.net/${MY_PN}/${MM_PV}/${PV}/+download/${PN}-${PV}.tar.gz"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE="alsa exif gmenu gtk3 kde terminal tomboy vala webkit xfce xgamma xklavier"
|
|
|
|
RDEPEND="
|
|
dev-libs/dbus-glib
|
|
dev-libs/glib:2
|
|
dev-libs/libxml2
|
|
gnome-base/librsvg:2
|
|
sys-apps/dbus
|
|
x11-libs/cairo
|
|
x11-libs/gtk+:2
|
|
x11-libs/gtkglext
|
|
~x11-misc/cairo-dock-${PV}
|
|
|
|
gtk3? ( x11-libs/gtk+:3 )
|
|
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}-${PV}"
|
|
|
|
src_prepare() {
|
|
epatch "${FILESDIR}/python_sandbox.patch"
|
|
}
|