2013-10-30 16:46:01 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# jack2
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2014-10-26 19:45:54 +01:00
|
|
|
JACK2_VERSION = v1.9.10
|
2013-10-30 16:46:01 +01:00
|
|
|
JACK2_SITE = $(call github,jackaudio,jack2,$(JACK2_VERSION))
|
|
|
|
JACK2_LICENSE = GPLv2+ (jack server), LGPLv2.1+ (jack library)
|
2014-05-14 12:46:16 +02:00
|
|
|
JACK2_DEPENDENCIES = libsamplerate libsndfile alsa-lib host-python
|
2014-08-06 13:40:36 +02:00
|
|
|
JACK2_INSTALL_STAGING = YES
|
2013-10-30 16:46:01 +01:00
|
|
|
|
|
|
|
define JACK2_CONFIGURE_CMDS
|
|
|
|
(cd $(@D); \
|
|
|
|
$(TARGET_CONFIGURE_OPTS) \
|
2014-05-14 12:46:16 +02:00
|
|
|
$(HOST_DIR)/usr/bin/python2 ./waf configure \
|
2013-10-30 16:46:01 +01:00
|
|
|
--prefix=/usr \
|
2014-05-14 12:46:16 +02:00
|
|
|
--alsa \
|
|
|
|
)
|
2013-10-30 16:46:01 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define JACK2_BUILD_CMDS
|
2014-05-14 12:46:16 +02:00
|
|
|
(cd $(@D); $(HOST_DIR)/usr/bin/python2 ./waf build -j $(PARALLEL_JOBS))
|
2013-10-30 16:46:01 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define JACK2_INSTALL_TARGET_CMDS
|
2014-05-14 12:46:16 +02:00
|
|
|
(cd $(@D); $(HOST_DIR)/usr/bin/python2 ./waf --destdir=$(TARGET_DIR) \
|
|
|
|
install)
|
2013-10-30 16:46:01 +01:00
|
|
|
endef
|
|
|
|
|
2014-08-06 13:40:36 +02:00
|
|
|
define JACK2_INSTALL_STAGING_CMDS
|
|
|
|
(cd $(@D); $(HOST_DIR)/usr/bin/python2 ./waf --destdir=$(STAGING_DIR) \
|
|
|
|
install)
|
|
|
|
endef
|
|
|
|
|
2013-10-30 16:46:01 +01:00
|
|
|
$(eval $(generic-package))
|