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 2015 Alexander Pyhalov
14 # Copyright 2016 Till Wegmueller
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_NAME
= libnotify
22 COMPONENT_VERSION
= 0.7.12
23 COMPONENT_SUMMARY
= Library for desktop notifications
24 COMPONENT_PROJECT_URL
= https
://github.com
/GNOME
/libnotify
25 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
26 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
27 COMPONENT_ARCHIVE_URL
= https
://download.gnome.org
/sources
/$(COMPONENT_NAME
)/0.7/$(COMPONENT_ARCHIVE
)
28 COMPONENT_ARCHIVE_HASH
= sha256
:744b2b37508135f8261b755a9debe6e09add421adc75bde930f6e198b70ab46e
29 COMPONENT_FMRI
= library
/libnotify
30 COMPONENT_CLASSIFICATION
= Desktop
(GNOME
)/Libraries
31 COMPONENT_LICENSE
= LGPLv2.1
32 COMPONENT_LICENSE_FILE
= COPYING
34 include $(WS_MAKE_RULES
)/common.mk
39 CC_PIC_MODE
= $(CC_PIC_DISABLE
)
40 LD_Z_PIE_MODE
= $(LD_Z_PIE_DISABLE
)
42 # Required for other components.
43 CONFIGURE_OPTIONS
.32 += -Dintrospection
=disabled
44 CONFIGURE_OPTIONS
.64 += -Dintrospection
=enabled
45 CONFIGURE_OPTIONS
+= -Dman
=false
46 CONFIGURE_OPTIONS
+= -Ddefault_library
=shared
48 COMPONENT_BUILD_ENV
+= PATH
="$(PATH)"
49 COMPONENT_INSTALL_ENV
+= PATH
="$(PATH)"
51 # Auto-generated dependencies
52 REQUIRED_PACKAGES
+= library
/desktop
/gdk-pixbuf
53 REQUIRED_PACKAGES
+= library
/glib2
54 REQUIRED_PACKAGES
+= system
/library