63 lines
1.4 KiB
Bash
63 lines
1.4 KiB
Bash
# 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"
|
|
KEYWORDS="~amd64"
|
|
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}"
|
|
|
|
pkg_setup() {
|
|
if use gio; then
|
|
if ! use gmenu; then
|
|
ewarn "gio requires gmenu, implicitly added"
|
|
fi
|
|
fi
|
|
}
|
|
|
|
# MAKE_IN_SOURCE_BUILD=true
|