blob: f05db4ac4da0100d283f3acae46a45f935032123 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="4"
inherit cmake-utils cairo-dock
DESCRIPTION="Official unstable plugins for cairo-dock"
HOMEPAGE="http://www.glx-dock.org"
LICENSE="|| ( LGPL-2 LGPL-2.1 LGPL-3 ) GPL-2 GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
CD_PLUGIN_IUSE="disks doncky network-monitor scoobydo" #kde
IUSE="${CD_PLUGIN_IUSE} gtk2"
REQUIRED_USE="|| ( ${CD_PLUGIN_IUSE} )"
CDP_DEPEND="dev-libs/dbus-glib
>=dev-libs/glib-2.22:2
dev-libs/libxml2:2
gnome-base/librsvg:2
sys-apps/dbus
x11-libs/cairo
~x11-misc/cairo-dock-${PV}[gtk2=]
!x11-misc/cairo-dock-plugins
!x11-plugins/cairo-dock-plugins
!gtk2? ( x11-libs/gtk+:3 )
gtk2? ( x11-libs/gtk+:2 )"
RDEPEND="${CDP_DEPEND}"
# kde? (
# kde-base/kdelibs
# x11-libs/qt-core
# )
DEPEND="${RDEPEND}
dev-util/intltool
sys-devel/gettext
dev-util/pkgconfig"
pkg_setup() {
use disks && CD_PLUGINS+=( "Disks" )
use doncky && CD_PLUGINS+=( "Doncky" )
# use kde && CD_PLUGINS+=( "kde-integration" ) #"gvfs-integration" )
use network-monitor && CD_PLUGINS+=( "Network-Monitor" )
use scoobydo && CD_PLUGINS+=( "Scooby-Do" )
}
src_unpack() {
cairo-dock_src_unpack
}
src_prepare() {
cairo-dock_src_prepare
}
src_configure() {
# "$(cmake-utils_use_enable kde NEWKDE-INTEGRATION)"
mycmakeargs+=(
"$(cmake-utils_use_enable disks DISKS-PLUGIN)"
"$(cmake-utils_use_enable doncky DONCKY-PLUGIN)"
"$(cmake-utils_use_enable network-monitor NETWORK-MONITOR-PLUGIN)"
"$(cmake-utils_use_enable scoobydo SCOOBY-DO-PLUGIN)"
)
cmake-utils_src_configure
}
src_compile() {
cmake-utils_src_compile
}
src_install() {
cmake-utils_src_install
}
|