- Update to 20120911
- Cleanup Makefile header Changes: https://github.com/lastfm/Fingerprinter/commits/master/
This commit is contained in:
parent
7870edfb87
commit
65cd17a75f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=305073
@ -1,13 +1,8 @@
|
||||
# New ports collection makefile for: fplib
|
||||
# Date created: 2011-11-12
|
||||
# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
||||
#
|
||||
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= fplib
|
||||
PORTVERSION= 20100712
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 20120911
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= LOCAL/sunpoet
|
||||
|
||||
@ -22,25 +17,18 @@ LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl \
|
||||
tag:${PORTSDIR}/audio/taglib
|
||||
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
REINPLACE_ARGS= -i ''
|
||||
USE_CMAKE= yes
|
||||
USE_LDCONFIG= yes
|
||||
USE_XZ= yes
|
||||
|
||||
PLIST_FILES= bin/lastfmfpclient \
|
||||
lib/liblastfmfp.a \
|
||||
lib/liblastfmfp.so \
|
||||
lib/liblastfmfp.so.1 \
|
||||
lib/liblastfmfp.so.1.6.0
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} \
|
||||
-e 's|\(ADD_DEFINITIONS\)(.*)|\1(${CFLAGS} ${CPPFLAGS})|' \
|
||||
-e 's|\(OUTPUT_NAME lastfmfp\)_static|\1|' \
|
||||
${WRKSRC}/fplib/CMakeLists.txt
|
||||
-e 's|\(LINK_DIRECTORIES\)(\(.*\))|\1(\2 ${LOCALBASE}/lib)|' \
|
||||
${WRKSRC}/CMakeLists.txt
|
||||
@${REINPLACE_CMD} \
|
||||
-e 's|\(ADD_DEFINITIONS\)(.*)|\1(${CFLAGS} ${CPPFLAGS})|' \
|
||||
-e 's|^\(LINK_DIRECTORIES\)(.*)|\1(${LOCALBASE}/lib)|' \
|
||||
-e 's| lastfmfp_static| lastfmfp_shared|' \
|
||||
${WRKSRC}/lastfmfpclient/CMakeLists.txt
|
||||
-e '85 s|size|&()|' \
|
||||
${WRKSRC}/include/fplib/FloatingAverage.h
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (fplib-20100712.tar.xz) = 27db1a34a73c67cafb87c3a3f44520b314f6aa1b01ebe9cefd3893ac55147db3
|
||||
SIZE (fplib-20100712.tar.xz) = 38932
|
||||
SHA256 (fplib-20120911.tar.xz) = 9d94924b39ccaca6290c9af67754a410a580d8d55f1e2ac9a6501770948776a6
|
||||
SIZE (fplib-20120911.tar.xz) = 55124
|
||||
|
11
audio/fplib/pkg-plist
Normal file
11
audio/fplib/pkg-plist
Normal file
@ -0,0 +1,11 @@
|
||||
bin/lastfm-fpclient
|
||||
include/fplib/CircularArray.h
|
||||
include/fplib/Filter.h
|
||||
include/fplib/FingerprintExtractor.h
|
||||
include/fplib/FloatingAverage.h
|
||||
include/fplib/OptFFT.h
|
||||
include/fplib/fp_helper_fun.h
|
||||
include/fplib/version.h
|
||||
lib/libfplib.a
|
||||
lib/libfplib.so
|
||||
@dirrm include/fplib
|
Loading…
Reference in New Issue
Block a user