1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-02 11:09:29 +00:00

New port songprint version 1.2: Library for acoustic fingerprinting

of music from Freetantrum (TM)
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2001-12-09 03:21:00 +00:00
parent 6bfc4611e3
commit 70250efb7b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=51271
7 changed files with 97 additions and 0 deletions

View File

@ -190,6 +190,7 @@
SUBDIR += snack
SUBDIR += snd
SUBDIR += snowstar
SUBDIR += songprint
SUBDIR += soundtracker
SUBDIR += sox
SUBDIR += sphinx

59
audio/songprint/Makefile Normal file
View File

@ -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>

1
audio/songprint/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (songprint-1.2.tar.gz) = 1455710f6e25cedb5e719ed90aeedde0

View File

@ -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

View File

@ -0,0 +1 @@
Library for acoustic fingerprinting of music from Freetantrum (TM)

View File

@ -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/

15
audio/songprint/pkg-plist Normal file
View File

@ -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