summaryrefslogtreecommitdiff
path: root/package/multimedia/taglib
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-04-23 20:26:28 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-04-23 20:26:28 +0000
commitf856f324d4765212c14314bee9e1b6fe81883b65 (patch)
tree64ea733df90f9b5cd51e517ea1d9bbe90e5b2fbc /package/multimedia/taglib
parentb091877aa907a106286e01caaf686af96b5b4a9d (diff)
package/multimeda: add taglib package
Based on patch by Sven Neumann <s.neumann@phase-zero.de>, closes #283.
Diffstat (limited to 'package/multimedia/taglib')
-rw-r--r--package/multimedia/taglib/Config.in13
-rw-r--r--package/multimedia/taglib/taglib.mk27
2 files changed, 40 insertions, 0 deletions
diff --git a/package/multimedia/taglib/Config.in b/package/multimedia/taglib/Config.in
new file mode 100644
index 000000000..3d688a76c
--- /dev/null
+++ b/package/multimedia/taglib/Config.in
@@ -0,0 +1,13 @@
+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
diff --git a/package/multimedia/taglib/taglib.mk b/package/multimedia/taglib/taglib.mk
new file mode 100644
index 000000000..3187f85c0
--- /dev/null
+++ b/package/multimedia/taglib/taglib.mk
@@ -0,0 +1,27 @@
+#############################################################
+#
+# 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