package/twolame: libsndfile is optional
libsndfile is optional not mandatory since version 0.4.0 and
fe2770bffb
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
e2fa93bd06
commit
b9d10e5b59
@ -1,6 +1,5 @@
|
||||
config BR2_PACKAGE_TWOLAME
|
||||
bool "twolame"
|
||||
select BR2_PACKAGE_LIBSNDFILE
|
||||
help
|
||||
TwoLAME is an optimised MPEG Audio Layer 2 (MP2) encoder
|
||||
based on tooLAME by Mike Cheng, which in turn is based upon
|
||||
|
@ -6,9 +6,15 @@
|
||||
|
||||
TWOLAME_VERSION = 0.4.0
|
||||
TWOLAME_SITE = http://downloads.sourceforge.net/project/twolame/twolame/$(TWOLAME_VERSION)
|
||||
TWOLAME_DEPENDENCIES = host-pkgconf libsndfile
|
||||
TWOLAME_INSTALL_STAGING = YES
|
||||
TWOLAME_LICENSE = LGPL-2.1+
|
||||
TWOLAME_LICENSE_FILES = COPYING
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSNDFILE),y)
|
||||
TWOLAME_DEPENDENCIES += host-pkgconf libsndfile
|
||||
TWOLAME_CONF_OPTS += --enable-sndfile
|
||||
else
|
||||
TWOLAME_CONF_OPTS += --disable-sndfile
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
Loading…
Reference in New Issue
Block a user