ports/net-im/scudcloud/Makefile
Loïc Bartoletti 4f0a5e1540 PyQt: Update sip to 6.5.0, reintroduce sip4 and simplify PyQt framework.
SIP:
As mentioned in the update from sip to sip5, this is a transitional version
to remove what is deprecated in sip4.
Sip6 completely removes the deprecated parts.
Unfortunately, some ports — mostly cura things — can not use sip6, so we
reintroduce sip4.

PyQt:
At the same time, we took the opportunity to simplify PyQT and propose only one
package as for devel/pyside2. */py-qt5-* have been merged — excepted chart,
networkauth and webengine — into devel/py-qt5-pyqt.

This allows us to be in adequacy with the packages that the author of these
libraries proposes, namely:

PyQt - devel/py-qt5-pyqt
PyQt-Charts - x11-toolkits/py-qt5-chart
PyQt-NetworkAuth – net/py-qt5-networkauth
PyQt-WebEngine – www/py-qt5-webengine
SIP – devel/py-sip
py-sip - devel/py-qt5-sip
PyQt-builder - devel/py-qtbuilder
Qscintilla - devel/py-qt5-qscintilla2

Reviewed by:	diizzy, kde
Tested by:	kai, rhurlin, arrowd, madpilot
Approved by:	makc, tcberner, kde
Differential Revision:	https://reviews.freebsd.org/D33237
Exp-run by:	antoine
2022-01-27 07:12:26 +01:00

36 lines
886 B
Makefile

# Created by: Nicola Stanislao Vitale <nivit@FreeBSD.org>
PORTNAME= scudcloud
PORTVERSION= 1.65
DISTVERSIONPREFIX= v
PORTREVISION= 4
CATEGORIES= net-im
MAINTAINER= nivit@FreeBSD.org
COMMENT= Desktop client app for Slack
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jsmin>0:devel/py-jsmin@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>0:devel/py-dbus@${PY_FLAVOR}
GH_ACCOUNT= raelgc
HUNSPELL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hunspell>0:textproc/py-hunspell@${PY_FLAVOR} \
falkon:www/falkon
OPTIONS_DEFINE= HUNSPELL
USES= gnome python:3.5+ pyqt:5
USE_PYQT= sip_run pyqt5_run
USE_GITHUB= yes
USE_PYTHON= autoplist distutils optsuffix
NO_ARCH= yes
post-patch:
@${REINPLACE_CMD} -i.bak -e 's,%%LOCALBASE%%,${LOCALBASE},1' \
${WRKSRC}/share/${PORTNAME}.desktop \
${WRKSRC}/${PORTNAME}/resources.py
.include <bsd.port.mk>