From owner-svn-ports-head@freebsd.org Thu Oct 29 03:07:59 2015 Return-Path: Delivered-To: svn-ports-head@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 8E98C8CB3; Thu, 29 Oct 2015 03:07:59 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pa0-x22d.google.com (mail-pa0-x22d.google.com [IPv6:2607:f8b0:400e:c03::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5BA021F82; Thu, 29 Oct 2015 03:07:59 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by pacfv9 with SMTP id fv9so26817311pac.3; Wed, 28 Oct 2015 20:07:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:reply-to:subject:references:to:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=mBz3ke6n3uKaW79/PVg4fFYT7v2QUdpgxGvK6o+Z2Yg=; b=jwLWK1rObazAgYQUAWdY9t3cyWRqyoJibP8QDSVhgPpW09boOy98WSU9cxSWsQy+7t GWPmigfgDK3pyplr5o0t0pLODsnd3M3uAmPsSacGTbZeOZsSPdD+oDdAqUcixWORVjGu vGsINzlW+CC6swA8k8riwvu4dVXV0IuKmvhN/QhqgrowypwXU251Ikks6VqVXDsl+CdS HaRGTwvd7I8XCIBQACTUokPZFAdnDaVlCXvg1PDD6FMvdb5nw7Wt2BX4O4Ubllm2aEzq nIIb4jB7STntoQJUavvg3xn+UAKM4uL8vIXoFyiPU317jwfN0w2HGba/pb8vQt3SPZnY 1PEg== X-Received: by 10.68.57.205 with SMTP id k13mr45167653pbq.4.1446088078978; Wed, 28 Oct 2015 20:07:58 -0700 (PDT) Received: from ?IPv6:2001:44b8:31ae:7b01:6542:7c58:f9eb:5a66? (2001-44b8-31ae-7b01-6542-7c58-f9eb-5a66.static.ipv6.internode.on.net. [2001:44b8:31ae:7b01:6542:7c58:f9eb:5a66]) by smtp.gmail.com with ESMTPSA id yh3sm47968749pbb.82.2015.10.28.20.07.56 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Oct 2015 20:07:58 -0700 (PDT) Sender: Kubilay Kocak Reply-To: koobs@FreeBSD.org Subject: Re: svn commit: r400412 - in head/audio: . py-audiotools py-audiotools/files References: <201510281918.t9SJIb6h077137@repo.freebsd.org> To: Pawel Pekala , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org From: Kubilay Kocak Message-ID: <56318D86.2070900@FreeBSD.org> Date: Thu, 29 Oct 2015 14:07:50 +1100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Thunderbird/42.0 MIME-Version: 1.0 In-Reply-To: <201510281918.t9SJIb6h077137@repo.freebsd.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Oct 2015 03:07:59 -0000 On 29/10/2015 6:18 AM, Pawel Pekala wrote: > 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 > Hi Pawel, thanks for adding this to the tree :) audiotools is available in PyPI and so should be named fmoo-audiotools accordingly: https://pypi.python.org/pypi/fmoo-audiotools/ ./koobs