The last.fm fingerprint library
The fingerprinting process works in two steps:
1. Get PCM data and pass it to *fplib* which will return byte string to be
submitted to the last.fm HTTP fingerprint service. This will return a number
(fingerprintID).
2. Query the last.fm API with the fingerprintID and obtain the metadata in xml
format.
The lastfmfpclient directory contains an example of application that uses fplib
and queries both services.
WWW: https://github.com/lastfm/Fingerprinter
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
- Remove bogus (in presence of USE_GITHUB) USES=tar*
- Fix license: actual license for code is GPLv3+, LGPL is for debian changes
only
Approved by: portmgr blanket
Let USES=localbase add -L${LOCALBASE}/lib to LIBS instead of LDFLAGS.
USES=localbase:ldflags can be used to set LDFLAGS. Normally LDFLAGS
appears too early on the command line causing some ports to link with
their own libraries in LOCALBASE (if installed) instead of WRKSRC.
Also make use of _USES_POST so -L${LOCALBASE}/lib is added as late as
possible after anything a port Makefile might set. Use _USES_POST
instead of .include in libedit.mk and libarchive.mk so things like
'USES=libedit localbase:ldflags' work correctly.
Fix some issues with LIBS in some ports.
Switch ports that don't support LIBS to localbase:ldflags.
PR: 212987
Exp-run by: antoine
Approved by: portmgr (antoine)
Add a patch to explicitly link against libfplib.so.
What the port was doing was never right, but the upcoming CMake 3.5.0 makes the
build failures happen more often.
Using target_link_libraries() with a name like fplib will just pass -lfplib to
the linker instead of declaring a dependency between the lastfm-fpclient and
fplib_shared targets and parallel builds may break.
PR: 208033
Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla in
the 32 ports that still use it. Bump PORTREVISION on their dependent
ports except the ones that depend on these:
audio/libogg
audio/libvorbis
devel/pcre
ftp/curl
graphics/jpeg
graphics/libart_lgpl
graphics/tiff
textproc/expat2
textproc/libxslt
In these cases the same trick as in the recent gettext update is used.
(Only the first 15 lines of the commit message are shown above )
- Add fplib 20100712
The last.fm fingerprint library
The fingerprinting process works in two steps:
1. Get PCM data and pass it to *fplib* which will return byte string to be
submitted to the last.fm HTTP fingerprint service. This will return a number
(fingerprintID).
2. Query the last.fm API with the fingerprintID and obtain the metadata in xml
format.
The lastfmfpclient directory contains an example of application that uses fplib
and queries both services.
WWW: https://github.com/lastfm/Fingerprinter
Feature safe: yes