svn commit: r330033 - in head/multimedia/subtitlecomposer-kde4: . files
Max Brazhnikov
makc at FreeBSD.org
Thu Oct 10 20:31:31 UTC 2013
Author: makc
Date: Thu Oct 10 20:31:30 2013
New Revision: 330033
URL: http://svnweb.freebsd.org/changeset/ports/330033
Log:
- Add explicit dependency on gettext and phonon
- Remove no longer needed patch
- Use option helpers
- Support staging
Deleted:
head/multimedia/subtitlecomposer-kde4/files/patch-src__core__subtitleline.cpp
Modified:
head/multimedia/subtitlecomposer-kde4/Makefile
Modified: head/multimedia/subtitlecomposer-kde4/Makefile
==============================================================================
--- head/multimedia/subtitlecomposer-kde4/Makefile Thu Oct 10 20:12:31 2013 (r330032)
+++ head/multimedia/subtitlecomposer-kde4/Makefile Thu Oct 10 20:31:30 2013 (r330033)
@@ -10,34 +10,23 @@ MAINTAINER= makc at FreeBSD.org
COMMENT= Subtitle editor for KDE
USE_BZIP2= yes
-USES= cmake
+USES= cmake:outsource gettext
USE_KDE4= kdeprefix kdelibs automoc4 sharedmime
-USE_QT4= gui qmake_build moc_build rcc_build uic_build
+USE_QT4= qmake_build moc_build rcc_build uic_build phonon
-OPTIONS_DEFINE= GSTREAMER MPLAYER XINE
-OPTIONS_DEFAULT= MPLAYER
-
-MPLAYER_DESC= Enable MPlayer backend (recommended)
-XINE_DESC= Enable Xine backend
-GSTREAMER_DESC= Enable GStreamer backend (broken)
-
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MMPLAYER}
-RUN_DEPENDS+= mplayer:${PORTSDIR}/multimedia/mplayer
-.endif
-
-.if ${PORT_OPTIONS:MXINE}
-LIB_DEPENDS+= libxine.so:${PORTSDIR}/multimedia/libxine
-.else
-CMAKE_ARGS+= -DWITH_Xine:Bool=Off
-.endif
-
-.if ${PORT_OPTIONS:MGSTREAMER}
-USE_GSTREAMER= yes
-.else
-CMAKE_ARGS+= -DWITH_GStreamer:Bool=Off
-.endif
+OPTIONS_GROUP= BACKEND
+BACKEND_DESC= Additional video backens
+OPTIONS_GROUP_BACKEND= GSTREAMER MPLAYER XINE
+
+MPLAYER_DESC= Install MPlayer
+MPLAYER_RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer
+
+XINE_DESC= Build Xine backend
+XINE_LIB_DEPENDS= libxine.so:${PORTSDIR}/multimedia/libxine
+XINE_CMAKE_OFF= -DWITH_Xine:Bool=Off
+
+GSTREAMER_DESC= Build GStreamer backend (broken)
+GSTREAMER_USE= GSTREAMER=yes
+GSTREAMER_CMAKE_OFF= -DWITH_GStreamer:Bool=Off
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list