File:  [cvs.NetBSD.org] / pkgsrc / misc / orca / Makefile
Revision 1.42: download - view: text, annotated - select for diffs
Tue Jul 3 05:03:25 2018 UTC (6 years, 5 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, HEAD
extend PYTHON_VERSIONS_ for Python 3.7

# $NetBSD: Makefile,v 1.42 2018/07/03 05:03:25 adam Exp $

DISTNAME=	orca-2.32.1
PKGREVISION=	1
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_INCOMPATIBLE=	34 35 36 37 # 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"

CVSweb <webmaster@jp.NetBSD.org>