commit | author | age
|
37f874
|
1 |
# |
AL |
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. |
|
5 |
# |
|
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. |
|
9 |
# |
|
10 |
|
|
11 |
# |
|
12 |
# Copyright 2017 Aurelien Larcher |
|
13 |
# Copyright 2019 Michal Nowak |
|
14 |
# |
|
15 |
|
|
16 |
BUILD_BITS= 32_and_64 |
|
17 |
|
|
18 |
include ../../../make-rules/shared-macros.mk |
|
19 |
|
|
20 |
COMPONENT_NAME= wxwidgets-3 |
|
21 |
COMPONENT_VERSION= 3.1.3 |
027cda
|
22 |
COMPONENT_REVISION= 1 |
37f874
|
23 |
COMPONENT_SUMMARY= wxWidgets - Cross-Platform GUI Library |
AL |
24 |
COMPONENT_PROJECT_URL= https://www.wxwidgets.org/ |
|
25 |
COMPONENT_FMRI= library/graphics/wxwidgets-3 |
|
26 |
COMPONENT_CLASSIFICATION=Desktop (GNOME)/Libraries |
|
27 |
COMPONENT_SRC_NAME= wxWidgets |
|
28 |
COMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION) |
|
29 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2 |
|
30 |
COMPONENT_ARCHIVE_URL= \ |
027cda
|
31 |
https://github.com/wxWidgets/wxWidgets/releases/download/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE) |
37f874
|
32 |
COMPONENT_ARCHIVE_HASH= \ |
027cda
|
33 |
sha256:fffc1d34dac54ff7008df327907984b156c50cff5a2f36ee3da6052744ab554a |
37f874
|
34 |
COMPONENT_LICENSE= wxWindows Library license |
AL |
35 |
|
027cda
|
36 |
TEST_TARGET= $(NO_TESTS) |
MN |
37 |
|
37f874
|
38 |
include $(WS_MAKE_RULES)/common.mk |
AL |
39 |
|
|
40 |
# Compilation failure due to char * conversion |
|
41 |
CXXFLAGS += -fpermissive |
|
42 |
|
|
43 |
CONFIGURE_OPTIONS += --with-gtk=3 |
|
44 |
CONFIGURE_OPTIONS += --enable-gui |
|
45 |
CONFIGURE_OPTIONS += --enable-xrc |
|
46 |
CONFIGURE_OPTIONS += --enable-display |
|
47 |
CONFIGURE_OPTIONS += --disable-epollloop |
|
48 |
CONFIGURE_OPTIONS += --enable-geometry |
|
49 |
CONFIGURE_OPTIONS += --enable-graphics_ctx |
|
50 |
CONFIGURE_OPTIONS += --enable-mediactrl |
|
51 |
CONFIGURE_OPTIONS += --enable-mimetype |
|
52 |
CONFIGURE_OPTIONS += --enable-sound |
|
53 |
CONFIGURE_OPTIONS += --enable-unicode |
|
54 |
CONFIGURE_OPTIONS += --enable-webview |
|
55 |
CONFIGURE_OPTIONS += --disable-xlocale |
|
56 |
CONFIGURE_OPTIONS += --with-subdirs |
|
57 |
CONFIGURE_OPTIONS += --with-expat |
|
58 |
CONFIGURE_OPTIONS += --without-gnomevfs |
|
59 |
CONFIGURE_OPTIONS += --with-libjpeg=sys |
|
60 |
CONFIGURE_OPTIONS += --with-libpng=sys |
|
61 |
CONFIGURE_OPTIONS += --with-libtiff=sys |
|
62 |
CONFIGURE_OPTIONS += --without-libmspack |
|
63 |
CONFIGURE_OPTIONS += --with-opengl |
|
64 |
CONFIGURE_OPTIONS += --with-sdl |
|
65 |
|
|
66 |
# Auto-generated dependencies |
|
67 |
REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG) |
|
68 |
REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG) |
|
69 |
REQUIRED_PACKAGES += compress/xz |
|
70 |
REQUIRED_PACKAGES += image/library/libjpeg6 |
|
71 |
REQUIRED_PACKAGES += image/library/libjpeg6-ijg |
|
72 |
REQUIRED_PACKAGES += image/library/libpng16 |
|
73 |
REQUIRED_PACKAGES += image/library/libtiff |
|
74 |
REQUIRED_PACKAGES += library/audio/gstreamer1 |
|
75 |
REQUIRED_PACKAGES += library/audio/gstreamer1/plugin/base |
|
76 |
REQUIRED_PACKAGES += library/desktop/cairo |
|
77 |
REQUIRED_PACKAGES += library/desktop/gdk-pixbuf |
|
78 |
REQUIRED_PACKAGES += library/desktop/gtk3 |
|
79 |
REQUIRED_PACKAGES += library/desktop/pango |
|
80 |
REQUIRED_PACKAGES += library/desktop/webkitgtk2 |
|
81 |
REQUIRED_PACKAGES += library/expat |
|
82 |
REQUIRED_PACKAGES += library/glib2 |
|
83 |
REQUIRED_PACKAGES += library/libnotify |
|
84 |
REQUIRED_PACKAGES += library/libsecret |
|
85 |
REQUIRED_PACKAGES += library/sdl2 |
|
86 |
REQUIRED_PACKAGES += library/zlib |
|
87 |
REQUIRED_PACKAGES += service/opengl/ogl-select |
|
88 |
REQUIRED_PACKAGES += system/library |
|
89 |
REQUIRED_PACKAGES += system/library/fontconfig |
|
90 |
REQUIRED_PACKAGES += system/library/math |
|
91 |
REQUIRED_PACKAGES += x11/library/libsm |
|
92 |
REQUIRED_PACKAGES += x11/library/libx11 |
|
93 |
REQUIRED_PACKAGES += x11/library/libxtst |
|
94 |
REQUIRED_PACKAGES += x11/library/libxxf86vm |