2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2016 Alexander Pyhalov
17 USE_DEFAULT_TEST_TRANSFORMS
= yes
18 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_NAME
= gtk-vnc
21 COMPONENT_MJR_VERSION
= 0.7
22 COMPONENT_MNR_VERSION
= 2
23 COMPONENT_VERSION
= $(COMPONENT_MJR_VERSION
).
$(COMPONENT_MNR_VERSION
)
25 COMPONENT_SUMMARY
= gtk-vnc
- A GTK widget for VNC client
26 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
27 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
28 COMPONENT_ARCHIVE_HASH
= sha256
:f893f32b1ef6d09dd23cda39b8a2567be7c2aebda58026288e1362f042e20808
29 COMPONENT_ARCHIVE_URL
= https
://download.gnome.org
/sources
/$(COMPONENT_NAME
)/$(COMPONENT_MJR_VERSION
)/$(COMPONENT_ARCHIVE
)
30 COMPONENT_PROJECT_URL
= https
://wiki.gnome.org
/Projects
/gtk-vnc
31 COMPONENT_FMRI
= library
/desktop
/gtk-vnc
32 COMPONENT_CLASSIFICATION
= Development
/GNOME and GTK
+
33 COMPONENT_LICENSE
= LGPLv2.1
34 COMPONENT_LICENSE_FILE
= COPYING.LIB
36 include $(WS_MAKE_RULES
)/common.mk
38 COMPONENT_PREP_ACTION
+= ( cd
$(@D
) && autoreconf
-fi
)
40 COMPONENT_PRE_CONFIGURE_ACTION
= ( $(CLONEY
) $(SOURCE_DIR
) $(@D
) )
42 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
43 CONFIGURE_OPTIONS
+= --localstatedir
=/var
/lib
44 CONFIGURE_OPTIONS
+= --with-gtk
=3.0
45 # Our vala seems to be too new
46 CONFIGURE_OPTIONS
+= --enable-vala
48 CONFIGURE_ENV
+= XGETTEXT
=/usr
/gnu
/bin
/xgettext
49 CONFIGURE_ENV
+= MSGFMT
=/usr
/gnu
/bin
/msgfmt
50 CONFIGURE_ENV
+= PERL
=$(PERL
)
51 CONFIGURE_ENV
+= PYTHON
="$(PYTHON)"
52 # Our default python seems to be too new, even the following settings don't let it be found:
53 CONFIGURE_ENV
+= am_cv_python_pythondir
="$(PYTHON_VENDOR_PACKAGES)"
54 CONFIGURE_ENV
+= am_cv_python_pyexecdir
="$(PYTHON_VENDOR_PACKAGES)"
55 CONFIGURE_ENV
+= CPPFLAGS
="$(CPPFLAGS)"
57 COMPONENT_BUILD_ENV
+= CC
="$(CC)"
58 COMPONENT_BUILD_ENV
+= CFLAGS
="$(CFLAGS)"
59 COMPONENT_BUILD_ENV
+= LDFLAGS
="$(LDFLAGS)"
61 COMPONENT_INSTALL_ENV
+= GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
=1
65 # Auto-generated dependencies
66 REQUIRED_PACKAGES
+= library
/audio
/pulseaudio
67 REQUIRED_PACKAGES
+= library
/desktop
/cairo
68 REQUIRED_PACKAGES
+= library
/desktop
/gdk-pixbuf
69 REQUIRED_PACKAGES
+= library
/desktop
/gtk3
70 REQUIRED_PACKAGES
+= library
/glib2
71 REQUIRED_PACKAGES
+= library
/gnutls-3
72 REQUIRED_PACKAGES
+= library
/zlib
73 REQUIRED_PACKAGES
+= system
/library
74 REQUIRED_PACKAGES
+= system
/library
/security
/libgcrypt
75 REQUIRED_PACKAGES
+= system
/library
/security
/libsasl
76 REQUIRED_PACKAGES
+= x11
/library
/libx11