components/gnome/zenity/Makefile
author Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
Tue, 16 Aug 2016 22:32:29 -0700
changeset 6653 1c9054ea42c4
child 7687 1093e2a9adbd
permissions -rw-r--r--
23245364 Move zenity to Userland and update to 3.18.0 PSARC/2016/375 GNOME apps and icons
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6653
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     1
#
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     3
#
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     7
#
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    12
#
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    18
#
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    20
#
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    21
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    22
#
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    23
# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    24
#
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    25
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    26
BUILD_BITS=		64
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    27
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    28
include ../../../make-rules/shared-macros.mk
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    29
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    30
COMPONENT_NAME=		zenity
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    31
COMPONENT_VERSION=	3.18.0
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    32
COMPONENT_PROJECT_URL=	https://wiki.gnome.org/Projects/Zenity
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    33
COMPONENT_ARCHIVE_HASH= \
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    34
	sha256:0efafea95a830f3bf6eca805ff4a8008df760a6ad3e81181b9473dcf721c3a69
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    35
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    36
TPNO=			24606
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    37
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    38
# zenity is not unlockable in S11 gnome-incorporation
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    39
ifeq ($(BUILD_TYPE), evaluation)
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    40
BUILD_64=
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    41
INSTALL_64=
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    42
PUBLISH_STAMP=
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    43
endif
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    44
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    45
include $(WS_MAKE_RULES)/gnome-component.mk
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    46
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    47
# Use the GNOME 3 libnotify even though the GNOME 2 one is still the default
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    48
PKG_CONFIG_PATHS.32 += $(PKG_CONFIG_PATH.32)/libnotify-4
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    49
PKG_CONFIG_PATHS.64 += $(PKG_CONFIG_PATH.64)/libnotify-4
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    50
PKG_CONFIG_PATHS += $(PKG_CONFIG_PATHS.$(BITS))
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    51
LD_OPTIONS.32 += -L $(USRLIB.32)/libnotify-4 -R $(USRLIB.32)/libnotify-4
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    52
LD_OPTIONS.64 += -L $(USRLIB.64)/libnotify-4 -R $(USRLIB.64)/libnotify-4
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    53
LD_OPTIONS += $(LD_OPTIONS.$(BITS))
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    54
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    55
# Ensures gdialog script specifies explicit version of perl.
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    56
CONFIGURE_ENV += PERL="$(PERL)"
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    57
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    58
CONFIGURE_OPTIONS += --enable-libnotify
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    59
CONFIGURE_OPTIONS += --enable-webkitgtk
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    60
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    61
# Assumes GNU msgfmt in PATH.
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    62
COMPONENT_BUILD_ENV += PATH="$(GNUBIN):$(PATH)"
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    63
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    64
REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    65
REQUIRED_PACKAGES += library/desktop/gtk3
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    66
REQUIRED_PACKAGES += library/desktop/libnotify
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    67
REQUIRED_PACKAGES += library/desktop/pango
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    68
REQUIRED_PACKAGES += library/desktop/webkitgtk4
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    69
REQUIRED_PACKAGES += library/glib2
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    70
REQUIRED_PACKAGES += $(PERL_PKG)
1c9054ea42c4 23245364 Move zenity to Userland and update to 3.18.0
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    71
REQUIRED_PACKAGES += x11/library/libx11