blob: 623c7ecfadaa995c97b36b949f3a58f37a10dcaa (
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
|
# $NetBSD: Makefile,v 1.30 2022/11/23 16:19:50 adam Exp $
DISTNAME= libappindicator-12.10.0
PKGREVISION= 13
CATEGORIES= devel
MASTER_SITES= https://launchpad.net/libappindicator/12.10/12.10.0/+download/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://launchpad.net/libappindicator/
COMMENT= Allow applications to export a menu into the panel
LICENSE= gnu-lgpl-v3 AND gnu-lgpl-v2.1
CONFLICTS+= libappindicator3-[0-9]*
SUPERSEDES+= libappindicator3-[0-9]*
EXTRACT_USING= gtar
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= gmake pkg-config
PKGCONFIG_OVERRIDE+= bindings/mono/appindicator-sharp-0.1.pc.in
PKGCONFIG_OVERRIDE+= src/appindicator3-0.1.pc.in
PKGCONFIG_OVERRIDE+= src/appindicator-0.1.pc.in
BUILDLINK_TRANSFORM+= rm:-Werror
CONFIGURE_ARGS+= --with-gtk=3
PYTHON_VERSIONS_ACCEPTED= 27 # py-gtk2
# When building with GTK3 support, the Python bindings are not ever generated.
# However, the configure script still refuses to work if a Python 2
# interpreter is not available... This might be fixed in version control
# snapshots beyond 12.10.0.
PYTHON_FOR_BUILD_ONLY= yes
.include "../../devel/libindicator/buildlink3.mk"
.include "../../devel/libdbusmenu-gtk3/buildlink3.mk"
.include "../../sysutils/dbus-glib/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../x11/gtk3/buildlink3.mk"
BUILDLINK_DEPMETHOD.pygtk2= build
.include "../../x11/py-gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|