components/gnome/eog/Makefile
changeset 6585 01a98d2fcb55
child 6609 489da5c0d3c5
equal deleted inserted replaced
6584:28dfbcb64733 6585:01a98d2fcb55
       
     1 #
       
     2 # CDDL HEADER START
       
     3 #
       
     4 # The contents of this file are subject to the terms of the
       
     5 # Common Development and Distribution License (the "License").
       
     6 # You may not use this file except in compliance with the License.
       
     7 #
       
     8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
       
     9 # or http://www.opensolaris.org/os/licensing.
       
    10 # See the License for the specific language governing permissions
       
    11 # and limitations under the License.
       
    12 #
       
    13 # When distributing Covered Code, include this CDDL HEADER in each
       
    14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
       
    15 # If applicable, add the following below this CDDL HEADER, with the
       
    16 # fields enclosed by brackets "[]" replaced with your own identifying
       
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
       
    18 #
       
    19 # CDDL HEADER END
       
    20 #
       
    21 # Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
       
    22 #
       
    23 
       
    24 BUILD_BITS =            64
       
    25 # All components using gobject-introspection must be built with gcc as
       
    26 # gobject-introspection does not produce correct results when using Studio.
       
    27 COMPILER =              gcc
       
    28 include ../../../make-rules/shared-macros.mk
       
    29 
       
    30 COMPONENT_NAME=		eog
       
    31 COMPONENT_VERSION=	3.17.92
       
    32 COMPONENT_PROJECT_URL=	https://wiki.gnome.org/Apps/EyeOfGnome
       
    33 COMPONENT_ARCHIVE_HASH= \
       
    34 	sha256:8d8cb893d595bda05f7ea52f6be6fb107940861bac390a1694b28181a6819b2c
       
    35 COMPONENT_ARCHIVE_URL=	http://ftp.gnome.org/pub/GNOME/sources/$(COMPONENT_NAME)/3.17/$(COMPONENT_ARCHIVE)
       
    36 COMPONENT_BUGDB=	gnome/applications
       
    37 
       
    38 TPNO=			24611
       
    39 
       
    40 TEST_TARGET = $(NO_TESTS)
       
    41 
       
    42 # Needs gobject-introspection, not available on S11.
       
    43 ifeq ($(BUILD_TYPE), evaluation)
       
    44 BUILD_64=
       
    45 INSTALL_64=
       
    46 PUBLISH_STAMP=
       
    47 endif
       
    48 
       
    49 include $(WS_MAKE_RULES)/gnome-component.mk
       
    50 
       
    51 # Assumes GNU msgfmt is in PATH.
       
    52 CONFIGURE_ENV += PATH=$(GNUBIN):$(PATH)
       
    53 COMPONENT_BUILD_ENV += PATH=$(GNUBIN):$(PATH)
       
    54 
       
    55 CONFIGURE_OPTIONS += --disable-static
       
    56 # Required for other components.
       
    57 CONFIGURE_OPTIONS += --enable-introspection
       
    58 CONFIGURE_OPTIONS += --with-cms
       
    59 CONFIGURE_OPTIONS += --with-libexif
       
    60 CONFIGURE_OPTIONS += --with-libjpeg
       
    61 CONFIGURE_OPTIONS += --with-librsvg
       
    62 CONFIGURE_OPTIONS += --with-pic
       
    63 CONFIGURE_OPTIONS += --with-x
       
    64 CONFIGURE_OPTIONS += --with-xmp
       
    65 
       
    66 CFLAGS += $(CPP_XPG6MODE)
       
    67 
       
    68 REQUIRED_PACKAGES += image/library/libexif
       
    69 REQUIRED_PACKAGES += image/library/libjpeg
       
    70 REQUIRED_PACKAGES += image/library/librsvg
       
    71 REQUIRED_PACKAGES += library/desktop/atk
       
    72 REQUIRED_PACKAGES += library/desktop/cairo
       
    73 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
       
    74 REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
       
    75 REQUIRED_PACKAGES += library/desktop/gtk3
       
    76 REQUIRED_PACKAGES += library/exempi
       
    77 REQUIRED_PACKAGES += library/glib2
       
    78 REQUIRED_PACKAGES += library/gnome/gnome-desktop
       
    79 REQUIRED_PACKAGES += library/desktop/libpeas
       
    80 REQUIRED_PACKAGES += library/lcms2
       
    81 REQUIRED_PACKAGES += library/zlib
       
    82 REQUIRED_PACKAGES += system/library/math
       
    83 REQUIRED_PACKAGES += x11/library/libx11