aboutsummaryrefslogtreecommitdiff
path: root/multimedia/phonon-gstreamer
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2013-10-15 17:57:36 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2013-10-15 17:57:36 +0000
commitdcabb24544997aeafe97f081e4b24d01ccd049d1 (patch)
tree2976399ba10423152788f533e9baf67775ded0d4 /multimedia/phonon-gstreamer
parent83c38286384de556ae569d6333bb3eca5b14b00a (diff)
downloadports-dcabb24544997aeafe97f081e4b24d01ccd049d1.tar.gz
ports-dcabb24544997aeafe97f081e4b24d01ccd049d1.zip
- Explicitly depend on qt4-corelib, which was otherwise pulled indirectly by
the other Qt dependencies. - Support staging. Commits by makc@ and Schaich Alonso <alonsoschaich@fastmail.fm>, pulled from our area51 repository.
Notes
Notes: svn path=/head/; revision=330417
Diffstat (limited to 'multimedia/phonon-gstreamer')
-rw-r--r--multimedia/phonon-gstreamer/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/multimedia/phonon-gstreamer/Makefile b/multimedia/phonon-gstreamer/Makefile
index 1fbdbd0fb6f8..3be61b109346 100644
--- a/multimedia/phonon-gstreamer/Makefile
+++ b/multimedia/phonon-gstreamer/Makefile
@@ -24,7 +24,7 @@ USE_GL= gl
USE_GNOME= glib20 libxml2
USE_GSTREAMER= yes
USE_KDE4= kdehier kdeprefix automoc4
-USE_QT4= gui phonon xml \
+USE_QT4= corelib gui opengl phonon \
qmake_build moc_build rcc_build uic_build
USE_XORG= x11
USE_XZ= yes
@@ -38,7 +38,6 @@ GST_PLUGINS_DESC= Install GStreamer plugins
OPTIONS_DEFAULT=
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGST_PLUGINS}
@@ -47,14 +46,9 @@ RUN_DEPENDS+= gstreamer-plugins-all>=0:${PORTSDIR}/multimedia/gstreamer-plugins-
SUB_FILES= pkg-message
.endif
-pre-su-install:
- ${MKDIR} ${QT_PLUGINDIR}/phonon_backend
-
post-install:
+ ${MKDIR} ${STAGEDIR}${QT_PLUGINDIR}/phonon_backend
${LN} -sf ${PREFIX}/lib/kde4/plugins/phonon_backend/phonon_gstreamer.so \
- ${QT_PLUGINDIR}/phonon_backend/libphonon_gstreamer.so
-.if ! ${PORT_OPTIONS:MGST_PLUGINS}
- @${CAT} ${PKGMESSAGE}
-.endif
+ ${STAGEDIR}${QT_PLUGINDIR}/phonon_backend/libphonon_gstreamer.so
.include <bsd.port.mk>