diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2010-01-21 21:13:21 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2010-01-21 21:13:21 +0000 |
commit | 43902f6ecc0189b88ec79a03b8b0b39425aa18dd (patch) | |
tree | 5b488e99af499ef5ed89d0b90cc3f0f14b1f1ad4 /multimedia/qt4-multimedia | |
parent | 5534788943950923c05e59a02337cde792233450 (diff) | |
download | ports-43902f6ecc0189b88ec79a03b8b0b39425aa18dd.tar.gz ports-43902f6ecc0189b88ec79a03b8b0b39425aa18dd.zip |
Notes
Diffstat (limited to 'multimedia/qt4-multimedia')
-rw-r--r-- | multimedia/qt4-multimedia/Makefile | 63 | ||||
-rw-r--r-- | multimedia/qt4-multimedia/pkg-descr | 12 | ||||
-rw-r--r-- | multimedia/qt4-multimedia/pkg-plist | 49 |
3 files changed, 124 insertions, 0 deletions
diff --git a/multimedia/qt4-multimedia/Makefile b/multimedia/qt4-multimedia/Makefile new file mode 100644 index 000000000000..573f03d20be8 --- /dev/null +++ b/multimedia/qt4-multimedia/Makefile @@ -0,0 +1,63 @@ +# New ports collection makefile for: qt4-multimedia +# Date created: 17 September 2009 +# Whom: Alberto Villa <villa.alberto@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= multimedia +PORTVERSION= ${QT4_VERSION} +CATEGORIES?= multimedia +PKGNAMEPREFIX= qt4- + +MAINTAINER= kde@FreeBSD.org +COMMENT= Qt4 low-level multimedia API + +USE_QT_VER= 4 +QT_COMPONENTS= qmake_build moc_build uic_build corelib gui +QT_NONSTANDARD= yes +QT_DIST= yes +MAKE_JOBS_SAFE= yes + +HAS_CONFIGURE= yes +USE_LDCONFIG= ${PREFIX}/lib/qt4 + +ALL_TARGET= first +CONFIGURE_ENV?= QTDIR=${WRKSRC} PATH=${WRKSRC}/bin:$$PATH +MAKE_ENV?= QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib \ + PATH=${WRKSRC}/bin:$$PATH + +DO_NOT_EXTRACT= demos doc examples mkspecs qmake tools translations \ + src/activeqt src/dbus src/network src/opengl src/openvg \ + src/phonon src/qt3support src/s60installs src/s60main \ + src/script src/scripttools src/sql src/svg src/testlib \ + src/tools src/winmain src/xml src/xmlpatterns \ + src/3rdparty/clucene src/3rdparty/freetype \ + src/3rdparty/libjpeg src/3rdparty/libmng src/3rdparty/libpng \ + src/3rdparty/libtiff src/3rdparty/phonon src/3rdparty/webkit +EXTRACT_AFTER_ARGS= | ${TAR} -xf - +.for dne in ${DO_NOT_EXTRACT} +EXTRACT_AFTER_ARGS+= --exclude '${DISTNAME}/${dne}' +.endfor + +BUILD_WRKSRC= ${WRKSRC}/src/${PORTNAME} +INSTALL_WRKSRC= ${BUILD_WRKSRC} + +EXTRA_PATCHES= ${.CURDIR}/../../devel/qt4/files/patch-configure + +pre-configure: + ${MKDIR} ${WRKSRC}/mkspecs + ${LN} -sf ${LOCALBASE}/bin/qmake-qt4 ${WRKSRC}/bin/qmake + ${LN} -sf ${LOCALBASE}/bin/moc-qt4 ${WRKSRC}/bin/moc + ${LN} -sf ${LOCALBASE}/bin/uic-qt4 ${WRKSRC}/bin/uic + +post-configure: + ${REINPLACE_CMD} \ + -e 's|${PREFIX}/lib/qt4/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \ + -e 's|.*$$(QMAKE).*||g' ${BUILD_WRKSRC}/Makefile + ${REINPLACE_CMD} -E -e 's|-L.[^[:space:]]*qt-x11-opensource.[^[:space:]]*lib||g' \ + -E -e 's|(.*location=).*moc|\1${PREFIX}/bin/moc-qt4|g' \ + -E -e 's|(.*location=).*uic|\1${PREFIX}/bin/uic-qt4|g' \ + ${WRKSRC}/lib/pkgconfig/QtMultimedia.pc + +.include <bsd.port.mk> diff --git a/multimedia/qt4-multimedia/pkg-descr b/multimedia/qt4-multimedia/pkg-descr new file mode 100644 index 000000000000..36bc69717e98 --- /dev/null +++ b/multimedia/qt4-multimedia/pkg-descr @@ -0,0 +1,12 @@ +Qt is a C++ toolkit for application development. It lets application +developers target all major operating systems with a single application +source code. + +Qt provides a platform-independent API to all central platform functionality: +GUI, database access, networking, file handling, etc. The Qt library +encapsulates the different APIs of different operating systems, providing +the application programmer with a single, common API for all operating systems. +The native C APIs are encapsulated in a set of well-designed, fully +object-oriented C++ classes. + +WWW: http://qt.nokia.com/products/qt/index.html diff --git a/multimedia/qt4-multimedia/pkg-plist b/multimedia/qt4-multimedia/pkg-plist new file mode 100644 index 000000000000..dbaa07b895b6 --- /dev/null +++ b/multimedia/qt4-multimedia/pkg-plist @@ -0,0 +1,49 @@ +include/qt4/Qt/QtMultimedia +include/qt4/Qt/qabstractvideobuffer.h +include/qt4/Qt/qabstractvideosurface.h +include/qt4/Qt/qaudio.h +include/qt4/Qt/qaudiodeviceinfo.h +include/qt4/Qt/qaudioengine.h +include/qt4/Qt/qaudioengineplugin.h +include/qt4/Qt/qaudioformat.h +include/qt4/Qt/qaudioinput.h +include/qt4/Qt/qaudiooutput.h +include/qt4/Qt/qvideoframe.h +include/qt4/Qt/qvideosurfaceformat.h +include/qt4/QtMultimedia/QAbstractAudioDeviceInfo +include/qt4/QtMultimedia/QAbstractAudioInput +include/qt4/QtMultimedia/QAbstractAudioOutput +include/qt4/QtMultimedia/QAbstractVideoBuffer +include/qt4/QtMultimedia/QAbstractVideoSurface +include/qt4/QtMultimedia/QAudioDeviceInfo +include/qt4/QtMultimedia/QAudioEngineFactoryInterface +include/qt4/QtMultimedia/QAudioEnginePlugin +include/qt4/QtMultimedia/QAudioFormat +include/qt4/QtMultimedia/QAudioInput +include/qt4/QtMultimedia/QAudioOutput +include/qt4/QtMultimedia/QVideoFrame +include/qt4/QtMultimedia/QVideoSurfaceFormat +include/qt4/QtMultimedia/QtMultimedia +include/qt4/QtMultimedia/qabstractvideobuffer.h +include/qt4/QtMultimedia/qabstractvideosurface.h +include/qt4/QtMultimedia/qaudio.h +include/qt4/QtMultimedia/qaudiodeviceinfo.h +include/qt4/QtMultimedia/qaudioengine.h +include/qt4/QtMultimedia/qaudioengineplugin.h +include/qt4/QtMultimedia/qaudioformat.h +include/qt4/QtMultimedia/qaudioinput.h +include/qt4/QtMultimedia/qaudiooutput.h +include/qt4/QtMultimedia/qvideoframe.h +include/qt4/QtMultimedia/qvideosurfaceformat.h +lib/qt4/libQtMultimedia.la +lib/qt4/libQtMultimedia.prl +lib/qt4/libQtMultimedia.so +lib/qt4/libQtMultimedia.so.4 +lib/qt4/libQtMultimedia.so.%%SHLIB_SHVER%% +lib/qt4/libQtMultimedia.so.%%SHLIB_VER%% +%%DEBUG%%lib/qt4/libQtMultimedia.so.%%SHLIB_VER%%.debug +libdata/pkgconfig/QtMultimedia.pc +@dirrmtry lib/qt4 +@dirrm include/qt4/QtMultimedia +@dirrmtry include/qt4/Qt +@dirrmtry include/qt4 |