From owner-svn-ports-all@freebsd.org Wed Oct 28 19:18:38 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E991BA206D4; Wed, 28 Oct 2015 19:18:38 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C23011280; Wed, 28 Oct 2015 19:18:38 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t9SJIbI0077144; Wed, 28 Oct 2015 19:18:37 GMT (envelope-from pawel@FreeBSD.org) Received: (from pawel@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t9SJIb6h077137; Wed, 28 Oct 2015 19:18:37 GMT (envelope-from pawel@FreeBSD.org) Message-Id: <201510281918.t9SJIb6h077137@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pawel set sender to pawel@FreeBSD.org using -f From: Pawel Pekala Date: Wed, 28 Oct 2015 19:18:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r400412 - in head/audio: . py-audiotools py-audiotools/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Oct 2015 19:18:39 -0000 Author: pawel Date: Wed Oct 28 19:18:37 2015 New Revision: 400412 URL: https://svnweb.freebsd.org/changeset/ports/400412 Log: Python Audio Tools are a collection of audio handling programs which work from the command line. These include programs for CD extraction, track conversion from one audio format to another, track renaming and retagging, track identification, CD burning from tracks, and more. Supports internationalized track filenames and metadata using Unicode. Works with high-definition, multi-channel audio as well as CD-quality. Track conversion uses multiple CPUs or CPU cores if available to greatly speed the transcoding process. Track metadata can be retrieved from FreeDB, MusicBrainz or compatible servers. WWW: http://audiotools.sourceforge.net PR: 200705 Submitted by: James Buren Added: head/audio/py-audiotools/ head/audio/py-audiotools/Makefile (contents, props changed) head/audio/py-audiotools/distinfo (contents, props changed) head/audio/py-audiotools/files/ head/audio/py-audiotools/files/patch-src_cdiomodule.h (contents, props changed) head/audio/py-audiotools/files/patch-src_samplerate_common.h (contents, props changed) head/audio/py-audiotools/pkg-descr (contents, props changed) Modified: head/audio/Makefile Modified: head/audio/Makefile ============================================================================== --- head/audio/Makefile Wed Oct 28 19:06:33 2015 (r400411) +++ head/audio/Makefile Wed Oct 28 19:18:37 2015 (r400412) @@ -607,6 +607,7 @@ SUBDIR += py-al SUBDIR += py-ao SUBDIR += py-apetag + SUBDIR += py-audiotools SUBDIR += py-cddb SUBDIR += py-discid SUBDIR += py-discogs-client Added: head/audio/py-audiotools/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/py-audiotools/Makefile Wed Oct 28 19:18:37 2015 (r400412) @@ -0,0 +1,81 @@ +# $FreeBSD$ + +PORTNAME= audiotools +PORTVERSION= 3.0 +CATEGORIES= audio python +MASTER_SITES= SF/${PORTNAME}/${PORTNAME} +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= ryu0@ymail.com +COMMENT= Collection of command line audio handling utilities + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= pkgconfig python +USE_PYTHON= autoplist concurrent distutils + +OPTIONS_DEFINE= CDIO LAME MPG123 OPUS TWOLAME VORBIS +OPTIONS_DEFAULT=CDIO MPG123 OPUS TWOLAME VORBIS + +CDIO_LIB_DEPENDS= libcdio_cdda.so:${PORTSDIR}/sysutils/libcdio-paranoia +LAME_LIB_DEPENDS= libmp3lame.so:${PORTSDIR}/audio/lame +MPG123_LIB_DEPENDS= libmpg123.so:${PORTSDIR}/audio/mpg123 +OPUS_LIB_DEPENDS= libopusfile.so:${PORTSDIR}/audio/opusfile +TWOLAME_LIB_DEPENDS= libtwolame.so:${PORTSDIR}/audio/twolame +VORBIS_LIB_DEPENDS= libvorbisenc.so:${PORTSDIR}/audio/libvorbis + +CPPFLAGS+= -I${LOCALBASE}/include + +.include + +post-configure: + @${ECHO_CMD} '[Libraries]' > ${WRKSRC}/setup.cfg + @${ECHO_CMD} 'alsa: no' >> ${WRKSRC}/setup.cfg + @${ECHO_CMD} 'libdvd-audio: no' >> ${WRKSRC}/setup.cfg + @${ECHO_CMD} 'libpulse: no' >> ${WRKSRC}/setup.cfg + +.if ${PORT_OPTIONS:MCDIO} + @${ECHO_CMD} 'libcdio_paranoia: probe' >> ${WRKSRC}/setup.cfg +.else + @${ECHO_CMD} 'libcdio_paranoia: no' >> ${WRKSRC}/setup.cfg +.endif + +.if ${PORT_OPTIONS:MLAME} + @${ECHO_CMD} 'mp3lame: probe' >> ${WRKSRC}/setup.cfg +.else + @${ECHO_CMD} 'mp3lame: no' >> ${WRKSRC}/setup.cfg +.endif + +.if ${PORT_OPTIONS:MMPG123} + @${ECHO_CMD} 'libmpg123: probe' >> ${WRKSRC}/setup.cfg +.else + @${ECHO_CMD} 'libmpg123: no' >> ${WRKSRC}/setup.cfg +.endif + +.if ${PORT_OPTIONS:MOPUS} + @${ECHO_CMD} 'opus: probe' >> ${WRKSRC}/setup.cfg + @${ECHO_CMD} 'opusfile: probe' >> ${WRKSRC}/setup.cfg +.else + @${ECHO_CMD} 'opus: no' >> ${WRKSRC}/setup.cfg + @${ECHO_CMD} 'opusfile: no' >> ${WRKSRC}/setup.cfg +.endif + +.if ${PORT_OPTIONS:MTWOLAME} + @${ECHO_CMD} 'twolame: probe' >> ${WRKSRC}/setup.cfg +.else + @${ECHO_CMD} 'twolame: no' >> ${WRKSRC}/setup.cfg +.endif + +.if ${PORT_OPTIONS:MVORBIS} + @${ECHO_CMD} 'vorbisenc: probe' >> ${WRKSRC}/setup.cfg + @${ECHO_CMD} 'vorbisfile: probe' >> ${WRKSRC}/setup.cfg +.else + @${ECHO_CMD} 'vorbisenc: no' >> ${WRKSRC}/setup.cfg + @${ECHO_CMD} 'vorbisfile: no' >> ${WRKSRC}/setup.cfg +.endif + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/*.so + +.include Added: head/audio/py-audiotools/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/py-audiotools/distinfo Wed Oct 28 19:18:37 2015 (r400412) @@ -0,0 +1,2 @@ +SHA256 (audiotools-3.0.tar.gz) = b2d484268630ffb7f49368219c8edec184b23eddaae1956b1f13cca8a32356bb +SIZE (audiotools-3.0.tar.gz) = 6995122 Added: head/audio/py-audiotools/files/patch-src_cdiomodule.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/py-audiotools/files/patch-src_cdiomodule.h Wed Oct 28 19:18:37 2015 (r400412) @@ -0,0 +1,11 @@ +--- src/cdiomodule.h.orig 2014-12-31 18:30:53 UTC ++++ src/cdiomodule.h +@@ -1,6 +1,6 @@ + #include +-#include +-#include ++#include ++#include + #include "array.h" + + /******************************************************** Added: head/audio/py-audiotools/files/patch-src_samplerate_common.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/py-audiotools/files/patch-src_samplerate_common.h Wed Oct 28 19:18:37 2015 (r400412) @@ -0,0 +1,16 @@ +--- src/samplerate/common.h.orig 2014-12-31 18:30:53 UTC ++++ src/samplerate/common.h +@@ -25,13 +25,7 @@ + #ifndef COMMON_H_INCLUDED + #define COMMON_H_INCLUDED + +-#ifdef HAVE_STDINT_H + #include +-#elif (SIZEOF_INT == 4) +-typedef int int32_t ; +-#elif (SIZEOF_LONG == 4) +-typedef long int32_t ; +-#endif + + #define SRC_MAX_RATIO 256 + #define SRC_MAX_RATIO_STR "256" Added: head/audio/py-audiotools/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/py-audiotools/pkg-descr Wed Oct 28 19:18:37 2015 (r400412) @@ -0,0 +1,10 @@ +Python Audio Tools are a collection of audio handling programs which work from +the command line. These include programs for CD extraction, track conversion +from one audio format to another, track renaming and retagging, track +identification, CD burning from tracks, and more. Supports internationalized +track filenames and metadata using Unicode. Works with high-definition, +multi-channel audio as well as CD-quality. Track conversion uses multiple CPUs +or CPU cores if available to greatly speed the transcoding process. Track +metadata can be retrieved from FreeDB, MusicBrainz or compatible servers. + +WWW: http://audiotools.sourceforge.net