# # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. # You may only use this file in accordance with the terms of version # 1.0 of the CDDL. # # A full copy of the text of the CDDL should have accompanied this # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # # Copyright 2016 Alexander Pyhalov # BUILD_BITS= 32_and_64 USE_DEFAULT_TEST_TRANSFORMS= yes include ../../../make-rules/shared-macros.mk COMPONENT_NAME= gtk-vnc COMPONENT_MJR_VERSION= 0.7 COMPONENT_MNR_VERSION= 2 COMPONENT_VERSION= $(COMPONENT_MJR_VERSION).$(COMPONENT_MNR_VERSION) COMPONENT_REVISION= 2 COMPONENT_SUMMARY= gtk-vnc - A GTK widget for VNC client COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz COMPONENT_ARCHIVE_HASH= sha256:f893f32b1ef6d09dd23cda39b8a2567be7c2aebda58026288e1362f042e20808 COMPONENT_ARCHIVE_URL= https://download.gnome.org/sources/$(COMPONENT_NAME)/$(COMPONENT_MJR_VERSION)/$(COMPONENT_ARCHIVE) COMPONENT_PROJECT_URL= https://wiki.gnome.org/Projects/gtk-vnc COMPONENT_FMRI= library/desktop/gtk-vnc COMPONENT_CLASSIFICATION= Development/GNOME and GTK+ COMPONENT_LICENSE= LGPLv2.1 COMPONENT_LICENSE_FILE= COPYING.LIB include $(WS_MAKE_RULES)/common.mk COMPONENT_PREP_ACTION += ( cd $(@D) && autoreconf -fi ) COMPONENT_PRE_CONFIGURE_ACTION= ( $(CLONEY) $(SOURCE_DIR) $(@D) ) CONFIGURE_OPTIONS += --sysconfdir=/etc CONFIGURE_OPTIONS += --localstatedir=/var/lib CONFIGURE_OPTIONS += --with-gtk=3.0 # Our vala seems to be too new CONFIGURE_OPTIONS += --enable-vala CONFIGURE_ENV += XGETTEXT=/usr/gnu/bin/xgettext CONFIGURE_ENV += MSGFMT=/usr/gnu/bin/msgfmt CONFIGURE_ENV += PERL=$(PERL) CONFIGURE_ENV += PYTHON="$(PYTHON)" # Our default python seems to be too new, even the following settings don't let it be found: CONFIGURE_ENV += am_cv_python_pythondir="$(PYTHON_VENDOR_PACKAGES)" CONFIGURE_ENV += am_cv_python_pyexecdir="$(PYTHON_VENDOR_PACKAGES)" CONFIGURE_ENV += CPPFLAGS="$(CPPFLAGS)" COMPONENT_BUILD_ENV += CC="$(CC)" COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)" COMPONENT_BUILD_ENV += LDFLAGS="$(LDFLAGS)" COMPONENT_INSTALL_ENV += GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 unexport SHELLOPTS # Auto-generated dependencies REQUIRED_PACKAGES += library/audio/pulseaudio REQUIRED_PACKAGES += library/desktop/cairo REQUIRED_PACKAGES += library/desktop/gdk-pixbuf REQUIRED_PACKAGES += library/desktop/gtk3 REQUIRED_PACKAGES += library/glib2 REQUIRED_PACKAGES += library/gnutls-3 REQUIRED_PACKAGES += library/zlib REQUIRED_PACKAGES += system/library REQUIRED_PACKAGES += system/library/security/libgcrypt REQUIRED_PACKAGES += system/library/security/libsasl REQUIRED_PACKAGES += x11/library/libx11