262N/A#
262N/A# CDDL HEADER START
262N/A#
262N/A# The contents of this file are subject to the terms of the
262N/A# Common Development and Distribution License (the "License").
262N/A# You may not use this file except in compliance with the License.
262N/A#
262N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
262N/A# or http://www.opensolaris.org/os/licensing.
262N/A# See the License for the specific language governing permissions
262N/A# and limitations under the License.
262N/A#
262N/A# When distributing Covered Code, include this CDDL HEADER in each
262N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
262N/A# If applicable, add the following below this CDDL HEADER, with the
262N/A# fields enclosed by brackets "[]" replaced with your own identifying
262N/A# information: Portions Copyright [yyyy] [name of copyright owner]
262N/A#
262N/A# CDDL HEADER END
262N/A#
5680N/A
262N/A#
5680N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
5680N/A#
5680N/A# 32-bit preferred as only *-config and source generation scripts delivered.
5680N/ABUILD_BITS= 32_and_64
5992N/ACOMPILER= gcc
262N/Ainclude ../../make-rules/shared-macros.mk
262N/A
5992N/ACOMPONENT_NAME= wxWidgets
5992N/ACOMPONENT_VERSION= 3.0.2
5992N/ACOMPONENT_ARCHIVE= $(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.bz2
844N/ACOMPONENT_ARCHIVE_HASH= \
5992N/A sha256:346879dc554f3ab8d6da2704f651ecb504a22e9d31c17ef5449b129ed711585d
262N/ACOMPONENT_ARCHIVE_URL= http://prdownloads.sourceforge.net/wxwindows/$(COMPONENT_ARCHIVE)
618N/ACOMPONENT_PROJECT_URL= http://www.wxwidgets.org/
1258N/ACOMPONENT_BUGDB= library/wxwidgets
262N/A
5992N/ATPNO= 28307
2899N/A
5992N/ACXXFLAGS += -std=c++11
5992N/A
7165N/A# patch 002-gst1.0.2.patch modifies configure.in
7165N/ACOMPONENT_PREP_ACTION += (cd $(@D); autoconf);
7165N/A
5680N/ATEST_TARGET= $(NO_TESTS)
6688N/A
6688N/A# Depends on newer cairo, which cannot be updated in S11.
6688N/Ainclude $(WS_MAKE_RULES)/no-evaluation.mk
6688N/A
5680N/Ainclude $(WS_MAKE_RULES)/common.mk
262N/A
262N/APKG_PROTO_DIRS += $(COMPONENT_DIR)/man
262N/A
262N/ALDFLAGS += $(CC_BITS)
262N/A
7334N/A# Use the GNOME 3 libnotify even though the GNOME 2 one is still the default
7334N/APKG_CONFIG_PATHS.32 += $(PKG_CONFIG_PATH.32)/libnotify-4
7334N/APKG_CONFIG_PATHS.64 += $(PKG_CONFIG_PATH.64)/libnotify-4
7334N/APKG_CONFIG_PATHS += $(PKG_CONFIG_PATHS.$(BITS))
7334N/ALD_OPTIONS.32 += -L $(USRLIB.32)/libnotify-4 -R $(USRLIB.32)/libnotify-4
7334N/ALD_OPTIONS.64 += -L $(USRLIB.64)/libnotify-4 -R $(USRLIB.64)/libnotify-4
7334N/ALD_OPTIONS += $(LD_OPTIONS.$(BITS))
7334N/A
5992N/ACONFIGURE_OPTIONS += --with-gtk=2
262N/ACONFIGURE_OPTIONS += --enable-mimetype
262N/ACONFIGURE_OPTIONS += --enable-xrc
262N/ACONFIGURE_OPTIONS += --with-subdirs
262N/ACONFIGURE_OPTIONS += --with-expat
262N/ACONFIGURE_OPTIONS += --with-sdl
262N/ACONFIGURE_OPTIONS += --without-gnomeprint
262N/ACONFIGURE_OPTIONS += --without-gnomevfs
262N/ACONFIGURE_OPTIONS += --with-opengl
262N/ACONFIGURE_OPTIONS += --without-libmpack
262N/A
3817N/AREQUIRED_PACKAGES += image/library/libjpeg
3817N/AREQUIRED_PACKAGES += image/library/libpng
3817N/AREQUIRED_PACKAGES += image/library/libtiff
5992N/AREQUIRED_PACKAGES += library/desktop/cairo
3817N/AREQUIRED_PACKAGES += library/desktop/gdk-pixbuf
7165N/AREQUIRED_PACKAGES += library/desktop/gstreamer-1
7165N/AREQUIRED_PACKAGES += library/desktop/gstreamer-1/gst-plugins-base
3817N/AREQUIRED_PACKAGES += library/desktop/gtk2
7334N/AREQUIRED_PACKAGES += library/desktop/libnotify
3817N/AREQUIRED_PACKAGES += library/desktop/pango
3817N/AREQUIRED_PACKAGES += library/expat
3817N/AREQUIRED_PACKAGES += library/glib2
3817N/AREQUIRED_PACKAGES += library/sdl
3817N/AREQUIRED_PACKAGES += library/zlib
5992N/AREQUIRED_PACKAGES += system/library
5992N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime
5992N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
3817N/AREQUIRED_PACKAGES += system/library/math
3817N/AREQUIRED_PACKAGES += x11/library/libsm
3817N/AREQUIRED_PACKAGES += x11/library/libx11
3817N/AREQUIRED_PACKAGES += x11/library/libxxf86vm