6673N/A#
6673N/A# CDDL HEADER START
6673N/A#
6673N/A# The contents of this file are subject to the terms of the
6673N/A# Common Development and Distribution License (the "License").
6673N/A# You may not use this file except in compliance with the License.
6673N/A#
6673N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6673N/A# or http://www.opensolaris.org/os/licensing.
6673N/A# See the License for the specific language governing permissions
6673N/A# and limitations under the License.
6673N/A#
6673N/A# When distributing Covered Code, include this CDDL HEADER in each
6673N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6673N/A# If applicable, add the following below this CDDL HEADER, with the
6673N/A# fields enclosed by brackets "[]" replaced with your own identifying
6673N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6673N/A#
6673N/A# CDDL HEADER END
6673N/A#
6673N/A
6673N/A#
6673N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
6673N/A#
6673N/A
6673N/ABUILD_BITS = 64
6673N/A# All components using gobject-introspection must be built with gcc as
6673N/A# gobject-introspection does not produce correct results when using Studio.
6673N/ACOMPILER=gcc
6673N/Ainclude ../../../make-rules/shared-macros.mk
6673N/A
6673N/ACOMPONENT_NAME= sushi
6673N/ACOMPONENT_VERSION= 3.18.0
6673N/ACOMPONENT_PROJECT_URL= https://github.com/GNOME/sushi
6673N/ACOMPONENT_ARCHIVE_HASH= \
6673N/A sha256:7f4df92be950bf23aff28da49ce108766dd21a88efc14a9d0807e10225608e9c
6673N/ACOMPONENT_BUGDB= gnome/nautilus
6673N/A
6673N/ATPNO= 25458
6673N/A
6673N/ATEST_TARGET = $(NO_TESTS)
6673N/A
6673N/A# Needs gobject-introspection, not available on S11.
6673N/Ainclude $(WS_MAKE_RULES)/no-evaluation.mk
6673N/A
6673N/Ainclude $(WS_MAKE_RULES)/gnome-component.mk
6673N/A
6673N/A# Although sushi is not written in C++, it does link against webkitgtk4 which
6673N/A# which is compiled as C++11.
6673N/ACXXFLAGS += -std=c++11
6673N/A
6673N/ACONFIGURE_OPTIONS += --disable-schemas-compile
6673N/ACONFIGURE_OPTIONS += --disable-static
6673N/ACONFIGURE_OPTIONS += --enable-shared
6673N/ACONFIGURE_OPTIONS += --with-pic
6673N/ACONFIGURE_OPTIONS += --libexecdir=$(USRLIBDIR)
6673N/A
6673N/A# Required due to patches.
6673N/ACOMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv);
6673N/A
6673N/A# Requires GNU sed (our sed truncates last line); assumes sed is in PATH.
6673N/ACONFIGURE_ENV += PATH="$(GNUBIN):$(PATH)"
6673N/A
6673N/AREQUIRED_PACKAGES += desktop/pdf-viewer/evince
6673N/AREQUIRED_PACKAGES += library/audio/libmusicbrainz5
6673N/AREQUIRED_PACKAGES += library/desktop/cairo
6673N/AREQUIRED_PACKAGES += library/desktop/clutter
6673N/AREQUIRED_PACKAGES += library/desktop/clutter/clutter-gst
6673N/AREQUIRED_PACKAGES += library/desktop/clutter/clutter-gtk
6673N/AREQUIRED_PACKAGES += library/desktop/gdk-pixbuf
6673N/AREQUIRED_PACKAGES += library/desktop/gjs
6673N/AREQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
6673N/AREQUIRED_PACKAGES += library/desktop/gstreamer-1
6673N/AREQUIRED_PACKAGES += library/desktop/gstreamer-1/gst-plugins-base
6673N/AREQUIRED_PACKAGES += library/desktop/gtk3
6673N/AREQUIRED_PACKAGES += library/desktop/gtksourceview3
6673N/AREQUIRED_PACKAGES += library/desktop/pango
7079N/AREQUIRED_PACKAGES += library/desktop/webkitgtk4
6673N/AREQUIRED_PACKAGES += library/glib2
6673N/AREQUIRED_PACKAGES += system/library/freetype-2
6673N/AREQUIRED_PACKAGES += x11/library/libx11