Commit f856f324 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

package/multimeda: add taglib package

Based on patch by Sven Neumann <s.neumann@phase-zero.de>, closes #283.
parent b091877a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -20,5 +20,6 @@ source "package/multimedia/mpg123/Config.in"
source "package/multimedia/mplayer/Config.in"
source "package/multimedia/speex/Config.in"
source "package/multimedia/festival/Config.in"
source "package/multimedia/taglib/Config.in"
source "package/multimedia/vlc/Config.in"
endmenu
+13 −0
Original line number Diff line number Diff line
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

comment "taglib requires a toolchain with C++ support enabled"
	depends on !BR2_INSTALL_LIBSTDCPP
+27 −0
Original line number Diff line number Diff line
#############################################################
#
# taglib
#
#############################################################
TAGLIB_VERSION = 1.5
TAGLIB_SOURCE = taglib-$(TAGLIB_VERSION).tar.gz
TAGLIB_SITE = http://developer.kde.org/~wheeler/files/src
TAGLIB_LIBTOOL_PATCH = NO
TAGLIB_INSTALL_STAGING = YES

TAGLIB_DEPENDENCIES = uclibc

TAGLIB_CONF_ENV = \
	DO_NOT_COMPILE='bindings tests examples' \
	ac_cv_header_cppunit_extensions_HelperMacros_h=no \
	ac_cv_header_zlib_h=$(if $(BR2_PACKAGE_ZLIB),yes,no)

TAGLIB_CONF_OPT = --disable-libsuffix --program-prefix=''

$(eval $(call AUTOTARGETS,package/multimedia,taglib))

ifneq ($(BR2_HAVE_DEVFILES),y)
$(TAGLIB_HOOK_POST_INSTALL):
	rm -f $(TARGET_DIR)/usr/bin/taglib-config
	touch $@
endif