package/multimedia: move audio libraries out

Move audio libraries out of the Audio and Video category into the
Libraries/Audio one.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Gustavo Zacarias
2012-04-30 03:48:16 +00:00
committed by Peter Korsgaard
parent 84d589a963
commit 5d6f32878f
43 changed files with 20 additions and 17 deletions

22
package/taglib/Config.in Normal file
View File

@@ -0,0 +1,22 @@
config BR2_PACKAGE_TAGLIB
bool "taglib"
depends on BR2_INSTALL_LIBSTDCPP
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://developer.kde.org/~wheeler/taglib.html
config BR2_PACKAGE_TAGLIB_MP4
depends on BR2_PACKAGE_TAGLIB
bool "taglib mp4 support"
config BR2_PACKAGE_TAGLIB_ASF
depends on BR2_PACKAGE_TAGLIB
bool "taglib wma support"
comment "taglib requires a toolchain with C++ support enabled"
depends on !BR2_INSTALL_LIBSTDCPP

28
package/taglib/taglib.mk Normal file
View File

@@ -0,0 +1,28 @@
#############################################################
#
# taglib
#
#############################################################
TAGLIB_VERSION = 1.7.1
TAGLIB_SOURCE = taglib-$(TAGLIB_VERSION).tar.gz
TAGLIB_SITE = http://developer.kde.org/~wheeler/files/src
TAGLIB_INSTALL_STAGING = YES
ifeq ($(BR2_PACKAGE_TAGLIB_ASF),y)
TAGLIB_CONF_OPT += -DWITH_ASF=ON
endif
ifeq ($(BR2_PACKAGE_TAGLIB_MP4),y)
TAGLIB_CONF_OPT += -DWITH_MP4=ON
endif
define TAGLIB_REMOVE_DEVFILE
rm -f $(TARGET_DIR)/usr/bin/taglib-config
endef
ifneq ($(BR2_HAVE_DEVFILES),y)
TAGLIB_POST_INSTALL_TARGET_HOOKS += TAGLIB_REMOVE_DEVFILE
endif
$(eval $(call CMAKETARGETS))