5325N/A#
5325N/A# CDDL HEADER START
5325N/A#
5325N/A# The contents of this file are subject to the terms of the
5325N/A# Common Development and Distribution License (the "License").
5325N/A# You may not use this file except in compliance with the License.
5325N/A#
5325N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5325N/A# or http://www.opensolaris.org/os/licensing.
5325N/A# See the License for the specific language governing permissions
5325N/A# and limitations under the License.
5325N/A#
5325N/A# When distributing Covered Code, include this CDDL HEADER in each
5325N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5325N/A# If applicable, add the following below this CDDL HEADER, with the
5325N/A# fields enclosed by brackets "[]" replaced with your own identifying
5325N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5325N/A#
5325N/A# CDDL HEADER END
5325N/A#
5325N/A
5325N/A#
5325N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
5325N/A#
6406N/ABUILD_BITS= 64_and_32
5325N/Ainclude ../../../make-rules/shared-macros.mk
5325N/A
5325N/ACOMPONENT_NAME= evince
6556N/ACOMPONENT_VERSION= 3.21.4
5325N/ACOMPONENT_PROJECT_URL= https://wiki.gnome.org/Apps/Evince
6406N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
5325N/ACOMPONENT_ARCHIVE_HASH= \
6556N/A sha256:12f0a411380b476a540a9e0629ca8ca938dad5e787e4ed1ff4f467e0356b1ffd
6556N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnome.org/pub/GNOME/sources/$(COMPONENT_NAME)/3.21/$(COMPONENT_ARCHIVE)
5375N/ACOMPONENT_BUGDB= gnome/evince
6556N/ATPNO= 30508
5325N/A
5680N/ATEST_TARGET= $(NO_TESTS)
6406N/A
6406N/A# Needs other components that are not available on S11.
6406N/Aifeq ($(BUILD_TYPE), evaluation)
6406N/ABUILD_32_and_64=
6406N/AINSTALL_32_and_64=
6406N/APUBLISH_STAMP=
6406N/Aendif
6406N/A
5680N/Ainclude $(WS_MAKE_RULES)/common.mk
5325N/A
5325N/A# Need to pick up the GNU version of xgettext.
5680N/APATH=$(GNUBIN):$(USRBINDIR)
5325N/A
5325N/ACOMPONENT_PREP_ACTION = \
5325N/A (cd $(@D) ; \
5680N/A libtoolize --force --copy ; \
5325N/A intltoolize --force --copy --automake ; \
5325N/A aclocal -I . ; \
5325N/A autoheader ; \
5325N/A automake -a -c -f ; \
5325N/A autoconf )
5325N/A
6406N/A# For now, all things built for C++11 require gcc.
6406N/A# Also, all components using gobject-introspection must be built with gcc as
6406N/A# gobject-introspection does not produce correct results when using Studio.
6406N/ACOMPILER=gcc
6406N/ACXXFLAGS += -std=c++11
6406N/A
6406N/ACPPFLAGS += "-I$(USRINCDIR)/libxml2"
5325N/ALDFLAGS += $(CC_BITS) -lgmodule-2.0 -lm
6406N/A
5325N/ACONFIGURE_OPTIONS += --libexecdir="$(USRLIB)"
5325N/ACONFIGURE_OPTIONS += --sysconfdir="$(ETCDIR)"
6406N/A
6406N/A# Browser plugins of any form are obsolete at this point.
6406N/ACONFIGURE_OPTIONS += --disable-browser-plugin
6406N/A# Requires djvulibre library.
6406N/ACONFIGURE_OPTIONS += --disable-djvu
6406N/A# Requires LaTeX libraries.
6406N/ACONFIGURE_OPTIONS += --disable-dvi
6406N/ACONFIGURE_OPTIONS += --disable-static
6406N/ACONFIGURE_OPTIONS += --enable-comics
6406N/ACONFIGURE_OPTIONS += --enable-dbus
6406N/A# Required for other components.
6406N/ACONFIGURE_OPTIONS += --enable-introspection
6406N/ACONFIGURE_OPTIONS += --enable-libgnome-desktop
6406N/A# Re-enable when all of the new GNOME 3 desktop is integrated.
6406N/ACONFIGURE_OPTIONS += --disable-nautilus
6406N/ACONFIGURE_OPTIONS += --enable-pdf
6406N/ACONFIGURE_OPTIONS += --enable-previewer
6406N/ACONFIGURE_OPTIONS += --enable-ps
6406N/ACONFIGURE_OPTIONS += --enable-shared
6406N/ACONFIGURE_OPTIONS += --enable-t1lib
5680N/ACONFIGURE_OPTIONS += --enable-thumbnailer
6406N/ACONFIGURE_OPTIONS += --enable-tiff
6406N/ACONFIGURE_OPTIONS += --enable-viewer
6406N/ACONFIGURE_OPTIONS += --enable-xps
5325N/A
5325N/A# Always show the build and link lines for easier debugging.
5325N/ACOMPONENT_BUILD_ARGS += V=1
5325N/A
6406N/A# Needed to find GNU msgfmt.
6406N/ACOMPONENT_BUILD_ENV += PATH="/usr/gnu/bin:$(PATH)"
6406N/A
6406N/AREQUIRED_PACKAGES += archiver/unrar
6406N/AREQUIRED_PACKAGES += desktop/pdf-viewer/poppler
5325N/AREQUIRED_PACKAGES += gnome/file-manager/nautilus
6607N/AREQUIRED_PACKAGES += gnome/gsettings-desktop-schemas
6640N/AREQUIRED_PACKAGES += gnome/theme/adwaita-icon-theme
5325N/AREQUIRED_PACKAGES += image/library/libtiff
5325N/AREQUIRED_PACKAGES += library/desktop/atk
5325N/AREQUIRED_PACKAGES += library/desktop/cairo
5325N/AREQUIRED_PACKAGES += library/desktop/gdk-pixbuf
6556N/AREQUIRED_PACKAGES += library/desktop/gstreamer-1
6556N/AREQUIRED_PACKAGES += library/desktop/gstreamer-1/gst-plugins-base
6406N/AREQUIRED_PACKAGES += library/desktop/gtk3
6406N/AREQUIRED_PACKAGES += library/desktop/libgxps
5325N/AREQUIRED_PACKAGES += library/desktop/pango
5325N/AREQUIRED_PACKAGES += library/glib2
6406N/AREQUIRED_PACKAGES += library/gnome/gnome-desktop
6406N/AREQUIRED_PACKAGES += library/gnome/libsecret
6406N/AREQUIRED_PACKAGES += library/libspectre
5325N/AREQUIRED_PACKAGES += library/libxml2
5795N/AREQUIRED_PACKAGES += library/perl-5/xml-parser
6406N/AREQUIRED_PACKAGES += library/zlib
6406N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime
6406N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
5325N/AREQUIRED_PACKAGES += system/library/math
5325N/AREQUIRED_PACKAGES += x11/library/libice
5325N/AREQUIRED_PACKAGES += x11/library/libsm
5325N/AREQUIRED_PACKAGES += x11/library/libx11