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 2017 Alexander Pyhalov
16 include ..
/..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= vinagre
19 COMPONENT_MJR_VERSION
= 3.22
20 COMPONENT_MNR_VERSION
= 0
22 COMPONENT_VERSION
= $(COMPONENT_MJR_VERSION
).
$(COMPONENT_MNR_VERSION
)
23 COMPONENT_SUMMARY
= A VNC client for the GNOME Desktop
24 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
25 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
26 COMPONENT_ARCHIVE_HASH
= \
27 sha256
:cd1cdbacca25c8d1debf847455155ee798c3e67a20903df8b228d4ece5505e82
28 COMPONENT_ARCHIVE_URL
= \
29 https
://download.gnome.org
/sources
/$(COMPONENT_NAME
)/$(COMPONENT_MJR_VERSION
)/$(COMPONENT_ARCHIVE
)
30 COMPONENT_PROJECT_URL
= http
://www.gnome.org
/projects
/vinagre
31 COMPONENT_FMRI
= desktop
/remote-desktop
/vinagre
32 COMPONENT_CLASSIFICATION
= Applications
/Internet
33 COMPONENT_LICENSE
= GPLv3
34 COMPONENT_LICENSE_FILE
= COPYING
36 include $(WS_MAKE_RULES
)/prep.mk
37 include $(WS_MAKE_RULES
)/configure.mk
38 include $(WS_MAKE_RULES
)/ips.mk
42 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && autoreconf
-fi
)
43 COMPONENT_PRE_CONFIGURE_ACTION
= ($(CLONEY
) $(SOURCE_DIR
) $(@D
))
45 CONFIGURE_BINDIR
.64 = $(CONFIGURE_PREFIX
)/bin
47 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
48 CONFIGURE_OPTIONS
+= --libexecdir
=$(CONFIGURE_LIBDIR.
$(BITS
))
49 CONFIGURE_ENV
+= PERL
=$(PERL
)
51 COMPONENT_INSTALL_ENV
+= GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
=1
53 LDFLAGS
+= -lnsl
-lsocket
57 install: $(INSTALL_64
)
61 # Auto-generated dependencies
62 REQUIRED_PACKAGES
+= library
/desktop
/cairo
63 REQUIRED_PACKAGES
+= library
/desktop
/gdk-pixbuf
64 REQUIRED_PACKAGES
+= library
/desktop
/gtk-vnc
65 REQUIRED_PACKAGES
+= library
/desktop
/gtk3
66 REQUIRED_PACKAGES
+= library
/desktop
/vte-291
67 REQUIRED_PACKAGES
+= library
/glib2
68 REQUIRED_PACKAGES
+= library
/libsecret
69 REQUIRED_PACKAGES
+= library
/libxml2
70 REQUIRED_PACKAGES
+= system
/library