summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>