mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
merge from area51 repo:
- Convert to new LIB_DEPENDS syntax - Simplify by using out-of-source build provided by USES=qmake - Add explicit dependencies on Qt4 corelib and testlib
This commit is contained in:
parent
1527bd924f
commit
6a7940d3e6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=338905
@ -17,16 +17,16 @@ DIST_SUBDIR= KDE
|
||||
MAINTAINER= kde@FreeBSD.org
|
||||
COMMENT= C++ and QML IDE for Qt development
|
||||
|
||||
LIB_DEPENDS= Imath:${PORTSDIR}/graphics/ilmbase \
|
||||
IlmImf:${PORTSDIR}/graphics/OpenEXR \
|
||||
jasper:${PORTSDIR}/graphics/jasper \
|
||||
jpeg:${PORTSDIR}/graphics/jpeg
|
||||
LIB_DEPENDS= libImath.so:${PORTSDIR}/graphics/ilmbase \
|
||||
libIlmImf.so:${PORTSDIR}/graphics/OpenEXR \
|
||||
libjasper.so:${PORTSDIR}/graphics/jasper \
|
||||
libjpeg.so:${PORTSDIR}/graphics/jpeg
|
||||
|
||||
USES= qmake
|
||||
USE_QT4= moc_build rcc_build uic_build \
|
||||
linguist_build assistant_run qt3support \
|
||||
dbus designer gui help-tools_build network script \
|
||||
sql svg xml webkit qdoc3_build
|
||||
corelib sql svg testlib xml webkit qdoc3_build
|
||||
USES= qmake:outsource
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
ALL_TARGET= all docs
|
||||
INSTALL_TARGET= install install_docs
|
||||
@ -34,7 +34,6 @@ MAKE_ENV= XDG_CONFIG_HOME=/dev/null
|
||||
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}
|
||||
|
||||
QMAKE_ARGS= CONFIG+="configure" QTC_PREFIX=${PREFIX}
|
||||
QMAKE_SOURCE_PATH= ${WRKSRC}
|
||||
|
||||
# Build Qt Quick Designer (requires update on every Qt update).
|
||||
QT_DISTNAME= qt-everywhere-opensource-src-${QT4_VERSION}
|
||||
@ -45,12 +44,8 @@ EXTRACT_AFTER_ARGS+= --exclude '${QT_DISTNAME}/${dne}'
|
||||
.endfor
|
||||
QMAKE_ARGS+= QT_PRIVATE_HEADERS="${WRKDIR}/${QT_DISTNAME}/include"
|
||||
|
||||
CONFIGURE_WRKSRC= ${WRKDIR}/build
|
||||
BUILD_WRKSRC= ${CONFIGURE_WRKSRC}
|
||||
INSTALL_WRKSRC= ${CONFIGURE_WRKSRC}
|
||||
|
||||
DESKTOP_ENTRIES= "Qt Creator" "${COMMENT}" "QtProject-qtcreator" \
|
||||
"${PREFIX}/bin/${PORTNAME}" "Development;Qt;" true
|
||||
DESKTOP_ENTRIES="Qt Creator" "" "QtProject-qtcreator" \
|
||||
"${PREFIX}/bin/${PORTNAME}" "Development;Qt;" true
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|lrelease|lrelease-qt4|' \
|
||||
@ -61,10 +56,6 @@ post-patch:
|
||||
${WRKSRC}/share/qtcreator/dumper/gbridge.py
|
||||
${REINPLACE_CMD} -e 's|/usr/bin/ant|${LOCALBASE}/ant|' \
|
||||
${WRKSRC}/src/plugins/android/androidsettingswidget.cpp
|
||||
|
||||
${RM} ${WRKSRC}/share/qtcreator/dumper/gbridge.py.bak
|
||||
|
||||
pre-configure:
|
||||
${MKDIR} ${CONFIGURE_WRKSRC}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user