Initial Commit
- initial default booting image
This commit is contained in:
18
package/taglib/Config.in
Normal file
18
package/taglib/Config.in
Normal file
@@ -0,0 +1,18 @@
|
||||
config BR2_PACKAGE_TAGLIB
|
||||
bool "taglib"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
|
||||
depends on BR2_USE_WCHAR
|
||||
select BR2_PACKAGE_UTFCPP
|
||||
help
|
||||
TagLib is a library for reading and editing the meta-data of
|
||||
several popular audio formats. Currently it supports both
|
||||
ID3v1 and ID3v2 for MP3 files, Ogg Vorbis comments and ID3
|
||||
tags and Vorbis comments in FLAC, MPC, Speex, WavPack and
|
||||
TrueAudio files.
|
||||
|
||||
http://taglib.org/
|
||||
|
||||
comment "taglib needs a toolchain w/ C++, wchar, gcc >= 7"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR \
|
||||
|| !BR2_TOOLCHAIN_GCC_AT_LEAST_7
|
||||
5
package/taglib/taglib.hash
Normal file
5
package/taglib/taglib.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# From https://github.com/taglib/taglib/releases/tag/v2.3.1
|
||||
sha256 a19d90e6fd41d09a0281ec0fe762d51491d7a6ccffc923c4f7868c5e647ca230 taglib-2.3.1.tar.gz
|
||||
# Locally calculated
|
||||
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LGPL
|
||||
sha256 53692a2ed6c6a2c6ec9b32dd0b820dfae91e0a1fcdf625ca9ed0bdf8705fcc4f COPYING.MPL
|
||||
34
package/taglib/taglib.mk
Normal file
34
package/taglib/taglib.mk
Normal file
@@ -0,0 +1,34 @@
|
||||
################################################################################
|
||||
#
|
||||
# taglib
|
||||
#
|
||||
################################################################################
|
||||
|
||||
TAGLIB_VERSION = 2.3.1
|
||||
TAGLIB_SITE = https://taglib.org/releases
|
||||
TAGLIB_INSTALL_STAGING = YES
|
||||
TAGLIB_DEPENDENCIES = utfcpp
|
||||
TAGLIB_LICENSE = LGPL-2.1 or MPL-1.1
|
||||
TAGLIB_LICENSE_FILES = COPYING.LGPL COPYING.MPL
|
||||
TAGLIB_CPE_ID_VENDOR = taglib
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
||||
TAGLIB_CONF_OPTS += -DWITH_MP4=ON
|
||||
else
|
||||
TAGLIB_CONF_OPTS += -DWITH_MP4=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||
TAGLIB_DEPENDENCIES += zlib
|
||||
TAGLIB_CONF_OPTS += -DWITH_ZLIB=ON
|
||||
else
|
||||
TAGLIB_CONF_OPTS += -DWITH_ZLIB=OFF
|
||||
endif
|
||||
|
||||
define TAGLIB_REMOVE_DEVFILE
|
||||
rm -f $(TARGET_DIR)/usr/bin/taglib-config
|
||||
endef
|
||||
|
||||
TAGLIB_POST_INSTALL_TARGET_HOOKS += TAGLIB_REMOVE_DEVFILE
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user