pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/libtunepimp0.4 Reimport libtunepimp as libtunepi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ef0ce3d6532d
branches:  trunk
changeset: 515982:ef0ce3d6532d
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Jul 12 13:07:19 2006 +0000

description:
Reimport libtunepimp as libtunepimp0.4, in preparation for the libtunepimp
update, for packages which still need the 0.4 API.

diffstat:

 audio/libtunepimp0.4/DESCR            |  14 +++++++++++++
 audio/libtunepimp0.4/Makefile         |  36 +++++++++++++++++++++++++++++++++++
 audio/libtunepimp0.4/PLIST            |  22 +++++++++++++++++++++
 audio/libtunepimp0.4/buildlink3.mk    |  21 ++++++++++++++++++++
 audio/libtunepimp0.4/distinfo         |   9 ++++++++
 audio/libtunepimp0.4/patches/patch-aa |  30 +++++++++++++++++++++++++++++
 audio/libtunepimp0.4/patches/patch-ab |  33 ++++++++++++++++++++++++++++++++
 audio/libtunepimp0.4/patches/patch-ac |  13 ++++++++++++
 audio/libtunepimp0.4/patches/patch-ad |  13 ++++++++++++
 9 files changed, 191 insertions(+), 0 deletions(-)

diffs (227 lines):

diff -r 98ee134b585c -r ef0ce3d6532d audio/libtunepimp0.4/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libtunepimp0.4/DESCR        Wed Jul 12 13:07:19 2006 +0000
@@ -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 -r 98ee134b585c -r ef0ce3d6532d audio/libtunepimp0.4/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libtunepimp0.4/Makefile     Wed Jul 12 13:07:19 2006 +0000
@@ -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@localhost
+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 -r 98ee134b585c -r ef0ce3d6532d audio/libtunepimp0.4/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libtunepimp0.4/PLIST        Wed Jul 12 13:07:19 2006 +0000
@@ -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 -r 98ee134b585c -r ef0ce3d6532d audio/libtunepimp0.4/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libtunepimp0.4/buildlink3.mk        Wed Jul 12 13:07:19 2006 +0000
@@ -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 -r 98ee134b585c -r ef0ce3d6532d audio/libtunepimp0.4/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libtunepimp0.4/distinfo     Wed Jul 12 13:07:19 2006 +0000
@@ -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 -r 98ee134b585c -r ef0ce3d6532d audio/libtunepimp0.4/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libtunepimp0.4/patches/patch-aa     Wed Jul 12 13:07:19 2006 +0000
@@ -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 -r 98ee134b585c -r ef0ce3d6532d audio/libtunepimp0.4/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libtunepimp0.4/patches/patch-ab     Wed Jul 12 13:07:19 2006 +0000
@@ -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 -r 98ee134b585c -r ef0ce3d6532d audio/libtunepimp0.4/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libtunepimp0.4/patches/patch-ac     Wed Jul 12 13:07:19 2006 +0000
@@ -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 -r 98ee134b585c -r ef0ce3d6532d audio/libtunepimp0.4/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libtunepimp0.4/patches/patch-ad     Wed Jul 12 13:07:19 2006 +0000
@@ -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



Home | Main Index | Thread Index | Old Index