#
|
# This file and its contents are supplied under the terms of the
|
# Common Development and Distribution License ("CDDL"), version 1.0.
|
# You may only use this file in accordance with the terms of version
|
# 1.0 of the CDDL.
|
#
|
# A full copy of the text of the CDDL should have accompanied this
|
# source. A copy of the CDDL is also available via the Internet at
|
# http://www.illumos.org/license/CDDL.
|
#
|
|
#
|
# Copyright 2015 Alexander Pyhalov
|
# Copyright 2016 Till Wegmueller
|
#
|
|
BUILD_STYLE= meson
|
BUILD_BITS= 64_and_32
|
include ../../../make-rules/shared-macros.mk
|
|
COMPONENT_NAME= libnotify
|
COMPONENT_VERSION= 0.7.12
|
COMPONENT_SUMMARY= Library for desktop notifications
|
COMPONENT_PROJECT_URL= https://github.com/GNOME/libnotify
|
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
|
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
|
COMPONENT_ARCHIVE_URL= https://download.gnome.org/sources/$(COMPONENT_NAME)/0.7/$(COMPONENT_ARCHIVE)
|
COMPONENT_ARCHIVE_HASH= sha256:744b2b37508135f8261b755a9debe6e09add421adc75bde930f6e198b70ab46e
|
COMPONENT_FMRI= library/libnotify
|
COMPONENT_CLASSIFICATION= Desktop (GNOME)/Libraries
|
COMPONENT_LICENSE= LGPLv2.1
|
COMPONENT_LICENSE_FILE= COPYING
|
|
include $(WS_MAKE_RULES)/common.mk
|
|
PATH = $(PATH.gnu)
|
|
# g-ir-scanner
|
CC_PIC_MODE = $(CC_PIC_DISABLE)
|
LD_Z_PIE_MODE = $(LD_Z_PIE_DISABLE)
|
|
# Required for other components.
|
CONFIGURE_OPTIONS.32 += -Dintrospection=disabled
|
CONFIGURE_OPTIONS.64 += -Dintrospection=enabled
|
CONFIGURE_OPTIONS += -Dman=false
|
CONFIGURE_OPTIONS += -Ddefault_library=shared
|
|
COMPONENT_BUILD_ENV += PATH="$(PATH)"
|
COMPONENT_INSTALL_ENV += PATH="$(PATH)"
|
|
# Auto-generated dependencies
|
REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
|
REQUIRED_PACKAGES += library/glib2
|
REQUIRED_PACKAGES += system/library
|