blob: 93458af4f14ce4492e9ab688ec2c65681cadf4ea (
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
|
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools
DESCRIPTION="Library to use KDE's StatusNotifierItem via GObject"
HOMEPAGE="https://github.com/jjk-jacky/statusnotifier"
SRC_URI="https://github.com/jjk-jacky/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="dbus examples introspection"
BDEPEND="dev-util/gtk-doc"
DEPEND="
dev-libs/glib:2
x11-libs/gdk-pixbuf:2
x11-libs/cairo
dbus? (
dev-libs/libdbusmenu[gtk3]
x11-libs/gtk+:3
)
examples? ( x11-libs/gtk+:3 )
introspection? ( dev-libs/gobject-introspection )
"
RDEPEND="${DEPEND}"
src_prepare() {
eautoreconf
default
}
src_configure() {
local myeconfargs=(
--disable-static
$(use_enable dbus dbusmenu)
$(use_enable introspection)
$(use_enable examples example)
)
econf "${myeconfargs[@]}"
}
src_install() {
default
find "${D}" -name '*.la' -delete || die
}
|