diff options
author | drochner <drochner@pkgsrc.org> | 2007-02-08 21:27:14 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2007-02-08 21:27:14 +0000 |
commit | f8e351cd93401cfbf29867fc0be0b10a7be3b79f (patch) | |
tree | 8f4ee7856ec445d9da598bbd95b4754a1b7e4e85 /multimedia/gstreamer0.10/Makefile | |
parent | d3f76b4e095fb6205138c2cb9f68ce5631632d94 (diff) | |
download | pkgsrc-f8e351cd93401cfbf29867fc0be0b10a7be3b79f.tar.gz |
add a "gstcheck" option which makes that the "check" library is pulled in
and an additional library library gets built which can be used for
selftests of gstreamer and plugins
not enabled per default
Diffstat (limited to 'multimedia/gstreamer0.10/Makefile')
-rw-r--r-- | multimedia/gstreamer0.10/Makefile | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/multimedia/gstreamer0.10/Makefile b/multimedia/gstreamer0.10/Makefile index 8581d3c40e0..8ab3106ffe3 100644 --- a/multimedia/gstreamer0.10/Makefile +++ b/multimedia/gstreamer0.10/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2007/01/15 02:35:28 rillig Exp $ +# $NetBSD: Makefile,v 1.13 2007/02/08 21:27:14 drochner Exp $ # DISTNAME= gstreamer-0.10.11 @@ -46,6 +46,18 @@ BUILDLINK_API_DEPENDS.glib2+= glib2>=2.4.0nb1 .endif .undef f +PKG_OPTIONS_VAR= PKG_OPTIONS.gstreamer +PKG_SUPPORTED_OPTIONS= gstcheck +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mgstcheck) +.include "../../devel/check/buildlink3.mk" +PLIST_SUBST+= GSTCHECK="" +TEST_TARGET= check-torture +.else +PLIST_SUBST+= GSTCHECK="@comment " +.endif + .include "../../devel/glib2/buildlink3.mk" .include "../../devel/popt/buildlink3.mk" .include "../../textproc/libxml2/buildlink3.mk" |