43 lines
1.4 KiB
Makefile
43 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.2 2022/01/09 16:16:32 wiz Exp $
|
|
|
|
DISTNAME= PyQtWebEngine-${PKGVERSION_NOREV}
|
|
PKGNAME= ${PYPKGPREFIX}-qt5-webengine-5.15.5
|
|
CATEGORIES= x11 python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=P/PyQtWebEngine/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://www.riverbankcomputing.com/software/pyqtwebengine/
|
|
COMMENT= Python module for QtWebEngine (Chromium-based)
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-qt5-[0-9]*:../../x11/py-qt5
|
|
|
|
.include "../../lang/python/pyversion.mk"
|
|
|
|
USE_LANGUAGES= c c++
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= gmake pkg-config
|
|
|
|
CONFIGURE_ARGS+= -d ${PREFIX}/${PYSITELIB}/PyQt5
|
|
CONFIGURE_ARGS+= --pyqt-sipdir ${PREFIX}/share/sip${PYVERSSUFFIX}/PyQt5
|
|
CONFIGURE_ARGS+= -q ${QTDIR}/bin/qmake
|
|
CONFIGURE_ARGS+= --sip ${BUILDLINK_PREFIX.py-sip}/bin/sip${PYVERSSUFFIX}
|
|
CONFIGURE_ARGS+= --apidir ${PREFIX}/qt5/qsci${PYVERSSUFFIX}
|
|
CONFIGURE_ARGS+= --verbose
|
|
|
|
PY_PATCHPLIST= yes
|
|
|
|
INSTALL_ENV+= INSTALL_ROOT=${DESTDIR}
|
|
|
|
do-configure:
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
|
|
${PYTHONBIN} configure.py ${CONFIGURE_ARGS}
|
|
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../x11/py-sip/buildlink3.mk"
|
|
.include "../../x11/qt5-qtbase/buildlink3.mk"
|
|
.include "../../x11/qt5-qtdeclarative/buildlink3.mk"
|
|
.include "../../x11/qt5-qtlocation/buildlink3.mk"
|
|
.include "../../x11/qt5-qtwebchannel/buildlink3.mk"
|
|
.include "../../x11/qt5-qtwebengine/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|