diff options
author | wiz <wiz@pkgsrc.org> | 2006-07-12 13:07:19 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2006-07-12 13:07:19 +0000 |
commit | 5ded07da8fdd0b2530e925473a39323438a08a52 (patch) | |
tree | 783110b4f535a9123f900ee300c8bde5f67b4613 /audio/libtunepimp0.4 | |
parent | c2533def37345cb925e05065e86a94278031d6c1 (diff) | |
download | pkgsrc-5ded07da8fdd0b2530e925473a39323438a08a52.tar.gz |
Reimport libtunepimp as libtunepimp0.4, in preparation for the libtunepimp
update, for packages which still need the 0.4 API.
Diffstat (limited to 'audio/libtunepimp0.4')
-rw-r--r-- | audio/libtunepimp0.4/DESCR | 14 | ||||
-rw-r--r-- | audio/libtunepimp0.4/Makefile | 36 | ||||
-rw-r--r-- | audio/libtunepimp0.4/PLIST | 22 | ||||
-rw-r--r-- | audio/libtunepimp0.4/buildlink3.mk | 21 | ||||
-rw-r--r-- | audio/libtunepimp0.4/distinfo | 9 | ||||
-rw-r--r-- | audio/libtunepimp0.4/patches/patch-aa | 30 | ||||
-rw-r--r-- | audio/libtunepimp0.4/patches/patch-ab | 33 | ||||
-rw-r--r-- | audio/libtunepimp0.4/patches/patch-ac | 13 | ||||
-rw-r--r-- | audio/libtunepimp0.4/patches/patch-ad | 13 |
9 files changed, 191 insertions, 0 deletions
diff --git a/audio/libtunepimp0.4/DESCR b/audio/libtunepimp0.4/DESCR new file mode 100644 index 00000000000..4f2832161e1 --- /dev/null +++ b/audio/libtunepimp0.4/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/libtunepimp0.4/Makefile b/audio/libtunepimp0.4/Makefile new file mode 100644 index 00000000000..2c29d45d659 --- /dev/null +++ b/audio/libtunepimp0.4/Makefile @@ -0,0 +1,36 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/07/12 13:07:19 wiz Exp $ +# + +DISTNAME= libtunepimp-0.4.2 +PKGREVISION= 1 +CATEGORIES= audio +MASTER_SITES= ftp://ftp.musicbrainz.org/pub/musicbrainz/ \ + http://ftp.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 +USE_LANGUAGES= c c++ +USE_LIBTOOL= YES +CONFLICTS+= tunepimp-[0-9]* trm-[0-9]* + +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "SunOS" +pre-configure: + ${ECHO} "#define HAVE_STATVFS 1" >> ${WRKSRC}/config.h.in +.endif + +.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/pthread.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/audio/libtunepimp0.4/PLIST b/audio/libtunepimp0.4/PLIST new file mode 100644 index 00000000000..366b26ef966 --- /dev/null +++ b/audio/libtunepimp0.4/PLIST @@ -0,0 +1,22 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/07/12 13:07:19 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/libtunepimp0.4/buildlink3.mk b/audio/libtunepimp0.4/buildlink3.mk new file mode 100644 index 00000000000..c15dd9848af --- /dev/null +++ b/audio/libtunepimp0.4/buildlink3.mk @@ -0,0 +1,21 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/07/12 13:07:19 wiz Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LIBTUNEPIMP_BUILDLINK3_MK:= ${LIBTUNEPIMP_BUILDLINK3_MK}+ + +.if ${BUILDLINK_DEPTH} == "+" +BUILDLINK_DEPENDS+= libtunepimp +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibtunepimp} +BUILDLINK_PACKAGES+= libtunepimp +BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libtunepimp + +.if ${LIBTUNEPIMP_BUILDLINK3_MK} == "+" +BUILDLINK_API_DEPENDS.libtunepimp+= libtunepimp>=0.4.2 +BUILDLINK_PKGSRCDIR.libtunepimp?= ../../audio/libtunepimp0.4 +.endif # LIBTUNEPIMP_BUILDLINK3_MK + +.include "../../audio/musicbrainz/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/audio/libtunepimp0.4/distinfo b/audio/libtunepimp0.4/distinfo new file mode 100644 index 00000000000..9ad4f5594dc --- /dev/null +++ b/audio/libtunepimp0.4/distinfo @@ -0,0 +1,9 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/07/12 13:07:19 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) = 1c0e484dbe02309ab09ce153dcad710590aedcd1 +SHA1 (patch-ab) = d72634d99a70925ee180108db4a95c10124b7de0 +SHA1 (patch-ac) = bebb5ac1358007098704052888a98f9d97376b6a +SHA1 (patch-ad) = cdd662177cf90a9e926881d25eb40d674ca21456 diff --git a/audio/libtunepimp0.4/patches/patch-aa b/audio/libtunepimp0.4/patches/patch-aa new file mode 100644 index 00000000000..3c1fbf1eed0 --- /dev/null +++ b/audio/libtunepimp0.4/patches/patch-aa @@ -0,0 +1,30 @@ +$NetBSD: patch-aa,v 1.1.1.1 2006/07/12 13:07:19 wiz Exp $ + +--- lib/write.cpp.orig 2006-01-20 10:05:11.000000000 +1300 ++++ lib/write.cpp +@@ -35,9 +35,12 @@ + # include <sys/stat.h> + # include <sys/types.h> + # include <fcntl.h> +-# if defined(__APPLE__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) ++# if defined(__APPLE__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) + # include <sys/param.h> + # include <sys/mount.h> ++# if (defined(__NetBSD__) && __NetBSD_Version__ >= 299000900) ++# define HAVE_STATVFS 1 ++# endif + # else + # include <sys/vfs.h> + # endif +@@ -54,6 +57,11 @@ + #include "fileio.h" + #include "utf8/utf8util.h" + ++#if defined(HAVE_STATVFS) ++# define statfs statvfs ++# define f_bsize f_frsize ++#endif ++ + #ifdef WIN32 + const char *dirSep = "\\"; + const char dirSepChar = '\\'; diff --git a/audio/libtunepimp0.4/patches/patch-ab b/audio/libtunepimp0.4/patches/patch-ab new file mode 100644 index 00000000000..3ee62e249ad --- /dev/null +++ b/audio/libtunepimp0.4/patches/patch-ab @@ -0,0 +1,33 @@ +$NetBSD: patch-ab,v 1.1.1.1 2006/07/12 13:07:19 wiz Exp $ + +--- configure.orig 2006-01-28 21:54:07.000000000 +0100 ++++ 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 +@@ -21401,7 +21401,6 @@ echo "$as_me: error: \"Cannot build. Sto + fi + + +-LIBS="-lmusicbrainz" + if test "$cross_compiling" = yes; then + have_mbver=false + else +@@ -21478,7 +21477,6 @@ ac_link='$CC -o conftest$ac_exeext $CFLA + ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +-LIBS="" + if test "x$os" = "xdarwin"; then + LIBS="$LIBS -framework CoreFoundation" + fi diff --git a/audio/libtunepimp0.4/patches/patch-ac b/audio/libtunepimp0.4/patches/patch-ac new file mode 100644 index 00000000000..95856094cb0 --- /dev/null +++ b/audio/libtunepimp0.4/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1.1.1 2006/07/12 13:07:19 wiz Exp $ + +--- lib/threads/posix/Makefile.in.orig 2006-04-17 09:21:22.000000000 +1200 ++++ lib/threads/posix/Makefile.in +@@ -211,7 +211,7 @@ target_alias = @target_alias@ + INCLUDES = -I$(top_srcdir)/include/tunepimp + noinst_LTLIBRARIES = libtpthread.la + libtpthread_la_SOURCES = mutex.cpp mutex.h thread.cpp thread.h semaphore.cpp semaphore.h +-@FREEBSD_FALSE@libtpthread_la_LIBADD = -lpthread ++@FREEBSD_FALSE@libtpthread_la_LIBADD = ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} + @FREEBSD_TRUE@libtpthread_la_LIBADD = -lthr + all: all-am + diff --git a/audio/libtunepimp0.4/patches/patch-ad b/audio/libtunepimp0.4/patches/patch-ad new file mode 100644 index 00000000000..d6c99520493 --- /dev/null +++ b/audio/libtunepimp0.4/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1.1.1 2006/07/12 13:07:19 wiz Exp $ + +--- lib/Makefile.in.orig 2006-04-17 09:23:47.000000000 +1200 ++++ lib/Makefile.in +@@ -262,7 +262,7 @@ libtunepimp_la_SOURCES = tunepimp.cpp fi + # 1:0:0 - TunePimp implementation for version 0.2.x + # 2:0:0 - TunePimp implementation for version 0.3.x + # 3:0:0 - TunePimp implementation for version 0.4.x +-libtunepimp_la_LDFLAGS = -version-info 3:0:0 ++libtunepimp_la_LDFLAGS = -version-info 3:0:0 ${PTHREAD_LDFLAGS} + libtunepimp_la_LIBADD = threads/posix/libtpthread.la utf8/libutf8.la -lmusicbrainz -lz $(LIBLTDL) -lm + noinst_LTLIBRARIES = libpluginsupport.la + libpluginsupport_la_SOURCES = metadata.cpp fileio.cpp |