kumquat-buildroot/package/libopenaptx/libopenaptx.mk
Yunhao Tian 1e4050b2d0 package/libopenaptx: new package
This adds support for libopenaptx, an aptX encoder and decoder.

Signed-off-by: Yunhao Tian <t123yh.xyz@gmail.com>
[Thomas:
- drop patches that added a CMakeLists.txt and instead use the
Makefile provided by upstream.
- add !BR2_STATIC_LIBS dependency
- add entry in DEVELOPERS file]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-12-18 10:37:05 +01:00

30 lines
823 B
Makefile

################################################################################
#
# libogg
#
################################################################################
LIBOPENAPTX_VERSION = 0.2.1
LIBOPENAPTX_SITE = $(call github,pali,libopenaptx,$(LIBOPENAPTX_VERSION))
LIBOPENAPTX_LICENSE = GPL-3.0
LIBOPENAPTX_LICENSE_FILES = COPYING
LIBOPENAPTX_INSTALL_STAGING = YES
define LIBOPENAPTX_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS)
endef
define LIBOPENAPTX_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \
DESTDIR=$(TARGET_DIR) \
PREFIX=/usr install
endef
define LIBOPENAPTX_INSTALL_STAGING_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \
DESTDIR=$(STAGING_DIR) \
PREFIX=/usr install
endef
$(eval $(generic-package))