diff options
author | wiz <wiz@pkgsrc.org> | 2006-07-12 13:12:57 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2006-07-12 13:12:57 +0000 |
commit | 4ce77e4c287cfedeb85698dc9ca85e61eda02b22 (patch) | |
tree | 03c757d444d91468c81964b9e3f30c2d9e95e13e | |
parent | c4aa31d6c887dd256b8d089f0a5bfe7c59ed0f61 (diff) | |
download | pkgsrc-4ce77e4c287cfedeb85698dc9ca85e61eda02b22.tar.gz |
Initial import of libofa-0.9.3:
The world is drowning in individual music files astray with corrupt
metadata, insignificant file names, and no way to identify the
music.
MusicDNS and the Open Fingerprint Architecture provide a system
for identifying a piece of music with nothing more than the sound
of the piece itself.
MusicDNS is the largest single dataset of acoustic fingerprints in
the world with more than 16 million individual tracks identified
and growing DAILY! With the Open Fingerprint client-code, tracks
can be identified consistently against the MusicDNS dataset, and
new tracks are easily added.
The Open Fingerprint is deployed world-wide--and now the client
source code is available under Open Source license.
Use the fingerprint code freely, or hook it up to the largest
repository of fingerprinted tracks on the planet--MusicDNS. Free
client keys for developers and non-profits are available on the
website. For commercial deployment, use the low-cost MusicDNS.com
service from MusicIP.
-rw-r--r-- | audio/libofa/DESCR | 22 | ||||
-rw-r--r-- | audio/libofa/Makefile | 24 | ||||
-rw-r--r-- | audio/libofa/PLIST | 5 | ||||
-rw-r--r-- | audio/libofa/buildlink3.mk | 21 | ||||
-rw-r--r-- | audio/libofa/distinfo | 6 | ||||
-rw-r--r-- | audio/libofa/patches/patch-aa | 13 |
6 files changed, 91 insertions, 0 deletions
diff --git a/audio/libofa/DESCR b/audio/libofa/DESCR new file mode 100644 index 00000000000..5d701bda4cc --- /dev/null +++ b/audio/libofa/DESCR @@ -0,0 +1,22 @@ +The world is drowning in individual music files astray with corrupt +metadata, insignificant file names, and no way to identify the +music. + +MusicDNS and the Open Fingerprint Architecture provide a system +for identifying a piece of music with nothing more than the sound +of the piece itself. + +MusicDNS is the largest single dataset of acoustic fingerprints in +the world with more than 16 million individual tracks identified +and growing DAILY! With the Open Fingerprint client-code, tracks +can be identified consistently against the MusicDNS dataset, and +new tracks are easily added. + +The Open Fingerprint is deployed world-wide--and now the client +source code is available under Open Source license. + +Use the fingerprint code freely, or hook it up to the largest +repository of fingerprinted tracks on the planet--MusicDNS. Free +client keys for developers and non-profits are available on the +website. For commercial deployment, use the low-cost MusicDNS.com +service from MusicIP. diff --git a/audio/libofa/Makefile b/audio/libofa/Makefile new file mode 100644 index 00000000000..8cc02682111 --- /dev/null +++ b/audio/libofa/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/07/12 13:12:57 wiz Exp $ +# + +DISTNAME= libofa-0.9.3 +CATEGORIES= audio +MASTER_SITES= http://www.musicdns.org/themes/musicdns_org/downloads/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.musicdns.org/ +COMMENT= Open Fingerprint Architecture library + +USE_PKGLOCALEDIR= yes +USE_LANGUAGES= c c++ +USE_LIBTOOL= yes +USE_TOOLS+= pkg-config +GNU_CONFIGURE= yes + +PKGCONFIG_OVERRIDE+= libofa.pc.in + +.include "../../math/fftw/buildlink3.mk" +# next two only needed for examples +.include "../../textproc/expat/buildlink3.mk" +.include "../../www/curl/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/audio/libofa/PLIST b/audio/libofa/PLIST new file mode 100644 index 00000000000..de156d5c2aa --- /dev/null +++ b/audio/libofa/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/07/12 13:12:57 wiz Exp $ +include/ofa1/ofa.h +lib/libofa.la +lib/pkgconfig/libofa.pc +@dirrm include/ofa1 diff --git a/audio/libofa/buildlink3.mk b/audio/libofa/buildlink3.mk new file mode 100644 index 00000000000..3a412d2246f --- /dev/null +++ b/audio/libofa/buildlink3.mk @@ -0,0 +1,21 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/07/12 13:12:57 wiz Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LIBOFA_BUILDLINK3_MK:= ${LIBOFA_BUILDLINK3_MK}+ + +.if ${BUILDLINK_DEPTH} == "+" +BUILDLINK_DEPENDS+= libofa +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibofa} +BUILDLINK_PACKAGES+= libofa +BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libofa + +.if ${LIBOFA_BUILDLINK3_MK} == "+" +BUILDLINK_API_DEPENDS.libofa+= libofa>=0.9.3 +BUILDLINK_PKGSRCDIR.libofa?= ../../audio/libofa +.endif # LIBOFA_BUILDLINK3_MK + +.include "../../math/fftw/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/audio/libofa/distinfo b/audio/libofa/distinfo new file mode 100644 index 00000000000..c64ffec410b --- /dev/null +++ b/audio/libofa/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/07/12 13:12:57 wiz Exp $ + +SHA1 (libofa-0.9.3.tar.gz) = 3dec8e1dcea937f74b4165e9ffd4d4f355e4594a +RMD160 (libofa-0.9.3.tar.gz) = 77f393570bb5356026c4b9c7195236bd96cb9143 +Size (libofa-0.9.3.tar.gz) = 384043 bytes +SHA1 (patch-aa) = 5873559f25c2dd3ca7cd3beac089167faa1ce49f diff --git a/audio/libofa/patches/patch-aa b/audio/libofa/patches/patch-aa new file mode 100644 index 00000000000..4e73408d920 --- /dev/null +++ b/audio/libofa/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2006/07/12 13:12:57 wiz Exp $ + +--- lib/JAMA/tnt_math_utils.h.orig 2006-05-10 17:58:50.000000000 +0000 ++++ lib/JAMA/tnt_math_utils.h +@@ -30,7 +30,7 @@ Real hypot(const Real &a, const Real &b) + {
+
+ if (a== 0)
+- return abs(b);
++ return fabs(b);
+ else
+ {
+ Real c = b/a;
|