This commit is contained in:
TriForceX
2019-09-25 20:51:37 -03:00
commit 6203ff3e7c
11215 changed files with 428258 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
config BR2_PACKAGE_LIBDCADEC
bool "libdcadec"
help
dcadec is a free DTS Coherent Acoustics decoder with support
for HD extensions.
https://github.com/foo86/dcadec

View File

@@ -0,0 +1,3 @@
# Locally calculated
sha256 ed9d207fde3e8d576f3af8b0d1235b3371e315175757173689104efcaebf0d44 libdcadec-0.2.0.tar.gz
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LGPLv2.1

View File

@@ -0,0 +1,33 @@
################################################################################
#
# libdcadec
#
################################################################################
LIBDCADEC_VERSION = 0.2.0
LIBDCADEC_SITE = $(call github,foo86,dcadec,v$(LIBDCADEC_VERSION))
LIBDCADEC_LICENSE = LGPL-2.1+
LIBDCADEC_LICENSE_FILES = COPYING.LGPLv2.1
LIBDCADEC_INSTALL_STAGING = YES
ifeq ($(BR2_STATIC_LIBS),)
LIBDCADEC_SHARED = CONFIG_SHARED=1
endif
define LIBDCADEC_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) -std=gnu99" \
$(LIBDCADEC_SHARED) -C $(@D)
endef
define LIBDCADEC_INSTALL_STAGING_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
$(LIBDCADEC_SHARED) DESTDIR=$(STAGING_DIR) PREFIX=/usr install
endef
define LIBDCADEC_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
$(LIBDCADEC_SHARED) DESTDIR=$(TARGET_DIR) PREFIX=/usr install
endef
$(eval $(generic-package))