2013-10-30 16:46:01 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# jack2
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2014-04-24 11:09:37 +02:00
|
|
|
JACK2_VERSION = ab409a65df95bc261ff72b52d6b3f4a65cf3266a
|
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
|
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
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|