2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2009-04-23 22:26:28 +02:00
|
|
|
#
|
|
|
|
# taglib
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-04-20 12:24:43 +02:00
|
|
|
|
2014-04-03 21:01:05 +02:00
|
|
|
TAGLIB_VERSION = 1.9.1
|
|
|
|
TAGLIB_SITE = http://taglib.github.io/releases
|
2009-04-23 22:26:28 +02:00
|
|
|
TAGLIB_INSTALL_STAGING = YES
|
2015-12-14 14:11:17 +01:00
|
|
|
TAGLIB_LICENSE = LGPLv2.1, MPL
|
2012-12-29 07:29:04 +01:00
|
|
|
TAGLIB_LICENSE_FILES = COPYING.LGPL COPYING.MPL
|
2009-04-23 22:26:28 +02:00
|
|
|
|
2013-12-30 19:02:49 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
|
|
|
TAGLIB_DEPENDENCIES += zlib
|
|
|
|
endif
|
|
|
|
|
2011-09-23 10:50:09 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_TAGLIB_ASF),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
TAGLIB_CONF_OPTS += -DWITH_ASF=ON
|
2011-09-23 10:50:09 +02:00
|
|
|
endif
|
2009-04-23 22:26:28 +02:00
|
|
|
|
2011-09-23 10:50:09 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_TAGLIB_MP4),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
TAGLIB_CONF_OPTS += -DWITH_MP4=ON
|
2011-09-23 10:50:09 +02:00
|
|
|
endif
|
2009-04-23 22:26:28 +02:00
|
|
|
|
2010-09-01 17:16:19 +02:00
|
|
|
define TAGLIB_REMOVE_DEVFILE
|
|
|
|
rm -f $(TARGET_DIR)/usr/bin/taglib-config
|
|
|
|
endef
|
2009-04-23 22:26:28 +02:00
|
|
|
|
2010-09-01 17:16:19 +02:00
|
|
|
TAGLIB_POST_INSTALL_TARGET_HOOKS += TAGLIB_REMOVE_DEVFILE
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(cmake-package))
|