From f9233d01a9baa6bdb9e9718bd83bb521aed35119 Mon Sep 17 00:00:00 2001 From: lioux Date: Sun, 9 Dec 2001 03:21:00 +0000 Subject: New port songprint version 1.2: Library for acoustic fingerprinting of music from Freetantrum (TM) --- audio/Makefile | 1 + audio/songprint/Makefile | 59 +++++++++++++++++++++++++++ audio/songprint/distinfo | 1 + audio/songprint/files/patch-src:sp_identify.c | 11 +++++ audio/songprint/pkg-comment | 1 + audio/songprint/pkg-descr | 9 ++++ audio/songprint/pkg-plist | 15 +++++++ 7 files changed, 97 insertions(+) create mode 100644 audio/songprint/Makefile create mode 100644 audio/songprint/distinfo create mode 100644 audio/songprint/files/patch-src:sp_identify.c create mode 100644 audio/songprint/pkg-comment create mode 100644 audio/songprint/pkg-descr create mode 100644 audio/songprint/pkg-plist (limited to 'audio') diff --git a/audio/Makefile b/audio/Makefile index 67feebc..c7f3404 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -190,6 +190,7 @@ SUBDIR += snack SUBDIR += snd SUBDIR += snowstar + SUBDIR += songprint SUBDIR += soundtracker SUBDIR += sox SUBDIR += sphinx diff --git a/audio/songprint/Makefile b/audio/songprint/Makefile new file mode 100644 index 0000000..7c337de --- /dev/null +++ b/audio/songprint/Makefile @@ -0,0 +1,59 @@ +# New ports collection makefile for: Freetantrum SongPrint +# Date created: Sat Dec 8 22:27:55 BRST 2001 +# Whom: Mario Sergio Fujikawa Ferreira +# +# $FreeBSD$ +# + +PORTNAME= songprint +PORTVERSION= 1.2 +CATEGORIES= audio +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= freetantrum + +MAINTAINER= lioux@FreeBSD.org + +LIB_DEPENDS= fftw.2:${PORTSDIR}/math/fftw + +USE_GLIB= yes +GNU_CONFIGURE= yes +USE_GMAKE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +INSTALLS_SHLIB= yes + +# turn off mp3 codec in reference code +.ifdef(WITHOUT_MP3) +CONFIGURE_ARGS+= --disable-mp3 +.endif +# turn off OggVorbis codec in reference code +.ifdef(WITHOUT_OGG) +CONFIGURE_ARGS+= --disable-oggvorbis +.endif +# turn off wave codec in reference code +.ifdef(WITHOUT_WAV) +CONFIGURE_ARGS+= --disable-wav +.endif + +DOC_FILES= AUTHORS COPYING NEWS README + +pre-everything:: +.ifndef(WITHOUT_MP3) + @${ECHO_MSG} "You can disable MP3 audio file support by defining WITHOUT_MP3." +.endif +.ifndef(WITHOUT_OGG) + @${ECHO_MSG} "You can disable OGG audio file support by defining WITHOUT_OGG." +.endif +.ifndef(WITHOUT_WAV) + @${ECHO_MSG} "You can disable WAV audio file support by defining WITHOUT_WAV." +.endif + +post-install: +.ifndef(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for doc in ${DOC_FILES} + @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} +.endfor +.endif + +.include diff --git a/audio/songprint/distinfo b/audio/songprint/distinfo new file mode 100644 index 0000000..1596baf --- /dev/null +++ b/audio/songprint/distinfo @@ -0,0 +1 @@ +MD5 (songprint-1.2.tar.gz) = 1455710f6e25cedb5e719ed90aeedde0 diff --git a/audio/songprint/files/patch-src:sp_identify.c b/audio/songprint/files/patch-src:sp_identify.c new file mode 100644 index 0000000..77d6872 --- /dev/null +++ b/audio/songprint/files/patch-src:sp_identify.c @@ -0,0 +1,11 @@ +--- src/sp_identify.c.orig Sun Dec 9 00:35:01 2001 ++++ src/sp_identify.c Sun Dec 9 00:35:22 2001 +@@ -26,6 +26,8 @@ + #include + #include + ++#include ++ + #ifdef HAVE_SYS_SOCKET_H + #include + #endif diff --git a/audio/songprint/pkg-comment b/audio/songprint/pkg-comment new file mode 100644 index 0000000..84cdc39 --- /dev/null +++ b/audio/songprint/pkg-comment @@ -0,0 +1 @@ +Library for acoustic fingerprinting of music from Freetantrum (TM) diff --git a/audio/songprint/pkg-descr b/audio/songprint/pkg-descr new file mode 100644 index 0000000..24b30c9 --- /dev/null +++ b/audio/songprint/pkg-descr @@ -0,0 +1,9 @@ +This is the songprint library from Freetantrum (TM), a library for +acoustic fingerprinting of music and queries using eTantrum's song +identification service. + +Please, visit http://www.freetantrum.org, or join the mailing list +at http://lists.sourceforge.net/mailman/listinfo/freetantrum-devel. +to both help and participate in Freetantrum development. + +WWW: http://sourceforge.net/projects/freetantrum/ diff --git a/audio/songprint/pkg-plist b/audio/songprint/pkg-plist new file mode 100644 index 0000000..d116235 --- /dev/null +++ b/audio/songprint/pkg-plist @@ -0,0 +1,15 @@ +include/songprint.h +include/songprintfile.h +lib/libsongprint.a +lib/libsongprint.la +lib/libsongprint.so +lib/libsongprint.so.1 +lib/libsongprintfile.a +lib/libsongprintfile.la +lib/libsongprintfile.so +lib/libsongprintfile.so.0 +%%PORTDOCS%%share/doc/songprint/AUTHORS +%%PORTDOCS%%share/doc/songprint/COPYING +%%PORTDOCS%%share/doc/songprint/NEWS +%%PORTDOCS%%share/doc/songprint/README +%%PORTDOCS%%@dirrm share/doc/songprint -- cgit v1.1