summaryrefslogtreecommitdiff
path: root/misc/orca/Makefile
blob: a37aca79892dbc3e9cab205752b70c4316ec3d08 (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
# $NetBSD: Makefile,v 1.45 2019/09/02 13:19:44 adam Exp $

DISTNAME=	orca-2.32.1
PKGREVISION=	2
CATEGORIES=	misc
MASTER_SITES=	${MASTER_SITE_GNOME:=sources/orca/2.32/}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://live.gnome.org/Orca
COMMENT=	Screen reader
LICENSE=	gnu-lgpl-v2

# dependency versions are for Gnome 2.32.
DEPENDS+=	${PYPKGPREFIX}-at-spi>=1.32:../../devel/py-at-spi
DEPENDS+=	${PYPKGPREFIX}-gobject>=2.26:../../devel/py-gobject
DEPENDS+=	${PYPKGPREFIX}-xdg-[0-9]*:../../devel/py-xdg
DEPENDS+=	${PYPKGPREFIX}-ORBit>=2.24:../../net/py-ORBit
DEPENDS+=	${PYPKGPREFIX}-dbus-[0-9]*:../../sysutils/py-dbus
DEPENDS+=	${PYPKGPREFIX}-gnome2>=2.28:../../x11/py-gnome2
DEPENDS+=	${PYPKGPREFIX}-gtk2>=2.22:../../x11/py-gtk2
DEPENDS+=	${PYPKGPREFIX}-cairo-[0-9]*:../../graphics/py-cairo
DEPENDS+=	gnome-speech>=0.4.25:../../audio/gnome-speech
DEPENDS+=	gnome-mag>=0.16.2:../../x11/gnome-mag

GNU_CONFIGURE=	yes
USE_LIBTOOL=	yes
USE_TOOLS+=	intltool pkg-config gmake msgfmt
USE_PKGLOCALEDIR=	yes

CONFIGURE_ENV+=	PYTHON=${PYTHONBIN}
PY_PATCHPLIST=	yes

PYTHON_VERSIONS_ACCEPTED=	 27 # py-ORBit, py-gnome2, py-gtk2

.include "../../mk/bsd.prefs.mk"
.if ${X11_TYPE} == "modular" || !exists(${X11BASE}/bin/xmodmap)
DEPENDS+=	xmodmap-[0-9]*:../../x11/xmodmap
.endif

.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"