2021-04-12 15:07:44 +02:00
|
|
|
# $NetBSD: Makefile,v 1.39 2021/04/12 13:07:44 nia Exp $
|
2012-02-10 18:25:38 +01:00
|
|
|
|
2020-10-01 13:45:46 +02:00
|
|
|
DISTNAME= at-spi2-core-2.38.0
|
2013-12-08 14:40:20 +01:00
|
|
|
CATEGORIES= devel gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/at-spi2-core/${PKGVERSION_NOREV:R}/}
|
2012-02-10 18:25:38 +01:00
|
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
|
|
|
|
MAINTAINER= prlw1@cam.ac.uk
|
2020-01-19 00:30:13 +01:00
|
|
|
HOMEPAGE= https://www.linuxfoundation.org/collaborate/workgroups/accessibility/atk/at-spi/at-spi_on_d-bus
|
2012-02-10 18:25:38 +01:00
|
|
|
COMMENT= Assistive Technology Service Provider Interface Core
|
2020-02-07 18:07:46 +01:00
|
|
|
LICENSE= gnu-lgpl-v2.1
|
2012-02-10 18:25:38 +01:00
|
|
|
|
2019-07-18 16:48:08 +02:00
|
|
|
USE_TOOLS+= msgfmt pkg-config
|
2012-02-10 18:25:38 +01:00
|
|
|
|
2019-11-03 11:39:04 +01:00
|
|
|
PKGCONFIG_OVERRIDE= output/meson-private/atspi-2.pc
|
|
|
|
PKGCONFIG_OVERRIDE_STAGE= pre-install
|
|
|
|
MAKE_ENV+= LD_LIBRARY_PATH=${WRKSRC}/output/atspi
|
2012-11-13 22:43:16 +01:00
|
|
|
|
2020-02-07 18:07:46 +01:00
|
|
|
BUILD_DEFS+= PKG_SYSCONFBASE
|
2017-08-25 14:17:00 +02:00
|
|
|
|
2019-07-18 16:48:08 +02:00
|
|
|
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
|
|
|
|
busconfigdir= ${PKG_SYSCONFDIR}/at-spi2
|
2012-02-10 18:25:38 +01:00
|
|
|
eg_busconfigdir= ${EGDIR}/at-spi2
|
2012-11-13 22:43:16 +01:00
|
|
|
default_sessiondir= ${PKG_SYSCONFBASE}/xdg/autostart
|
|
|
|
eg_default_sessiondir= ${EGDIR}/xdg/autostart
|
2012-02-10 18:25:38 +01:00
|
|
|
|
2017-08-25 14:17:00 +02:00
|
|
|
SUBST_CLASSES+= eg
|
2019-07-18 16:48:08 +02:00
|
|
|
SUBST_SED.eg+= -e 's,defaults,examples/${PKGBASE},'
|
|
|
|
SUBST_FILES.eg+= bus/meson.build
|
2019-11-03 11:39:04 +01:00
|
|
|
SUBST_STAGE.eg= pre-configure
|
2017-08-25 14:17:00 +02:00
|
|
|
SUBST_MESSAGE.eg= Fixing path to examples directory.
|
|
|
|
|
2012-02-10 18:25:38 +01:00
|
|
|
CONF_FILES= ${eg_busconfigdir}/accessibility.conf \
|
2012-11-13 22:43:16 +01:00
|
|
|
${busconfigdir}/accessibility.conf
|
|
|
|
CONF_FILES+= ${eg_default_sessiondir}/at-spi-dbus-bus.desktop \
|
2012-02-10 18:25:38 +01:00
|
|
|
${default_sessiondir}/at-spi-dbus-bus.desktop
|
2019-07-22 16:52:51 +02:00
|
|
|
MAKE_DIRS+= ${busconfigdir} ${default_sessiondir}
|
2012-02-10 18:25:38 +01:00
|
|
|
|
2021-04-12 15:07:44 +02:00
|
|
|
PYTHON_FOR_BUILD_ONLY= tool
|
|
|
|
|
2019-07-18 16:48:08 +02:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${eg_default_sessiondir}
|
|
|
|
${MV} ${DESTDIR}${PKG_SYSCONFDIR}/xdg/autostart/at-spi-dbus-bus.desktop \
|
|
|
|
${DESTDIR}${eg_default_sessiondir}/at-spi-dbus-bus.desktop
|
|
|
|
|
2012-02-10 18:25:38 +01:00
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
2012-06-12 19:16:13 +02:00
|
|
|
.include "../../devel/gobject-introspection/buildlink3.mk"
|
2012-02-10 18:25:38 +01:00
|
|
|
.include "../../sysutils/dbus/buildlink3.mk"
|
2016-11-25 13:49:00 +01:00
|
|
|
.include "../../x11/libXi/buildlink3.mk"
|
2012-02-10 18:25:38 +01:00
|
|
|
.include "../../x11/libXtst/buildlink3.mk"
|
2019-07-18 16:48:08 +02:00
|
|
|
|
2019-10-07 11:28:09 +02:00
|
|
|
.include "../../devel/meson/build.mk"
|
2012-02-10 18:25:38 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|