Makefile revision 5680
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#
5680N/ABUILD_BITS= 32
5325N/Ainclude ../../../make-rules/shared-macros.mk
5325N/A
5325N/ACOMPONENT_NAME= evince
5325N/ACOMPONENT_VERSION= 2.30.3
5325N/ACOMPONENT_PROJECT_URL= https://wiki.gnome.org/Apps/Evince
5325N/ACOMPONENT_ARCHIVE_HASH= \
5325N/A sha256:1ac6fb056c50a6298b31f696e196b5b940098c46f35dec85e69ea0c5d5b015de
5325N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnome.org/pub/GNOME/sources/$(COMPONENT_NAME)/2.30/$(COMPONENT_ARCHIVE)
5375N/ACOMPONENT_BUGDB= gnome/evince
5325N/ATPNO= 8693
5325N/A
5680N/ATEST_TARGET= $(NO_TESTS)
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
5680N/ACFLAGS += "-I$(USRINCDIR)/libxml2"
5325N/ALDFLAGS += $(CC_BITS) -lgmodule-2.0 -lm
5325N/A
5325N/ACONFIGURE_OPTIONS += --libexecdir="$(USRLIB)"
5325N/ACONFIGURE_OPTIONS += --sysconfdir="$(ETCDIR)"
5680N/ACONFIGURE_OPTIONS += --disable-comics
5680N/ACONFIGURE_OPTIONS += --enable-thumbnailer
5325N/A
5325N/A# Assumes GNU msgfmt is in PATH.
5325N/ACOMPONENT_BUILD_ENV += PATH="$(PATH)"
5325N/A
5680N/ACOMPONENT_BUILD_ENV += LDFLAGS="$(LDFLAGS) $(studio_NORUNPATH)"
5325N/A
5325N/A# Always show the build and link lines for easier debugging.
5325N/ACOMPONENT_BUILD_ARGS += V=1
5325N/A
5325N/AREQUIRED_PACKAGES += gnome/config/gconf
5325N/AREQUIRED_PACKAGES += gnome/file-manager/nautilus
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
5325N/AREQUIRED_PACKAGES += library/desktop/gtk2
5325N/AREQUIRED_PACKAGES += library/desktop/pango
5325N/AREQUIRED_PACKAGES += library/glib2
5325N/AREQUIRED_PACKAGES += library/gnome/gnome-keyring
5325N/AREQUIRED_PACKAGES += library/libxml2
5325N/AREQUIRED_PACKAGES += system/library/c++-runtime
5325N/AREQUIRED_PACKAGES += system/library/libdbus-glib
5325N/AREQUIRED_PACKAGES += system/library/math
5325N/AREQUIRED_PACKAGES += x11/library/libice
5325N/AREQUIRED_PACKAGES += x11/library/libsm
5325N/AREQUIRED_PACKAGES += x11/library/libx11