Mate is not a library
[unleashed-userland.git] / components / desktop / mate / mate-notification-daemon / Makefile
blob9505717a45d2fbf22f4fb4bcb57622d7d7703e14
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 2016 Till Wegmueller
13 # Copyright 2016 Ken Mays
16 include ../../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= mate-notification-daemon
19 COMPONENT_VERSION= 1.14.0
20 COMPONENT_PROJECT_URL= http://www.mate-desktop.org
21 COMPONENT_SUMMARY= Notification Daemon for Mate
22 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
23 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
24 COMPONENT_ARCHIVE_HASH= \
25 sha256:0b34c612dce698fa3f5a68606e865029e16a82369c6f6f4e6268a5eaebfe3c61
26 COMPONENT_ARCHIVE_URL= http://pub.mate-desktop.org/releases/1.14/$(COMPONENT_ARCHIVE)
27 COMPONENT_LICENSE= GPLv2, LGPLv2, FDLv1.1
28 COMPONENT_LICENSE_FILE= $(COMPONENT_NAME).license
29 COMPONENT_CLASSIFICATION = System/Libraries
30 COMPONENT_FMRI = desktop/mate/$(COMPONENT_NAME)
32 include $(WS_TOP)/make-rules/prep.mk
33 include $(WS_TOP)/make-rules/configure.mk
34 include $(WS_TOP)/make-rules/ips.mk
36 PATH=/usr/gnu/bin:/usr/bin
38 COMPONENT_PREP_ACTION= cd $(@D) && NOCONFIGURE=1 ./autogen.sh
40 CONFIGURE_OPTIONS+= --sysconfdir=/etc
41 CONFIGURE_OPTIONS+= --libexecdir=/usr/lib/mate
42 CONFIGURE_OPTIONS+= --disable-static
43 CONFIGURE_OPTIONS+= --disable-scrollkeeper
44 CONFIGURE_OPTIONS+= --localstatedir=/var/lib
45 CONFIGURE_OPTIONS+= --with-gnome-distributor="The OpenIndiana Project"
46 CONFIGURE_OPTIONS+= --libexecdir=/usr/lib/$(COMPONENT_NAME)
48 CONFIGURE_ENV+= PYTHON="$(PYTHON)"
50 COMPONENT_BUILD_ENV += CC="$(CC)"
51 COMPONENT_BUILD_ENV += CFLAGS="$(CFLAGS)"
53 # common targets
54 build: $(BUILD_32)
56 install: $(INSTALL_32)
58 test: $(NO_TESTS)
60 REQUIRED_PACKAGES += library/desktop/atk
61 REQUIRED_PACKAGES += library/desktop/cairo
62 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
63 REQUIRED_PACKAGES += library/desktop/gtk2
64 REQUIRED_PACKAGES += library/desktop/libwnck
65 REQUIRED_PACKAGES += library/desktop/xdg/libcanberra
66 REQUIRED_PACKAGES += library/glib2
67 REQUIRED_PACKAGES += library/libnotify
68 REQUIRED_PACKAGES += system/library/libdbus-glib
69 REQUIRED_PACKAGES += system/library/libdbus
70 REQUIRED_PACKAGES += x11/library/libx11