forked from pool/wxWidgets-3_2
make bot and static parsers happy
OBS-URL: https://build.opensuse.org/package/show/X11:wxWidgets/wxWidgets-3_2?expand=0&rev=70
This commit is contained in:
parent
d3920c3ddd
commit
d63229ff8f
@ -18,10 +18,12 @@
|
||||
|
||||
%global flavor @BUILD_FLAVOR@%{nil}
|
||||
%if "%{flavor}" == ""
|
||||
Name: wxWidgets-3_2
|
||||
ExclusiveArch: do_not_build
|
||||
%endif
|
||||
|
||||
%if "%{flavor}" == "GTK2"
|
||||
Name: wxWidgets-3_2
|
||||
%define pkgname wxWidgets-3_2
|
||||
%define variant suse
|
||||
%define gtk_version 2
|
||||
@ -31,6 +33,7 @@ ExclusiveArch: do_not_build
|
||||
%endif
|
||||
|
||||
%if "%{flavor}" == "GTK3"
|
||||
Name: wxGTK3-3_2
|
||||
%define pkgname wxGTK3-3_2
|
||||
%define variant suse
|
||||
%define gtk_version 3
|
||||
@ -41,6 +44,7 @@ ExclusiveArch: do_not_build
|
||||
%endif
|
||||
|
||||
%if "%{flavor}" == "GTK3-nostl"
|
||||
Name: wxWidgets-3_2-nostl
|
||||
%define pkgname wxWidgets-3_2-nostl
|
||||
%define variant suse-nostl
|
||||
%define gtk_version 3
|
||||
@ -53,14 +57,14 @@ wxString and instead rely on the wxChar pointer API.
|
||||
%endif
|
||||
|
||||
%if "%{flavor}" == "Qt"
|
||||
%define pkgname wxWidgets-3_2
|
||||
Name: wxQt-3_2
|
||||
%define pkgname wxQt-3_2
|
||||
%define variant suse
|
||||
%define toolkit qt
|
||||
%define base_packages 0
|
||||
%bcond_with webview
|
||||
%endif
|
||||
|
||||
Name: %{pkgname}
|
||||
%define base_name wxWidgets-3_2
|
||||
%define tarball_name wxWidgets
|
||||
# Use default debug level, enabling exceptions
|
||||
|
Loading…
Reference in New Issue
Block a user