Marcel Telka
2022-01-31 b7ef23180b8258d99f0990e953e0eddbaaab32a5
commit | author | age
32905a 1 #
AP 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
5 # 1.0 of the CDDL.
6 #
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.
10 #
11
12 #
13 # Copyright 2015 Alexander Pyhalov
14 # Copyright 2016 Till Wegmueller
15 #
16
17 include ../../../make-rules/shared-macros.mk
18
19 COMPONENT_NAME= libnotify
2ca81e 20 COMPONENT_VERSION= 0.7.7
7274f5 21 COMPONENT_REVISION= 2
32905a 22 COMPONENT_SUMMARY= Library for desktop notifications
AP 23 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
25 COMPONENT_ARCHIVE_HASH= \
2ca81e 26   sha256:9cb4ce315b2655860c524d46b56010874214ec27e854086c1a1d0260137efc04
32905a 27 COMPONENT_ARCHIVE_URL= \
b7ef23 28   https://download.gnome.org/sources/$(COMPONENT_NAME)/0.7/$(COMPONENT_ARCHIVE)
32905a 29 COMPONENT_PROJECT_URL = http://www.galago-project.org/news/index.php
AP 30 COMPONENT_FMRI=    library/libnotify
31 COMPONENT_CLASSIFICATION= Desktop (GNOME)/Libraries
32 COMPONENT_LICENSE = LGPLv2.1
33 COMPONENT_LICENSE_FILE = COPYING
34
35 # Missing files in build dir for configure without this.
36 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
37
38 CONFIGURE_SCRIPT=       $(@D)/configure
39
40
2ca81e 41 include $(WS_MAKE_RULES)/prep.mk
AL 42 include $(WS_MAKE_RULES)/configure.mk
43 include $(WS_MAKE_RULES)/ips.mk
32905a 44
2ca81e 45 PATH=$(PATH.gnu)
32905a 46
AP 47 COMPONENT_BUILD_ENV += CC=$(CC)
48 COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)"
2ca81e 49
AL 50 CONFIGURE_OPTIONS += --disable-static
32905a 51
AP 52 build: $(BUILD_32_and_64)
53
54 install: $(INSTALL_32_and_64)
55
56 test: $(TEST_32_and_64)
2ca81e 57
AL 58 # Auto-generated dependencies
7274f5 59 REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
2ca81e 60 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
7274f5 61 REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
2ca81e 62 REQUIRED_PACKAGES += library/glib2
AL 63 REQUIRED_PACKAGES += system/library