2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2017 Aurelien Larcher
13 # Copyright 2019 Michal Nowak
16 USE_PARALLEL_BUILD
= yes
17 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_NAME
= wxwidgets-3
20 COMPONENT_MAJOR_VERSION
= 3.2
21 COMPONENT_VERSION
= $(COMPONENT_MAJOR_VERSION
).6
22 COMPONENT_SUMMARY
= wxWidgets
- Cross-Platform GUI Library
23 COMPONENT_PROJECT_URL
= https
://www.wxwidgets.org
/
24 COMPONENT_SRC_NAME
= wxWidgets
25 COMPONENT_SRC
= $(COMPONENT_SRC_NAME
)-$(COMPONENT_VERSION
)
26 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.bz2
27 COMPONENT_ARCHIVE_URL
= https
://github.com
/wxWidgets
/wxWidgets
/releases
/download
/v
$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
28 COMPONENT_ARCHIVE_HASH
= sha256
:939e5b77ddc5b6092d1d7d29491fe67010a2433cf9b9c0d841ee4d04acb9dce7
29 COMPONENT_FMRI
= library
/graphics
/$(COMPONENT_NAME
)
30 COMPONENT_CLASSIFICATION
=Desktop
(GNOME
)/Libraries
31 COMPONENT_LICENSE
= wxWindows Library license
32 COMPONENT_LICENSE_FILE
= docs
/licence.txt
34 TEST_TARGET
= $(NO_TESTS
)
35 include $(WS_MAKE_RULES
)/common.mk
37 CONFIGURE_OPTIONS
+= --with-gtk
=2
38 CONFIGURE_OPTIONS
+= --without-gtkprint
39 CONFIGURE_OPTIONS
+= --enable-gui
40 CONFIGURE_OPTIONS
+= --enable-xrc
41 CONFIGURE_OPTIONS
+= --enable-display
42 CONFIGURE_OPTIONS
+= --disable-epollloop
43 CONFIGURE_OPTIONS
+= --enable-geometry
44 CONFIGURE_OPTIONS
+= --enable-graphics_ctx
45 CONFIGURE_OPTIONS
+= --enable-mediactrl
46 CONFIGURE_OPTIONS
+= --enable-mimetype
47 CONFIGURE_OPTIONS
+= --enable-sound
48 CONFIGURE_OPTIONS
+= --enable-unicode
49 CONFIGURE_OPTIONS
+= --enable-webview
50 CONFIGURE_OPTIONS
+= --disable-xlocale
51 CONFIGURE_OPTIONS
+= --with-subdirs
52 CONFIGURE_OPTIONS
+= --with-expat
53 CONFIGURE_OPTIONS
+= --without-gnomevfs
54 CONFIGURE_OPTIONS
+= --with-libjpeg
=sys
55 CONFIGURE_OPTIONS
+= --with-libpng
=sys
56 CONFIGURE_OPTIONS
+= --with-regex
=sys
57 CONFIGURE_OPTIONS
+= --with-libtiff
=sys
58 CONFIGURE_OPTIONS
+= --without-libmspack
59 CONFIGURE_OPTIONS
+= --with-opengl
60 CONFIGURE_OPTIONS
+= --with-sdl
62 # Note: We need to uninstall some packages from the encumbered repository before building this as they might be detected and used otherwise:
63 # pfexec pkg uninstall library/audio/gstreamer1/plugin/bad library/audio/gstreamer1/devtools
65 # Auto-generated dependencies
66 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
67 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
68 REQUIRED_PACKAGES
+= $(JPEG_IMPLEM_PKG
)
69 REQUIRED_PACKAGES
+= image
/library
/libjpeg-turbo
70 REQUIRED_PACKAGES
+= image
/library
/libpng16
71 REQUIRED_PACKAGES
+= image
/library
/libtiff
72 REQUIRED_PACKAGES
+= library
/audio
/gstreamer1
73 REQUIRED_PACKAGES
+= library
/audio
/gstreamer1
/plugin
/base
74 REQUIRED_PACKAGES
+= library
/desktop
/cairo
75 REQUIRED_PACKAGES
+= library
/desktop
/gdk-pixbuf
76 REQUIRED_PACKAGES
+= library
/desktop
/gtk2
77 REQUIRED_PACKAGES
+= library
/desktop
/pango
78 REQUIRED_PACKAGES
+= library
/expat
79 REQUIRED_PACKAGES
+= library
/glib2
80 REQUIRED_PACKAGES
+= library
/libnotify
81 REQUIRED_PACKAGES
+= library
/libsecret
82 REQUIRED_PACKAGES
+= library
/pcre2
83 REQUIRED_PACKAGES
+= library
/sdl2
84 REQUIRED_PACKAGES
+= library
/zlib
85 REQUIRED_PACKAGES
+= shell/ksh93
86 REQUIRED_PACKAGES
+= system
/library
87 REQUIRED_PACKAGES
+= system
/library
/fontconfig
88 REQUIRED_PACKAGES
+= system
/library
/math
89 REQUIRED_PACKAGES
+= web
/curl
90 REQUIRED_PACKAGES
+= x11
/library
/libsm
91 REQUIRED_PACKAGES
+= x11
/library
/libx11
92 REQUIRED_PACKAGES
+= x11
/library
/libxkbcommon
93 REQUIRED_PACKAGES
+= x11
/library
/libxtst
94 REQUIRED_PACKAGES
+= x11
/library
/libxxf86vm