From db3c529a2c84f0b67ad9d7e4077e1a0bc3877da4 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Sat, 16 Apr 2011 21:06:49 +0200 Subject: [PATCH] wxwidgets: improved to enable wxMediaCtrl class in the case gstreamer is available Note: We need to change the build priority of the gstreamer package so it gets build before the wxwidgets package, which shouldn't be a problem because the gstreamer core only depends on glib and libxml2. --- x11/wxwidgets/wxwidgets.conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/x11/wxwidgets/wxwidgets.conf b/x11/wxwidgets/wxwidgets.conf index 92ec18729..06374625c 100644 --- a/x11/wxwidgets/wxwidgets.conf +++ b/x11/wxwidgets/wxwidgets.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../wxwidgets/wxwidgets.conf -# Copyright (C) 2006 - 2008 The OpenSDE Project +# Copyright (C) 2006 - 2011 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # @@ -36,6 +36,11 @@ var_append confopt ' ' "--with-zlib" #not working in 2.5.3.1: var_append confopt ' ' "--enable-accessibility" var_append confopt ' ' "--enable-controls" +# enable wxMediaCtrl class +if pkginstalled -f gstreamer; then + var_append confopt ' ' "--enable-mediactrl" +fi + # needed for xmule and audacity var_append confopt ' ' "--enable-compat22"