summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2019-07-12 11:57:07 +0200
committerUlrich Müller <ulm@gentoo.org>2019-07-12 11:57:54 +0200
commit599639682ab170a9bfa83348f9f84de0f12fc71d (patch)
tree63a1e4cc6173e2f574accd070e49688c11a52537 /eclass/wxwidgets.eclass
parentdev-embedded/platformio: Fix py3 in scripts (diff)
downloadgentoo-599639682ab170a9bfa83348f9f84de0f12fc71d.tar.gz
gentoo-599639682ab170a9bfa83348f9f84de0f12fc71d.tar.bz2
gentoo-599639682ab170a9bfa83348f9f84de0f12fc71d.zip
wxwidgets.eclass: Whitespace.
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'eclass/wxwidgets.eclass')
-rw-r--r--eclass/wxwidgets.eclass45
1 files changed, 22 insertions, 23 deletions
diff --git a/eclass/wxwidgets.eclass b/eclass/wxwidgets.eclass
index 0cbf49590402..1cd6e49505df 100644
--- a/eclass/wxwidgets.eclass
+++ b/eclass/wxwidgets.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: wxwidgets.eclass
@@ -7,19 +7,19 @@
# @SUPPORTED_EAPIS: 0 1 2 3 4 5 6
# @BLURB: Manages build configuration for wxGTK-using packages.
# @DESCRIPTION:
-# This eclass sets up the proper environment for ebuilds using the wxGTK
-# libraries. Ebuilds using wxPython do not need to inherit this eclass.
+# This eclass sets up the proper environment for ebuilds using the wxGTK
+# libraries. Ebuilds using wxPython do not need to inherit this eclass.
#
-# More specifically, this eclass controls the configuration chosen by the
-# /usr/bin/wx-config wrapper.
+# More specifically, this eclass controls the configuration chosen by the
+# /usr/bin/wx-config wrapper.
#
-# Using the eclass is simple:
+# Using the eclass is simple:
#
-# - set WX_GTK_VER equal to a SLOT of wxGTK
-# - call setup-wxwidgets()
+# - set WX_GTK_VER equal to a SLOT of wxGTK
+# - call setup-wxwidgets()
#
-# The configuration chosen is based on the version required and the flags
-# wxGTK was built with.
+# The configuration chosen is based on the version required and the flags
+# wxGTK was built with.
if [[ -z ${_WXWIDGETS_ECLASS} ]]; then
@@ -64,22 +64,21 @@ case ${EAPI} in
;;
esac
-# @FUNCTION: setup-wxwidgets
+# @FUNCTION: setup-wxwidgets
# @DESCRIPTION:
+# Call this in your ebuild to set up the environment for wxGTK. Besides
+# controlling the wx-config wrapper this exports WX_CONFIG containing
+# the path to the config in case it needs to be passed to a build system.
#
-# Call this in your ebuild to set up the environment for wxGTK. Besides
-# controlling the wx-config wrapper this exports WX_CONFIG containing
-# the path to the config in case it needs to be passed to a build system.
+# In wxGTK-2.9 and later it also controls the level of debugging output
+# from the libraries. In these versions debugging features are enabled
+# by default and need to be disabled at the package level. Because this
+# causes many warning dialogs to pop up during runtime we add -DNDEBUG to
+# CPPFLAGS to disable debugging features (unless your ebuild has a debug
+# USE flag and it's enabled). If you don't like this behavior you can set
+# WX_DISABLE_NDEBUG to override it.
#
-# In wxGTK-2.9 and later it also controls the level of debugging output
-# from the libraries. In these versions debugging features are enabled
-# by default and need to be disabled at the package level. Because this
-# causes many warning dialogs to pop up during runtime we add -DNDEBUG to
-# CPPFLAGS to disable debugging features (unless your ebuild has a debug
-# USE flag and it's enabled). If you don't like this behavior you can set
-# WX_DISABLE_NDEBUG to override it.
-#
-# See: http://docs.wxwidgets.org/trunk/overview_debugging.html
+# See: http://docs.wxwidgets.org/trunk/overview_debugging.html
setup-wxwidgets() {
local wxtoolkit wxdebug wxconf