[Midnightbsd-cvs] mports [23567] trunk/audio: add chromaprint

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Jun 9 19:07:38 EDT 2018


Revision: 23567
          http://svnweb.midnightbsd.org/mports/?rev=23567
Author:   laffer1
Date:     2018-06-09 19:07:38 -0400 (Sat, 09 Jun 2018)
Log Message:
-----------
add chromaprint

Modified Paths:
--------------
    trunk/audio/Makefile

Added Paths:
-----------
    trunk/audio/chromaprint/
    trunk/audio/chromaprint/Makefile
    trunk/audio/chromaprint/distinfo
    trunk/audio/chromaprint/files/
    trunk/audio/chromaprint/files/patch-tests_CMakeLists.txt
    trunk/audio/chromaprint/pkg-descr
    trunk/audio/chromaprint/pkg-plist

Modified: trunk/audio/Makefile
===================================================================
--- trunk/audio/Makefile	2018-06-09 23:06:16 UTC (rev 23566)
+++ trunk/audio/Makefile	2018-06-09 23:07:38 UTC (rev 23567)
@@ -7,6 +7,7 @@
 SUBDIR += cddb-bundle
 SUBDIR += cdparanoia
 SUBDIR += celt
+SUBDIR += chromaprint
 SUBDIR += esound
 SUBDIR += espeak
 SUBDIR += faac
@@ -71,6 +72,7 @@
 SUBDIR += libcddb
 SUBDIR += libdiscid
 SUBDIR += libdssialsacompat
+SUBDIR += libechonest
 SUBDIR += libgpod
 SUBDIR += libgme
 SUBDIR += libid3tag

Added: trunk/audio/chromaprint/Makefile
===================================================================
--- trunk/audio/chromaprint/Makefile	                        (rev 0)
+++ trunk/audio/chromaprint/Makefile	2018-06-09 23:07:38 UTC (rev 23567)
@@ -0,0 +1,45 @@
+# $MidnightBSD$
+# $FreeBSD: head/audio/chromaprint/Makefile 461213 2018-02-08 11:28:36Z jhale $
+
+PORTNAME=	chromaprint
+PORTVERSION=	1.4.3
+CATEGORIES=	audio
+MASTER_SITES=	https://github.com/acoustid/${PORTNAME}/releases/download/v${PORTVERSION}/
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	AcoustID audio fingerprinting library
+
+LICENSE=	lgpl2.1 mit
+LICENSE_COMB=	multi
+LICENSE_FILE_mit=	${WRKSRC}/LICENSE.md
+
+LIB_DEPENDS=	libavcodec.so:multimedia/ffmpeg
+
+USES=		cmake:outsource compiler:c++11-lib pathfix
+USE_LDCONFIG=	yes
+
+CMAKE_ARGS=	-DBUILD_TOOLS:BOOL=true \
+		-DFFT_LIB:STRING=avfft
+
+WRKSRC=		${WRKDIR}/${PORTNAME}-v${PORTVERSION}
+
+OPTIONS_DEFINE=		DOXYGEN TEST
+
+DOXYGEN_BUILD_DEPENDS=	doxygen:devel/doxygen \
+			dot:graphics/graphviz
+DOXYGEN_PORTDOCS=	*
+DOXYGEN_IMPLIES=	DOCS
+
+TEST_BUILD_DEPENDS=	${NONEXISTENT}:devel/googletest:patch
+TEST_CMAKE_BOOL=	BUILD_TESTS
+TEST_CMAKE_ON=		-DGTEST_ROOT:PATH=`${MAKE} -C ${PORTSDIR}/devel/googletest -VWRKSRC`
+TEST_TARGET=		check
+
+do-build-DOXYGEN-on:
+	@(cd ${BUILD_WRKSRC}; ${DO_MAKE_BUILD} docs)
+
+do-install-DOXYGEN-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	(cd ${INSTALL_WRKSRC}/doc; ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
+
+.include <bsd.port.mk>


Property changes on: trunk/audio/chromaprint/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/audio/chromaprint/distinfo
===================================================================
--- trunk/audio/chromaprint/distinfo	                        (rev 0)
+++ trunk/audio/chromaprint/distinfo	2018-06-09 23:07:38 UTC (rev 23567)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1518010171
+SHA256 (chromaprint-1.4.3.tar.gz) = ea18608b76fb88e0203b7d3e1833fb125ce9bb61efe22c6e169a50c52c457f82
+SIZE (chromaprint-1.4.3.tar.gz) = 613741


Property changes on: trunk/audio/chromaprint/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/audio/chromaprint/files/patch-tests_CMakeLists.txt
===================================================================
--- trunk/audio/chromaprint/files/patch-tests_CMakeLists.txt	                        (rev 0)
+++ trunk/audio/chromaprint/files/patch-tests_CMakeLists.txt	2018-06-09 23:07:38 UTC (rev 23567)
@@ -0,0 +1,14 @@
+--- tests/CMakeLists.txt.orig	2016-12-23 11:50:27 UTC
++++ tests/CMakeLists.txt
+@@ -36,6 +36,11 @@ set(SRCS
+ if(BUILD_TOOLS)
+ 	set(SRCS ${SRCS} ../src/audio/ffmpeg_audio_reader_test.cpp)
+ 	link_libraries(fpcalc_libs)
++	include_directories(
++		${FFMPEG_LIBAVCODEC_INCLUDE_DIRS}
++		${FFMPEG_LIBAVFORMAT_INCLUDE_DIRS}
++		${FFMPEG_LIBAVUTIL_INCLUDE_DIRS}
++	)
+ endif()
+ 
+ add_executable(all_tests ${SRCS} $<TARGET_OBJECTS:chromaprint_objs>)


Property changes on: trunk/audio/chromaprint/files/patch-tests_CMakeLists.txt
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/audio/chromaprint/pkg-descr
===================================================================
--- trunk/audio/chromaprint/pkg-descr	                        (rev 0)
+++ trunk/audio/chromaprint/pkg-descr	2018-06-09 23:07:38 UTC (rev 23567)
@@ -0,0 +1,6 @@
+Chromaprint is the core component of the AcoustID project.  It is
+a client-side library that implements a custom algorithm for
+extracting fingerprints from any audio source.  Also included is
+fpcalc, a small utility for calculating AcoustID fingerprints.
+
+WWW: https://acoustid.org/chromaprint


Property changes on: trunk/audio/chromaprint/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/audio/chromaprint/pkg-plist
===================================================================
--- trunk/audio/chromaprint/pkg-plist	                        (rev 0)
+++ trunk/audio/chromaprint/pkg-plist	2018-06-09 23:07:38 UTC (rev 23567)
@@ -0,0 +1,6 @@
+bin/fpcalc
+include/chromaprint.h
+lib/libchromaprint.so
+lib/libchromaprint.so.1
+lib/libchromaprint.so.1.4.3
+libdata/pkgconfig/libchromaprint.pc


Property changes on: trunk/audio/chromaprint/pkg-plist
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list