blob: 9d5691fdbdc44841a297bcc289ddc78943f842f3 (
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
|
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit gnome2
if [[ ${PV} = 9999 ]]; then
VALA_MIN_API_VERSION="0.38"
VALA_USE_DEPEND="vapigen"
inherit gnome2-live vala
fi
DESCRIPTION="Disk usage browser for GNOME"
HOMEPAGE="https://wiki.gnome.org/Apps/Baobab"
LICENSE="GPL-2+ FDL-1.1+"
SLOT="0"
IUSE=""
if [[ ${PV} = 9999 ]]; then
KEYWORDS=""
else
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
fi
COMMON_DEPEND="
>=dev-libs/glib-2.40:2[dbus]
>=x11-libs/gtk+-3.19.1:3
"
RDEPEND="${COMMON_DEPEND}
gnome-base/gsettings-desktop-schemas
x11-themes/adwaita-icon-theme
!<gnome-extra/gnome-utils-3.4
"
# ${PN} was part of gnome-utils before 3.4
DEPEND="${COMMON_DEPEND}
app-text/yelp-tools
dev-libs/appstream-glib
dev-libs/libxml2:2
>=sys-devel/gettext-0.19.8
virtual/pkgconfig
"
if [[ ${PV} = 9999 ]]; then
DEPEND="${DEPEND}
$(vala_depend)"
fi
src_prepare() {
if [[ ${PV} = 9999 ]]; then
vala_src_prepare
fi
}
src_configure() {
local myconf=""
if [[ ${PV} != 9999 ]]; then
myconf="${myconf}
VALAC=$(type -P true)
VAPIGEN=$(type -P true)"
fi
gnome2_src_configure ${myconf}
}
|