8485e2ca68
* Optimized empty QUrl creation * Improve performance of getting the canonical filename on Linux and Symbian by using realpath() system call. * Avoid stat() when opening a file. * Do not look at the Qt patch-level version embedded in plugins' buildkeys when trying to determine if the plugin is compatible * Bug-fixes * load() and loadFromData() can now support compressed GL textures in the DDS, ETC1, PVRTC2, and PVRTC4 formats if the OpenGL graphics system is active and the appropriate extensions are present in the GL implementation. * Fixed a small leak when using the new QPixmapCache::Key based API.
43 lines
1.3 KiB
Makefile
43 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.11 2010/01/29 18:19:09 adam Exp $
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
.include "../../x11/qt4-libs/Makefile.common"
|
|
|
|
PKGNAME= qt4-qdbus-${QTVERSION}
|
|
COMMENT= QT DBus support
|
|
|
|
CONFIGURE_ARGS+= -I${QTDIR}/include -L${QTDIR}/lib
|
|
CONFIGURE_ARGS+= -qdbus
|
|
|
|
USE_TOOLS+= pkg-config
|
|
|
|
BUILD_QT4= yes
|
|
|
|
post-configure:
|
|
ln -s ${QTPREFIX}/bin/moc ${WRKSRC}/bin/moc
|
|
ln -s ${QTPREFIX}/bin/uic ${WRKSRC}/bin/uic
|
|
ln -s ${QTPREFIX}/bin/rcc ${WRKSRC}/bin/rcc
|
|
|
|
do-build:
|
|
cd ${WRKSRC}/src/dbus && env ${MAKE_ENV} ${GMAKE}
|
|
cd ${WRKSRC}/tools/qdbus && env ${MAKE_ENV} ${GMAKE}
|
|
|
|
INSTALLATION_DIRS= ${QTPREFIX}/bin ${QTPREFIX}/lib lib/pkgconfig
|
|
|
|
do-install:
|
|
${LIBTOOL} --mode=install ${INSTALL_LIB} ${WRKSRC}/lib/libQtDBus.la \
|
|
${DESTDIR}${QTPREFIX}/lib/
|
|
${SED} -e "s:${WRKSRC}:${QTPREFIX}:g" \
|
|
${WRKSRC}/lib/pkgconfig/QtDBus.pc > ${WRKDIR}/QtDBus.pc
|
|
${INSTALL_DATA} ${WRKDIR}/QtDBus.pc ${DESTDIR}${PREFIX}/lib/pkgconfig/
|
|
cd ${WRKSRC}/src/dbus && env ${MAKE_ENV} INSTALL_ROOT=${DESTDIR} \
|
|
${MAKE_PROGRAM} install_flat_headers install_targ_headers install_class_headers
|
|
.for prog in qdbus qdbuscpp2xml qdbusviewer qdbusxml2cpp
|
|
${LIBTOOL} --mode=install ${INSTALL_PROGRAM} ${WRKSRC}/bin/${prog} \
|
|
${DESTDIR}${QTPREFIX}/bin
|
|
.endfor
|
|
|
|
.include "../../x11/qt4-libs/buildlink3.mk"
|
|
.include "../../sysutils/dbus/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|