summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-12-09 03:21:00 +0000
committerlioux <lioux@FreeBSD.org>2001-12-09 03:21:00 +0000
commitf9233d01a9baa6bdb9e9718bd83bb521aed35119 (patch)
tree5f7b0733c45b007d2a7c3171a2661dea4179502a /audio
parentb265ea47685639f1877212c6d5818365841be608 (diff)
downloadFreeBSD-ports-f9233d01a9baa6bdb9e9718bd83bb521aed35119.zip
FreeBSD-ports-f9233d01a9baa6bdb9e9718bd83bb521aed35119.tar.gz
New port songprint version 1.2: Library for acoustic fingerprinting
of music from Freetantrum (TM)
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/songprint/Makefile59
-rw-r--r--audio/songprint/distinfo1
-rw-r--r--audio/songprint/files/patch-src:sp_identify.c11
-rw-r--r--audio/songprint/pkg-comment1
-rw-r--r--audio/songprint/pkg-descr9
-rw-r--r--audio/songprint/pkg-plist15
7 files changed, 97 insertions, 0 deletions
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 <lioux@FreeBSD.org>
+#
+# $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 <bsd.port.mk>
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 <stdlib.h>
+ #include <sys/types.h>
+
++#include <sys/time.h>
++
+ #ifdef HAVE_SYS_SOCKET_H
+ #include <sys/socket.h>
+ #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
OpenPOWER on IntegriCloud