Index: Mk/bsd.gstreamer.mk =================================================================== --- Mk/bsd.gstreamer.mk +++ Mk/bsd.gstreamer.mk @@ -168,6 +168,7 @@ openjpeg \ openmpt \ png \ + qt \ rsvg \ rtmp \ smoothstreaming \ @@ -406,6 +407,9 @@ png_DEPENDS= graphics/gstreamer-plugins-png png_IMPL= good + +qt_DEPENDS= x11-toolkits/gstreamer-plugins-qt +qt_IMPL= good rsvg_DEPENDS= graphics/gstreamer-plugins-rsvg rsvg_IMPL= bad Index: graphics/Makefile =================================================================== --- graphics/Makefile +++ graphics/Makefile @@ -324,6 +324,7 @@ SUBDIR += gstreamer1-plugins-openexr SUBDIR += gstreamer1-plugins-openjpeg SUBDIR += gstreamer1-plugins-png + SUBDIR += gstreamer1-plugins-qt SUBDIR += gstreamer1-plugins-rsvg SUBDIR += gstreamer1-plugins-vulkan SUBDIR += gstreamer1-plugins-webp Index: graphics/gstreamer1-plugins-qt/Makefile =================================================================== --- /dev/null +++ graphics/gstreamer1-plugins-qt/Makefile @@ -0,0 +1,13 @@ +# $FreeBSD$ + +PORTREVISION= 0 +CATEGORIES= graphics + +COMMENT= GStreamer Qt videosink plugin + +GST_PLUGIN= qt +DIST= good + +MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins + +.include "${MASTERDIR}/Makefile" Index: multimedia/gstreamer1-plugins/Makefile.common =================================================================== --- multimedia/gstreamer1-plugins/Makefile.common +++ multimedia/gstreamer1-plugins/Makefile.common @@ -109,6 +109,7 @@ libpng \ mpg123 \ pulse \ + qt \ shout2 \ soup \ speex \ @@ -400,6 +401,12 @@ gst_pulse_LIB_DEPENDS= libpulse.so:audio/pulseaudio gst_pulse_PLIST_FILES= ${GST_LIB_DIR}/libgstpulseaudio.so +# qt +gst_qt_USES= qt:5 +gst_qt_USE_QT= core gui declarative buildtools_build network x11extras +gst_qt_USE_GSTREAMER1= gl +gst_qt_PLIST_FILES= ${GST_LIB_DIR}/libgstqmlgl.so + # resindvd gst_resindvd_BUILD_DEPENDS= libdvdnav>=4.1.2:multimedia/libdvdnav gst_resindvd_LIB_DEPENDS= libdvdread.so:multimedia/libdvdread @@ -529,6 +536,7 @@ gst_${GST_PLUGIN}_LIB_DEPENDS?= gst_${GST_PLUGIN}_RUN_DEPENDS?= gst_${GST_PLUGIN}_USES?= +gst_${GST_PLUGOM}_USE_QT?= gst_${GST_PLUGIN}_USE_XORG?= gst_${GST_PLUGIN}_PLIST_FILES?= \ ${GST_LIB_DIR}/libgst${GST_PLUGIN}${GST_PLIST_SUFFIX}.so @@ -551,6 +559,7 @@ EXTRA_LIBS+= ${gst_${GST_PLUGIN}_EXTRA_LIBS} USE_XORG+= ${gst_${GST_PLUGIN}_USE_XORG} USE_GNOME+= ${gst_${GST_PLUGIN}_USE_GNOME} +USE_QT+= ${gst_${GST_PLUGIN}_USE_QT} CONFIGURE_ENV+= ${gst_${GST_PLUGIN}_CONFIGURE_ENV} USE_GL+= ${gst_${GST_PLUGIN}_USE_GL}