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.7
24 COMPONENT_SUMMARY
= Library for desktop notifications
25 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
26 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
27 COMPONENT_ARCHIVE_HASH
= \
28 sha256
:9cb4ce315b2655860c524d46b56010874214ec27e854086c1a1d0260137efc04
29 COMPONENT_ARCHIVE_URL
= \
30 https
://download.gnome.org
/sources
/$(COMPONENT_NAME
)/0.7/$(COMPONENT_ARCHIVE
)
31 COMPONENT_PROJECT_URL
= http
://www.galago-project.org
/news
/index.php
32 COMPONENT_FMRI
= library
/libnotify
33 COMPONENT_CLASSIFICATION
=Desktop
(GNOME
)/Libraries
34 COMPONENT_LICENSE
= LGPLv2.1
35 COMPONENT_LICENSE_FILE
= COPYING
37 # Missing files in build dir for configure without this.
38 COMPONENT_PRE_CONFIGURE_ACTION
= ($(CLONEY
) $(SOURCE_DIR
) $(@D
))
40 CONFIGURE_SCRIPT
= $(@D
)/configure
42 include $(WS_MAKE_RULES
)/common.mk
46 COMPONENT_BUILD_ENV
+= CC
=$(CC
)
47 COMPONENT_BUILD_ENV
+= CFLAGS
="$(CFLAGS)"
49 CONFIGURE_OPTIONS
+= --disable-static
50 CONFIGURE_OPTIONS
.32 += --enable-introspection
=no
52 # Auto-generated dependencies
53 REQUIRED_PACKAGES
+= library
/desktop
/gdk-pixbuf
54 REQUIRED_PACKAGES
+= library
/glib2
55 REQUIRED_PACKAGES
+= system
/library