diff options
author | wiz <wiz@pkgsrc.org> | 2006-04-12 21:41:58 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2006-04-12 21:41:58 +0000 |
commit | 76d6d1b63d221859ec75dcc6bda1bb196d7cfada (patch) | |
tree | c24fb154b6effcded5305c8a0d9f9d550efd80d6 /audio | |
parent | fc334960501f0686ae66ed56ad5a722c18fbfb81 (diff) | |
download | pkgsrc-76d6d1b63d221859ec75dcc6bda1bb196d7cfada.tar.gz |
Initial import of libtunepimp-0.4.2:
The TunePimp library serves as a tool to allow developers to create
MusicBrainz enabled tagging applications.
The TunePimp library is a full featured tagging library that allows
the developer to open music files for identification/lookup. Once
files have been identified, it writes new metadata tags to the
music files and writes the files to a standardized directory
hierarchy. TunePimp includes the following features:
* Create TRM IDs from WAV, MP3, Ogg/Vorbis and FLAC files
* Automatically lookup files by TRM or by metadata
* Read and write metadata from the music files
* Optionally rename files according to a user specified file mask
* Optionally move files to a user specified directory hierarchy
Diffstat (limited to 'audio')
-rw-r--r-- | audio/libtunepimp/DESCR | 14 | ||||
-rw-r--r-- | audio/libtunepimp/Makefile | 26 | ||||
-rw-r--r-- | audio/libtunepimp/PLIST | 22 | ||||
-rw-r--r-- | audio/libtunepimp/buildlink3.mk | 20 | ||||
-rw-r--r-- | audio/libtunepimp/distinfo | 7 | ||||
-rw-r--r-- | audio/libtunepimp/patches/patch-aa | 14 | ||||
-rw-r--r-- | audio/libtunepimp/patches/patch-ab | 17 |
7 files changed, 120 insertions, 0 deletions
diff --git a/audio/libtunepimp/DESCR b/audio/libtunepimp/DESCR new file mode 100644 index 00000000000..4f2832161e1 --- /dev/null +++ b/audio/libtunepimp/DESCR @@ -0,0 +1,14 @@ +The TunePimp library serves as a tool to allow developers to create +MusicBrainz enabled tagging applications. + +The TunePimp library is a full featured tagging library that allows +the developer to open music files for identification/lookup. Once +files have been identified, it writes new metadata tags to the +music files and writes the files to a standardized directory +hierarchy. TunePimp includes the following features: + +* Create TRM IDs from WAV, MP3, Ogg/Vorbis and FLAC files +* Automatically lookup files by TRM or by metadata +* Read and write metadata from the music files +* Optionally rename files according to a user specified file mask +* Optionally move files to a user specified directory hierarchy diff --git a/audio/libtunepimp/Makefile b/audio/libtunepimp/Makefile new file mode 100644 index 00000000000..c9f8128fef0 --- /dev/null +++ b/audio/libtunepimp/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/04/12 21:41:58 wiz Exp $ +# + +DISTNAME= libtunepimp-0.4.2 +CATEGORIES= audio +MASTER_SITES= ftp://ftp.musicbrainz.org/pub/musicbrainz/ \ + http://ftp.musicbrainz.org/pub/musicbrainz/ \ + ftp://ftp.nl.musicbrainz.org/ \ + ftp://ftp.au.musicbrainz.org/pub/musicbrainz/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://musicbrainz.org/products/tunepimp/index.html +COMMENT= Library to support MusicBrainz enabled tagging + +GNU_CONFIGURE= YES + +.include "../../audio/flac/buildlink3.mk" +.include "../../audio/musicbrainz/buildlink3.mk" +.include "../../audio/libmad/buildlink3.mk" +.include "../../audio/libvorbis/buildlink3.mk" +.include "../../audio/taglib/buildlink3.mk" +.include "../../converters/libiconv/buildlink3.mk" +.include "../../devel/ncurses/buildlink3.mk" +.include "../../devel/readline/buildlink3.mk" +.include "../../multimedia/mpeg4ip/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/audio/libtunepimp/PLIST b/audio/libtunepimp/PLIST new file mode 100644 index 00000000000..52f389abd20 --- /dev/null +++ b/audio/libtunepimp/PLIST @@ -0,0 +1,22 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/04/12 21:41:58 wiz Exp $ +bin/tp_tagger +bin/trm +include/tunepimp/context.h +include/tunepimp/decode_plugin.h +include/tunepimp/defs.h +include/tunepimp/fileio.h +include/tunepimp/metadata_plugin.h +include/tunepimp/tp_c.h +include/tunepimp/track.h +include/tunepimp/tunepimp.h +lib/libtunepimp.la +lib/tunepimp/plugins/flac.tpp +lib/tunepimp/plugins/mp3.tpp +lib/tunepimp/plugins/mp4.tpp +lib/tunepimp/plugins/mpc.tpp +lib/tunepimp/plugins/vorbis.tpp +lib/tunepimp/plugins/wav.tpp +lib/tunepimp/plugins/wma.tpp +@dirrm lib/tunepimp/plugins +@dirrm lib/tunepimp +@dirrm include/tunepimp diff --git a/audio/libtunepimp/buildlink3.mk b/audio/libtunepimp/buildlink3.mk new file mode 100644 index 00000000000..45dd332d31d --- /dev/null +++ b/audio/libtunepimp/buildlink3.mk @@ -0,0 +1,20 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/04/12 21:41:58 wiz Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LIBTUNEPIMP_BUILDLINK3_MK:= ${LIBTUNEPIMP_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= libtunepimp +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibtunepimp} +BUILDLINK_PACKAGES+= libtunepimp + +.if !empty(LIBTUNEPIMP_BUILDLINK3_MK:M+) +BUILDLINK_API_DEPENDS.libtunepimp+= libtunepimp>=0.4.2 +BUILDLINK_PKGSRCDIR.libtunepimp?= ../../audio/libtunepimp +.endif # LIBTUNEPIMP_BUILDLINK3_MK + +.include "../../audio/musicbrainz/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/audio/libtunepimp/distinfo b/audio/libtunepimp/distinfo new file mode 100644 index 00000000000..55f5780b7c4 --- /dev/null +++ b/audio/libtunepimp/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/04/12 21:41:58 wiz Exp $ + +SHA1 (libtunepimp-0.4.2.tar.gz) = deb7ac22e451b7512006e6f090333e14d4cbc78f +RMD160 (libtunepimp-0.4.2.tar.gz) = f4c7ebeb505c6b8b1dff284aebf6c9e249192765 +Size (libtunepimp-0.4.2.tar.gz) = 1019995 bytes +SHA1 (patch-aa) = 96a06f82115c6bbb5e4b4c4e65e2d2cba48ae55d +SHA1 (patch-ab) = 76f9d968de252f16d8a07daa710fe130ffed3764 diff --git a/audio/libtunepimp/patches/patch-aa b/audio/libtunepimp/patches/patch-aa new file mode 100644 index 00000000000..2b5f072dd72 --- /dev/null +++ b/audio/libtunepimp/patches/patch-aa @@ -0,0 +1,14 @@ +$NetBSD: patch-aa,v 1.1.1.1 2006/04/12 21:41:58 wiz Exp $ + +--- lib/write.cpp.orig 2006-01-19 21:05:11.000000000 +0000 ++++ lib/write.cpp +@@ -38,6 +38,9 @@ + # if defined(__APPLE__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) + # include <sys/param.h> + # include <sys/mount.h> ++# if (defined(__NetBSD__) && __NetBSD_Version__ >= 299000900) ++# define statfs statvfs ++# endif + # else + # include <sys/vfs.h> + # endif diff --git a/audio/libtunepimp/patches/patch-ab b/audio/libtunepimp/patches/patch-ab new file mode 100644 index 00000000000..59c03692d45 --- /dev/null +++ b/audio/libtunepimp/patches/patch-ab @@ -0,0 +1,17 @@ +$NetBSD: patch-ab,v 1.1.1.1 2006/04/12 21:41:58 wiz Exp $ + +--- configure.orig 2006-04-12 11:30:20.000000000 +0000 ++++ configure +@@ -20504,9 +20504,9 @@ fi + echo "*** Or see http://developer.kde.org/~wheeler/taglib.html" + else + TAGLIB_VERSION=`$TAGLIB_CONFIG --version` +- echo "$as_me:$LINENO: checking for taglib >= 1.4.0" >&5 +-echo $ECHO_N "checking for taglib >= 1.4.0... $ECHO_C" >&6 +- VERSION_CHECK=`expr $TAGLIB_VERSION \>\= 1.4.0` ++ echo "$as_me:$LINENO: checking for taglib >= 1.4" >&5 ++echo $ECHO_N "checking for taglib >= 1.4... $ECHO_C" >&6 ++ VERSION_CHECK=`expr $TAGLIB_VERSION \>\= 1.4` + if test "$VERSION_CHECK" = "1" ; then + echo "$as_me:$LINENO: result: yes" >&5 + echo "${ECHO_T}yes" >&6 |