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
18 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_NAME
= gtk3-nocsd
23 COMPONENT_FMRI
= library
/desktop
/gtk3
/gtk3-nocsd
24 COMPONENT_SUMMARY
= A small module used to disable the client side decoration of Gtk
+ 3
25 COMPONENT_CLASSIFICATION
=Applications
/Plug-ins and Run-times
26 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
27 COMPONENT_PROJECT_URL
= https
://github.com
/PCMan
/gtk3-nocsd
28 COMPONENT_ARCHIVE
= $(COMPONENT_NAME
).
tar.gz
29 COMPONENT_ARCHIVE_HASH
= sha256
:779c47d894ee3b6751ddb02b62a76757b77eb81232c4f9335564654817889570
30 COMPONENT_ARCHIVE_URL
= https
://github.com
/PCMan
/gtk3-nocsd
/archive
/v
$(COMPONENT_VERSION
).
tar.gz
31 COMPONENT_LICENSE
= LGPLv2.1
32 COMPONENT_LICENSE_FILE
= COPYING
34 TEST_TARGET
= $(NO_TESTS
)
35 include $(WS_MAKE_RULES
)/common.mk
37 COMPONENT_BUILD_ENV
+= CC
="$(CC)"
38 COMPONENT_BUILD_ENV
+= CFLAGS
="$(CFLAGS)"
39 COMPONENT_BUILD_ENV
+= LDFLAGS
="$(LDFLAGS)"
41 COMPONENT_INSTALL_ENV
+= bindir=$(USRBINDIR
)
42 COMPONENT_INSTALL_ENV
+= libdir=$(USRLIBDIR.
$(BITS
))
43 COMPONENT_INSTALL_ENV
+= mandir=$(USRSHAREMANDIR
)
44 COMPONENT_INSTALL_ENV
+= bashcompletiondir
=$(BASH_COMPLETIONS_PATH
)
46 # Manually added build dependencies
47 REQUIRED_PACKAGES
+= library
/desktop
/gtk3
48 REQUIRED_PACKAGES
+= library
/desktop
/gobject
/gobject-introspection
50 # Auto-generated dependencies
51 REQUIRED_PACKAGES
+= shell/ksh93
52 REQUIRED_PACKAGES
+= system
/library