2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2022 Niklas Poslovski
18 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_NAME
= libhandy
21 COMPONENT_MJR_VERSION
= 1.8
22 COMPONENT_VERSION
= $(COMPONENT_MJR_VERSION
).3
23 COMPONENT_SUMMARY
= Library full of GTK
+ widgets for mobile phones
24 COMPONENT_PROJECT_URL
= https
://gitlab.gnome.org
/GNOME
/libhandy
25 COMPONENT_SRC
= libhandy-
$(COMPONENT_VERSION
)
26 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
27 COMPONENT_ARCHIVE_HASH
= sha256
:05b497229073ff557f10b326e074c5066f8743a302d4820ab97bcb5cd2dab087
28 COMPONENT_ARCHIVE_URL
= https
://download.gnome.org
/sources
/$(COMPONENT_NAME
)/$(COMPONENT_MJR_VERSION
)/$(COMPONENT_ARCHIVE
)
29 COMPONENT_FMRI
= library
/libhandy
30 COMPONENT_CLASSIFICATION
= System
/Libraries
31 COMPONENT_LICENSE
= LGPLv2.1
32 COMPONENT_LICENSE_FILE
= COPYING
34 TEST_TARGET
= $(NO_TESTS
)
35 include $(WS_MAKE_RULES
)/common.mk
39 # gobject-introspection
40 COMPONENT_BUILD_ENV
+= CC
="$(CC)"
41 COMPONENT_BUILD_ENV
+= CFLAGS
="$(CFLAGS)"
43 # Manually added build dependencies
44 REQUIRED_PACKAGES
+= developer
/vala
46 # Auto-generated dependencies
47 REQUIRED_PACKAGES
+= developer
/ui-designer
/glade
48 REQUIRED_PACKAGES
+= library
/desktop
/atk
49 REQUIRED_PACKAGES
+= library
/desktop
/cairo
50 REQUIRED_PACKAGES
+= library
/desktop
/gdk-pixbuf
51 REQUIRED_PACKAGES
+= library
/desktop
/gtk3
52 REQUIRED_PACKAGES
+= library
/desktop
/pango
53 REQUIRED_PACKAGES
+= library
/fribidi
54 REQUIRED_PACKAGES
+= library
/glib2
55 REQUIRED_PACKAGES
+= system
/library
56 REQUIRED_PACKAGES
+= system
/library
/math