Index: head/multimedia/gstreamer-plugins-good/Makefile =================================================================== --- head/multimedia/gstreamer-plugins-good/Makefile +++ head/multimedia/gstreamer-plugins-good/Makefile @@ -15,8 +15,7 @@ BUILD_DEPENDS+= gstreamer-plugins>=${GST_VERSION}${GST_MINOR_VERSION}:multimedia/gstreamer-plugins RUN_DEPENDS+= gstreamer-plugins>=${GST_VERSION}${GST_MINOR_VERSION}:multimedia/gstreamer-plugins -USES+= xorg -USE_XORG+= xdamage +USE_XORG= xdamage gst_good_DIST= good GOOD_GST_DIRS= gst sys po Index: head/multimedia/gstreamer-plugins/Makefile =================================================================== --- head/multimedia/gstreamer-plugins/Makefile +++ head/multimedia/gstreamer-plugins/Makefile @@ -46,6 +46,9 @@ VERSION= ${GST_VERSION} WANT_GSTREAMER= yes USES= gettext gmake gnome libtool:keepla pathfix pkgconfig shebangfix tar:bzip2 +.if defined(USE_XORG) +USES+= xorg +.endif USE_GNOME+= introspection:build GNU_CONFIGURE= yes GST_PLUGIN?= base Index: head/multimedia/gstreamer-plugins/Makefile.common =================================================================== --- head/multimedia/gstreamer-plugins/Makefile.common +++ head/multimedia/gstreamer-plugins/Makefile.common @@ -449,6 +449,7 @@ gst_resindvd_DIST= bad # sdl +gst_sdl_USES= sdl gst_sdl_USE_SDL+= sdl gst_sdl_PLIST_FILES= ${GST_LIB_DIR}/libgstsdl.la \ ${GST_LIB_DIR}/libgstsdl.so @@ -622,7 +623,9 @@ PLIST_FILES= ${gst_${GST_PLUGIN}_PLIST_FILES} PLIST_DIRS= ${gst_${GST_PLUGIN}_PLIST_DIRS} EXTRA_LIBS+= ${gst_${GST_PLUGIN}_EXTRA_LIBS} +.if ${gst_${GST_PLUGIN}_USE_GNOME}!="" USE_GNOME+= ${gst_${GST_PLUGIN}_USE_GNOME} +.endif CONFIGURE_ENV+= ${gst_${GST_PLUGIN}_CONFIGURE_ENV} .if ${gst_${GST_PLUGIN}_GCONF_SCHEMAS}!="" GCONF_SCHEMAS= ${gst_${GST_PLUGIN}_GCONF_SCHEMAS} Index: head/multimedia/gstreamer1-plugins/Makefile.common =================================================================== --- head/multimedia/gstreamer1-plugins/Makefile.common +++ head/multimedia/gstreamer1-plugins/Makefile.common @@ -539,8 +539,10 @@ gst_${GST_PLUGIN}_PREBUILD_DIR?= gst_${GST_PLUGIN}_GST_PLUGIN_DIR?= ext/${GST_PLUGIN} gst_${GST_PLUGIN}_POSTBUILD_DIR?= +gst_${GST_PLUGIN}_USE_XORG?= gst_${GST_PLUGIN}_USE_GNOME?= gst_${GST_PLUGIN}_CONFIGURE_ENV?= +gst_${GST_PLUGIN}_USE_GL?= gst_${GST_PLUGIN}_GLIB_SCHEMAS?= gst_${GST_PLUGIN}_CONFIGURE_ARGS?= gst_${GST_PLUGIN}_USE_SDL?= @@ -552,10 +554,16 @@ USES+= ${gst_${GST_PLUGIN}_USES} PLIST_FILES= ${gst_${GST_PLUGIN}_PLIST_FILES} EXTRA_LIBS+= ${gst_${GST_PLUGIN}_EXTRA_LIBS} +.if ${gst_${GST_PLUGIN}_USE_XORG}!="" USE_XORG+= ${gst_${GST_PLUGIN}_USE_XORG} +.endif +.if ${gst_${GST_PLUGIN}_USE_GNOME}!="" USE_GNOME+= ${gst_${GST_PLUGIN}_USE_GNOME} +.endif CONFIGURE_ENV+= ${gst_${GST_PLUGIN}_CONFIGURE_ENV} +.if ${gst_${GST_PLUGIN}_USE_GL}!="" USE_GL+= ${gst_${GST_PLUGIN}_USE_GL} +.endif .if ${gst_${GST_PLUGIN}_GLIB_SCHEMAS}!="" GLIB_SCHEMAS= ${gst_${GST_PLUGIN}_GLIB_SCHEMAS}