aboutsummaryrefslogtreecommitdiff
path: root/multimedia/qt4-phonon
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-08-04 23:30:38 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-08-04 23:30:38 +0000
commitd56984b0567867dd57ecb27fe0c508025c2426c5 (patch)
treeeb02dac4e0d7e5129ffac4c76b935a76a7e66676 /multimedia/qt4-phonon
parent98813eadd27b8cd8500044af2a49b6d861809815 (diff)
downloadports-d56984b0567867dd57ecb27fe0c508025c2426c5.tar.gz
ports-d56984b0567867dd57ecb27fe0c508025c2426c5.zip
Notes
Diffstat (limited to 'multimedia/qt4-phonon')
-rw-r--r--multimedia/qt4-phonon/Makefile65
-rw-r--r--multimedia/qt4-phonon/distinfo3
-rw-r--r--multimedia/qt4-phonon/pkg-descr12
-rw-r--r--multimedia/qt4-phonon/pkg-plist78
4 files changed, 158 insertions, 0 deletions
diff --git a/multimedia/qt4-phonon/Makefile b/multimedia/qt4-phonon/Makefile
new file mode 100644
index 000000000000..fb6b7baba05f
--- /dev/null
+++ b/multimedia/qt4-phonon/Makefile
@@ -0,0 +1,65 @@
+# New ports collection makefile for: qt4-phonon
+# Date created: Mon May 12 15:33:12 CEST 2008
+# Whom: danny@ricin.com
+#
+# $FreeBSD$
+#
+
+PORTNAME= phonon
+PORTVERSION= ${QT4_VERSION}
+CATEGORIES?= multimedia
+MASTER_SITES= ${MASTER_SITE_QT}
+PKGNAMEPREFIX= qt4-
+DISTNAME= qt-x11-opensource-src-${PORTVERSION}
+DIST_SUBDIR= KDE
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= Qt4 multimedia framework
+
+CONFLICTS= phonon-4.*
+
+USE_QT_VER= 4
+QT_COMPONENTS= qmake_build moc_build corelib dbus gui xml
+QT_NONSTANDARD= yes
+QT_DIST= 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/network src/opengl \
+ src/qt3support src/script src/sql src/svg src/testlib \
+ src/tools src/xmlpatterns src/3rdparty/clucene \
+ src/3rdparty/webkit
+EXTRACT_AFTER_ARGS= | ${TAR} -xf -
+.for dne in ${DO_NOT_EXTRACT}
+EXTRACT_AFTER_ARGS+= --exclude '${DISTNAME}/${dne}'
+.endfor
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/src/${PORTNAME}
+CONFIGURE_WRKSRC=${WRKSRC}/../../
+
+pre-configure:
+ ${CP} ${.CURDIR}/../../devel/qt4/files/configure ${CONFIGURE_WRKSRC}
+ ${MKDIR} ${WRKSRC}/../../mkspecs
+ ${LN} -sf ${LOCALBASE}/bin/qmake-qt4 ${WRKSRC}/../../bin/qmake
+ ${LN} -sf ${LOCALBASE}/bin/moc-qt4 ${WRKSRC}/../../bin/moc
+
+post-configure:
+ ${REINPLACE_CMD} \
+ -e 's|${PREFIX}/lib/qt4/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \
+ -e 's|.*$$(QMAKE).*||g' \
+ ${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' \
+ ${WRKSRC}/../../lib/pkgconfig/phonon.pc
+
+post-install:
+ ${MKDIR} ${PREFIX}/lib/qt4/plugins/phonon_backend
+
+.include <bsd.port.mk>
diff --git a/multimedia/qt4-phonon/distinfo b/multimedia/qt4-phonon/distinfo
new file mode 100644
index 000000000000..0c630f09baf6
--- /dev/null
+++ b/multimedia/qt4-phonon/distinfo
@@ -0,0 +1,3 @@
+MD5 (KDE/qt-x11-opensource-src-4.4.1.tar.gz) = b09decad252b5181f300135e3122481d
+SHA256 (KDE/qt-x11-opensource-src-4.4.1.tar.gz) = 5aca7b784fc4de3db292666490ade84cfd1810f189c089c5c2810a710993f386
+SIZE (KDE/qt-x11-opensource-src-4.4.1.tar.gz) = 108774120
diff --git a/multimedia/qt4-phonon/pkg-descr b/multimedia/qt4-phonon/pkg-descr
new file mode 100644
index 000000000000..efc79b9aaf24
--- /dev/null
+++ b/multimedia/qt4-phonon/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://www.trolltech.com/products/qt/index.html
diff --git a/multimedia/qt4-phonon/pkg-plist b/multimedia/qt4-phonon/pkg-plist
new file mode 100644
index 000000000000..0f7c9c0ec579
--- /dev/null
+++ b/multimedia/qt4-phonon/pkg-plist
@@ -0,0 +1,78 @@
+include/qt4/Qt/abstractaudiooutput.h
+include/qt4/Qt/abstractmediastream.h
+include/qt4/Qt/abstractvideooutput.h
+include/qt4/Qt/addoninterface.h
+include/qt4/Qt/audiooutput.h
+include/qt4/Qt/audiooutputinterface.h
+include/qt4/Qt/backendcapabilities.h
+include/qt4/Qt/backendinterface.h
+include/qt4/Qt/effect.h
+include/qt4/Qt/effectinterface.h
+include/qt4/Qt/effectparameter.h
+include/qt4/Qt/effectwidget.h
+include/qt4/Qt/mediacontroller.h
+include/qt4/Qt/medianode.h
+include/qt4/Qt/mediaobject.h
+include/qt4/Qt/mediaobjectinterface.h
+include/qt4/Qt/mediasource.h
+include/qt4/Qt/objectdescription.h
+include/qt4/Qt/objectdescriptionmodel.h
+include/qt4/Qt/path.h
+include/qt4/Qt/phonon
+include/qt4/Qt/phonon_export.h
+include/qt4/Qt/phonondefs.h
+include/qt4/Qt/phononnamespace.h
+include/qt4/Qt/platformplugin.h
+include/qt4/Qt/seekslider.h
+include/qt4/Qt/streaminterface.h
+include/qt4/Qt/videoplayer.h
+include/qt4/Qt/videowidget.h
+include/qt4/Qt/videowidgetinterface.h
+include/qt4/Qt/volumefadereffect.h
+include/qt4/Qt/volumefaderinterface.h
+include/qt4/Qt/volumeslider.h
+include/qt4/phonon/abstractaudiooutput.h
+include/qt4/phonon/abstractmediastream.h
+include/qt4/phonon/abstractvideooutput.h
+include/qt4/phonon/addoninterface.h
+include/qt4/phonon/audiooutput.h
+include/qt4/phonon/audiooutputinterface.h
+include/qt4/phonon/backendcapabilities.h
+include/qt4/phonon/backendinterface.h
+include/qt4/phonon/effect.h
+include/qt4/phonon/effectinterface.h
+include/qt4/phonon/effectparameter.h
+include/qt4/phonon/effectwidget.h
+include/qt4/phonon/mediacontroller.h
+include/qt4/phonon/medianode.h
+include/qt4/phonon/mediaobject.h
+include/qt4/phonon/mediaobjectinterface.h
+include/qt4/phonon/mediasource.h
+include/qt4/phonon/objectdescription.h
+include/qt4/phonon/objectdescriptionmodel.h
+include/qt4/phonon/path.h
+include/qt4/phonon/phonon
+include/qt4/phonon/phonon_export.h
+include/qt4/phonon/phonondefs.h
+include/qt4/phonon/phononnamespace.h
+include/qt4/phonon/platformplugin.h
+include/qt4/phonon/seekslider.h
+include/qt4/phonon/streaminterface.h
+include/qt4/phonon/videoplayer.h
+include/qt4/phonon/videowidget.h
+include/qt4/phonon/videowidgetinterface.h
+include/qt4/phonon/volumefadereffect.h
+include/qt4/phonon/volumefaderinterface.h
+include/qt4/phonon/volumeslider.h
+lib/qt4/libphonon.la
+lib/qt4/libphonon.prl
+lib/qt4/libphonon.so
+lib/qt4/libphonon.so.4
+lib/qt4/libphonon.so.4.1
+lib/qt4/libphonon.so.4.1.1
+%%DEBUG%%lib/qt4/libphonon.so.4.1.1.debug
+libdata/pkgconfig/phonon.pc
+@dirrm include/qt4/phonon
+@dirrmtry include/qt4/Qt
+@dirrmtry include/qt4
+@dirrmtry lib/qt4/plugins/phonon_backend