Some packages require to use newer version of startup-notification library which currenly does not support by the package makefile. This patch created a version selection for this package. Signed-off-by: Mohamad Noor Alim Hussin <mnalim@efinixinc.com>
23 lines
860 B
Makefile
23 lines
860 B
Makefile
################################################################################
|
|
#
|
|
# startup-notification
|
|
#
|
|
################################################################################
|
|
STARTUP_NOTIFICATION_VERSION = $(call qstrip,$(BR2_STARTUP_NOTIFICATION_VERSION))
|
|
STARTUP_NOTIFICATION_SITE = http://freedesktop.org/software/startup-notification/releases
|
|
STARTUP_NOTIFICATION_INSTALL_STAGING = YES
|
|
STARTUP_NOTIFICATION_DEPENDENCIES = xlib_libX11
|
|
|
|
ifeq ($(BR2_STARTUP_NOTIFICATION_VERSION_0_12), y)
|
|
STARTUP_NOTIFICATION_DEPENDENCIES += xcb-util
|
|
endif
|
|
|
|
STARTUP_NOTIFICATION_CONF_ENV = lf_cv_sane_realloc=yes
|
|
STARTUP_NOTIFICATION_CONF_OPTS = --with-x \
|
|
--x-includes="$(STAGING_DIR)/usr/include/X11" \
|
|
--x-libraries="$(STAGING_DIR)/usr/lib"
|
|
STARTUP_NOTIFICATION_LICENSE = LGPL-2.0
|
|
STARTUP_NOTIFICATION_LICENSE_FILES = COPYING
|
|
|
|
$(eval $(autotools-package))
|