mirror of
https://gitee.com/open-loongarch/buildroot-2024.08.git
synced 2026-10-25 20:57:12 +08:00
first commit: base 2024.08
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
config BR2_PACKAGE_TAGLIB
|
||||
bool "taglib"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_USE_WCHAR
|
||||
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"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
|
||||
@@ -0,0 +1,4 @@
|
||||
# Locally calculated
|
||||
sha256 c8da2b10f1bfec2cd7dbfcd33f4a2338db0765d851a50583d410bacf055cfd0b taglib-1.13.1.tar.gz
|
||||
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LGPL
|
||||
sha256 53692a2ed6c6a2c6ec9b32dd0b820dfae91e0a1fcdf625ca9ed0bdf8705fcc4f COPYING.MPL
|
||||
@@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
#
|
||||
# taglib
|
||||
#
|
||||
################################################################################
|
||||
|
||||
TAGLIB_VERSION = 1.13.1
|
||||
TAGLIB_SITE = http://taglib.github.io/releases
|
||||
TAGLIB_INSTALL_STAGING = YES
|
||||
TAGLIB_LICENSE = LGPL-2.1 or MPL-1.1
|
||||
TAGLIB_LICENSE_FILES = COPYING.LGPL COPYING.MPL
|
||||
TAGLIB_CPE_ID_VENDOR = taglib
|
||||
|
||||
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