7213N/A#
7213N/A# CDDL HEADER START
7213N/A#
7213N/A# The contents of this file are subject to the terms of the
7213N/A# Common Development and Distribution License (the "License").
7213N/A# You may not use this file except in compliance with the License.
7213N/A#
7213N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7213N/A# or http://www.opensolaris.org/os/licensing.
7213N/A# See the License for the specific language governing permissions
7213N/A# and limitations under the License.
7213N/A#
7213N/A# When distributing Covered Code, include this CDDL HEADER in each
7213N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7213N/A# If applicable, add the following below this CDDL HEADER, with the
7213N/A# fields enclosed by brackets "[]" replaced with your own identifying
7213N/A# information: Portions Copyright [yyyy] [name of copyright owner]
7213N/A#
7213N/A# CDDL HEADER END
7213N/A#
7213N/A# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
7213N/A#
7213N/A
7213N/ABUILD_BITS= NO_ARCH
7213N/ACOMPILER= gcc
7213N/Ainclude ../../../make-rules/shared-macros.mk
7213N/A
7213N/ACOMPONENT_NAME= gnome-tweak-tool
7213N/ACOMPONENT_VERSION= 3.18.1
7213N/ACOMPONENT_PROJECT_URL= https://wiki.gnome.org/GnomeTweakTool
7213N/ACOMPONENT_ARCHIVE_HASH= \
7213N/A sha256:5c2c1103237648413c2d63a941e06b7057d6b102276b5968517753075de29430
7213N/ACOMPONENT_BUGDB= gnome/gnome-shell
7213N/A
7213N/ATPNO= 25847
7213N/A
7213N/A# No need in S11 since its for Gnome 3
7213N/Ainclude $(WS_MAKE_RULES)/no-evaluation.mk
7213N/A
7213N/APYTHON_VERSIONS= 2.7
7213N/A
7213N/Ainclude $(WS_MAKE_RULES)/gnome-component.mk
7213N/A
7213N/A# gtweak/defs.py is accidentally included in the tarball - we remove it so
7213N/A# that it gets correctly rebuilt from gtweak/defs.py.in with the settings
7213N/A# passed via the configure script
7213N/ACOMPONENT_POST_UNPACK_ACTION += $(RM) $(SOURCE_DIR)/gtweak/defs.py ;
7213N/A
7213N/ACONFIGURE_OPTIONS += --libexecdir=$(USRLIBDIR)
7213N/A
7213N/A# Assumes GNU msgfmt & xgettext is first in $PATH.
7213N/ACONFIGURE_ENV += PATH="$(GNUBIN):$(PATH)"
7213N/A
7213N/A# Ensure Python modules are installed into vendor package directories.
7213N/ACONFIGURE_ENV += am_cv_python_pythondir=$(PYTHON_VENDOR_PACKAGES)
7213N/ACONFIGURE_ENV += am_cv_python_pyexecdir=$(PYTHON_VENDOR_PACKAGES)
7213N/A
7213N/A# build .pyc's
7213N/ACOMPONENT_POST_INSTALL_ACTION += $(PYTHON.$(PYTHON_VERSION)) -m compileall \
7213N/A $(PROTO_DIR)$(PYTHON_VENDOR_PACKAGES) ;
7213N/A
7213N/A# pkgdepend doesn't like the first line of a Python script to be:
7213N/A# '#!/usr/bin/env python' so turn it into '#!/usr/bin/python2.7'
7213N/APYTHON_SCRIPTS += $(PROTOUSRBINDIR)/gnome-tweak-tool
7213N/APYTHON_SCRIPTS += $(PROTOUSRLIBDIR)/gnome-tweak-tool-lid-inhibitor
7213N/A
7213N/A# Delete this when build servers are installed with gnome-settings-daemon
7213N/AUNINSTALLED_DEPS = gnome-settings-daemon libgweather
7213N/ADEPENDED += $(UNINSTALLED_DEPS:%=../%/build/manifest-$(MACH)-*.depend.res)
7213N/AREQUIRED_PACKAGES += $(shell $(GSED) -n -e '/GSED/d' -e 's/REQUIRED_PACKAGES += //p' $(UNINSTALLED_DEPS:%=../%/Makefile))
7213N/A#end Delete
7213N/A
7213N/AREQUIRED_PACKAGES += gnome/file-manager/nautilus
7213N/AREQUIRED_PACKAGES += gnome/gnome-settings-daemon
7213N/AREQUIRED_PACKAGES += gnome/gnome-shell
7213N/AREQUIRED_PACKAGES += gnome/gsettings-desktop-schemas
7213N/AREQUIRED_PACKAGES += gnome/window-manager/mutter
7213N/AREQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
7213N/AREQUIRED_PACKAGES += library/desktop/gtk3
7213N/AREQUIRED_PACKAGES += library/desktop/libnotify
7213N/AREQUIRED_PACKAGES += library/desktop/pango
7213N/AREQUIRED_PACKAGES += library/gnome/gnome-desktop
7213N/AREQUIRED_PACKAGES += library/libsoup
7213N/AREQUIRED_PACKAGES += library/python/pygobject-3-27
7213N/AREQUIRED_PACKAGES += runtime/python-27