summaryrefslogtreecommitdiff
path: root/x11/gnome-panel/Makefile
blob: b035ba513a3802f51029f3a9882b8f8c14be3628 (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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# $NetBSD: Makefile,v 1.157 2013/05/24 18:23:33 wiz Exp $
#

DISTNAME=		gnome-panel-2.32.1
PKGREVISION=		26
CATEGORIES=		x11 gnome
MASTER_SITES=		${MASTER_SITE_GNOME:=sources/gnome-panel/2.32/}
EXTRACT_SUFX=		.tar.bz2

MAINTAINER=		drochner@NetBSD.org
HOMEPAGE=		http://www.gnome.org/
COMMENT=		GNOME2 panel application

# depends on policykit
#EGDIR=		${PREFIX}/share/examples/gnome-panel
#CONF_FILES+=	${PREFIX}/share/examples/gnome-panel/org.gnome.ClockApplet.Mechanism.conf \
#		${PKG_SYSCONFDIR}/dbus-1/system.d/org.gnome.ClockApplet.Mechanism.conf

GNU_CONFIGURE=		YES
USE_TOOLS+=		gmake intltool msgfmt perl:run pkg-config
USE_PKGLOCALEDIR=	YES
USE_LIBTOOL=		YES
PKGCONFIG_OVERRIDE+=	bonobo/libpanel-applet/libpanelapplet-2.0.pc.in
PKGCONFIG_OVERRIDE+=	libpanel-applet/libpanelapplet-3.0.pc.in
CONFIGURE_ENV+=		PYTHON=${PYTHONBIN}

# XXX this pkg installs a gio module to ${PREFIX}/lib/gnome-panel/modules
# but there are two problems with this:
# - this is not the standard module location, glib2/modules.mk
#   does not deal with this yet
# - even if called with the correct path, the resulting "giomodule.cache"
#   is empty, due to missing symbols in dynamic loading, see
#   https://bugzilla.gnome.org/show_bug.cgi?id=636255
# XXX so for now, just disable "giomodule.cache" creation to fix the
# PLIST problem reported in PR pkg/44181, until the issue is fixed
TOOLS_NOOP+=	gio-querymodules

GCONF_SCHEMAS=	clock.schemas
GCONF_SCHEMAS+=	fish.schemas
GCONF_SCHEMAS+=	panel-global.schemas
GCONF_SCHEMAS+=	panel-general.schemas
GCONF_SCHEMAS+=	panel-toplevel.schemas
GCONF_SCHEMAS+=	panel-object.schemas
GCONF_SCHEMAS+=	panel-compatibility.schemas
GCONF_SCHEMAS+=	workspace-switcher.schemas
GCONF_SCHEMAS+=	window-list.schemas
GCONF_ENTRIES=		panel-default-setup.entries

BUILDLINK_API_DEPENDS.gtk2+=		gtk2+>=2.15.1
BUILDLINK_API_DEPENDS.libgnome+=	libgnome>=2.13.0

PKG_OPTIONS_VAR=	PKG_OPTIONS.gnome-panel
PKG_SUPPORTED_OPTIONS=	evolution
PKG_SUGGESTED_OPTIONS=	evolution

.include "../../mk/bsd.options.mk"

.include "../../devel/GConf/schemas.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/libbonobo/buildlink3.mk"
.include "../../devel/libbonoboui/buildlink3.mk"
.include "../../devel/libgnome/buildlink3.mk"
.include "../../devel/libgnomeui/buildlink3.mk"
.include "../../devel/libwnck/buildlink3.mk"
BUILDLINK_API_DEPENDS.libgweather+=	libgweather>=2.24.1
.include "../../devel/libgweather/buildlink3.mk"
.include "../../devel/pango/buildlink3.mk"
.include "../../graphics/cairo/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../graphics/librsvg/buildlink3.mk"
.if !empty(PKG_OPTIONS:Mevolution)
.include "../../mail/evolution-data-server/buildlink3.mk"
.endif
.include "../../net/ORBit2/buildlink3.mk"
# pkgsrc policykit is too old
#.include "../../security/policykit/buildlink3.mk"
#.include "../../security/policykit-gnome/buildlink3.mk"
.include "../../sysutils/dbus-glib/buildlink3.mk"
BUILDLINK_API_DEPENDS.gnome-menus+= gnome-menus>=2.28.0
.include "../../sysutils/gnome-menus/buildlink3.mk"
.include "../../textproc/gnome-doc-utils/buildlink3.mk"
.include "../../mk/omf-scrollkeeper.mk"
.include "../../x11/gnome-desktop/buildlink3.mk"
.include "../../x11/py-gnome2/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
BUILDLINK_DEPMETHOD.libXt?=	build
.include "../../x11/libXt/buildlink3.mk"
.include "../../audio/libcanberra/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"