From owner-svn-ports-head@freebsd.org Sat Nov 16 15:19:52 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5B6FA1C76B7; Sat, 16 Nov 2019 15:19:52 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47Ff6017BVz4RsC; Sat, 16 Nov 2019 15:19:52 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B4ED834C4; Sat, 16 Nov 2019 15:19:51 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xAGFJpCf028856; Sat, 16 Nov 2019 15:19:51 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xAGFJoTh028852; Sat, 16 Nov 2019 15:19:50 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201911161519.xAGFJoTh028852@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Sat, 16 Nov 2019 15:19:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r517751 - in head/multimedia: gstreamer-plugins gstreamer-plugins-good gstreamer1-plugins X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: in head/multimedia: gstreamer-plugins gstreamer-plugins-good gstreamer1-plugins X-SVN-Commit-Revision: 517751 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Nov 2019 15:19:52 -0000 Author: tobik Date: Sat Nov 16 15:19:50 2019 New Revision: 517751 URL: https://svnweb.freebsd.org/changeset/ports/517751 Log: */gstreamer*: Prevent false QA warnings about missing USES gstreamer1?-plugins/Makefile.common can under some circumstances create empty USE_XORG, USE_GNOME, etc. which trigger the warnings. gstreamer-plugins-good triggers the USE_XORG warning because USES is overwritten again after including the master Makefile. gstreamer-plugin-sdl was missing USES=sdl Approved by: multimedia (kwm) Differential Revision: https://reviews.freebsd.org/D22406 Modified: head/multimedia/gstreamer-plugins-good/Makefile head/multimedia/gstreamer-plugins/Makefile head/multimedia/gstreamer-plugins/Makefile.common head/multimedia/gstreamer1-plugins/Makefile.common Modified: head/multimedia/gstreamer-plugins-good/Makefile ============================================================================== --- head/multimedia/gstreamer-plugins-good/Makefile Sat Nov 16 15:11:06 2019 (r517750) +++ head/multimedia/gstreamer-plugins-good/Makefile Sat Nov 16 15:19:50 2019 (r517751) @@ -15,8 +15,7 @@ MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer-plugi 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 Modified: head/multimedia/gstreamer-plugins/Makefile ============================================================================== --- head/multimedia/gstreamer-plugins/Makefile Sat Nov 16 15:11:06 2019 (r517750) +++ head/multimedia/gstreamer-plugins/Makefile Sat Nov 16 15:19:50 2019 (r517751) @@ -46,6 +46,9 @@ SHLIB_VERSION= 1 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 Modified: head/multimedia/gstreamer-plugins/Makefile.common ============================================================================== --- head/multimedia/gstreamer-plugins/Makefile.common Sat Nov 16 15:11:06 2019 (r517750) +++ head/multimedia/gstreamer-plugins/Makefile.common Sat Nov 16 15:19:50 2019 (r517751) @@ -449,6 +449,7 @@ gst_resindvd_PLIST_FILES= ${GST_LIB_DIR}/libresindvd.l 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 @@ USES+= ${gst_${GST_PLUGIN}_USES} 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} Modified: head/multimedia/gstreamer1-plugins/Makefile.common ============================================================================== --- head/multimedia/gstreamer1-plugins/Makefile.common Sat Nov 16 15:11:06 2019 (r517750) +++ head/multimedia/gstreamer1-plugins/Makefile.common Sat Nov 16 15:19:50 2019 (r517751) @@ -539,8 +539,10 @@ gst_${GST_PLUGIN}_EXTRA_LIBS?= 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 @@ RUN_DEPENDS+= ${gst_${GST_PLUGIN}_RUN_DEPENDS} 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}