Date: Sun, 28 Oct 2012 12:12:51 +0000 (UTC) From: Max Brazhnikov <makc@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r306549 - head/audio/kid3-kde4 Message-ID: <201210281212.q9SCCpNQ002999@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: makc Date: Sun Oct 28 12:12:51 2012 New Revision: 306549 URL: http://svn.freebsd.org/changeset/ports/306549 Log: Add option for recently added Chromaprint Feature safe: yes Modified: head/audio/kid3-kde4/Makefile Modified: head/audio/kid3-kde4/Makefile ============================================================================== --- head/audio/kid3-kde4/Makefile Sun Oct 28 12:02:49 2012 (r306548) +++ head/audio/kid3-kde4/Makefile Sun Oct 28 12:12:51 2012 (r306549) @@ -2,6 +2,7 @@ PORTNAME= kid3 PORTVERSION= 2.2 +PORTREVISION= 1 CATEGORIES= audio kde MASTER_SITES= SF @@ -15,12 +16,10 @@ LATEST_LINK= ${PORTNAME}-kde4 USE_KDE4= kdelibs kdeprefix kdehier automoc4 USE_QT4= qmake_build moc_build rcc_build uic_build USE_CMAKE= yes -# libchromaprint has not been ported yet -CMAKE_ARGS= -DWITH_CHROMAPRINT=off USE_GETTEXT= yes MAKE_JOBS_SAFE= yes -OPTIONS_DEFINE= FLAC ID3LIB MP4V2 VORBIS TAGLIB +OPTIONS_DEFINE= FLAC ID3LIB MP4V2 VORBIS TAGLIB CHROMAPRINT OPTIONS_DEFAULT= ${OPTIONS_DEFINE} FLAC_DESC= Support for FLAC files @@ -28,6 +27,7 @@ ID3LIB_DESC= Support for mp3 files MP4V2_DESC= Support for mp4 files VORBIS_DESC= Support for Ogg/Vorbis files TAGLIB_DESC= Support for various audio formats +CHROMAPRINT_DESC= Support for Chromaprint audio fingerprints .include <bsd.port.options.mk> @@ -67,6 +67,14 @@ LIB_DEPENDS+= tag.1:${PORTSDIR}/audio/ta CMAKE_ARGS+= -DWITH_TAGLIB=OFF .endif +.if ${PORT_OPTIONS:MCHROMAPRINT} +CMAKE_ARGS+= -DWITH_CHROMAPRINT=ON \ + -DWITH_FFMPEG=ON +LIB_DEPENDS+= chromaprint:${PORTSDIR}/audio/chromaprint +.else +CMAKE_ARGS+= -DWITH_CHROMAPRINT=OFF +.endif + pre-configure: ${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' ${WRKSRC}/CMakeLists.txt
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210281212.q9SCCpNQ002999>