FreeBSD Bugzilla – Attachment 159577 Details for
Bug 200705
[NEW PORT] audio/py-audiotools: Modules and tools for audio processing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
revised shell archive
test2.shar (text/plain), 8.95 KB, created by
James Buren
on 2015-08-05 17:54:28 UTC
(
hide
)
Description:
revised shell archive
Filename:
MIME Type:
Creator:
James Buren
Created:
2015-08-05 17:54:28 UTC
Size:
8.95 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># py-audiotools ># py-audiotools/Makefile ># py-audiotools/distinfo ># py-audiotools/files ># py-audiotools/files/patch-src_samplerate_common.h ># py-audiotools/files/patch-src_cdiomodule.h ># py-audiotools/files/patch-setup.py ># py-audiotools/pkg-descr ># >echo c - py-audiotools >mkdir -p py-audiotools > /dev/null 2>&1 >echo x - py-audiotools/Makefile >sed 's/^X//' >py-audiotools/Makefile << 'a952bebf47632ed8988b7778ac159296' >X# $FreeBSD$ >X >XPORTNAME= audiotools >XPORTVERSION= 3.0 >XCATEGORIES= audio python >XMASTER_SITES= SF/${PORTNAME}/${PORTNAME} >XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >X >XMAINTAINER= ryu0@ymail.com >XCOMMENT= Collection of command line audio handling utilities >X >XLICENSE= GPLv2 >XLICENSE_FILE= ${WRKSRC}/COPYING >X >XUSES= python >XUSE_PYTHON= autoplist concurrent distutils >X >XOPTIONS_DEFINE= CDIO LAME MPG123 OPUS TWOLAME VORBIS >XOPTIONS_DEFAULT= CDIO MPG123 OPUS TWOLAME VORBIS >X >XCDIO_LIB_DEPENDS= libcdio.so:${PORTSDIR}/sysutils/libcdio \ >X libcdio_cdda.so:${PORTSDIR}/sysutils/libcdio-paranoia \ >X libcdio_paranoia.so:${PORTSDIR}/sysutils/libcdio-paranoia >XLAME_LIB_DEPENDS= libmp3lame.so:${PORTSDIR}/audio/lame >XMPG123_LIB_DEPENDS= libmpg123.so:${PORTSDIR}/audio/mpg123 >XOPUS_LIB_DEPENDS= libopusfile.so:${PORTSDIR}/audio/opusfile \ >X libopus.so:${PORTSDIR}/audio/opus >XTWOLAME_LIB_DEPENDS= libtwolame.so:${PORTSDIR}/audio/twolame >XVORBIS_LIB_DEPENDS= libvorbisenc.so:${PORTSDIR}/audio/libvorbis \ >X libvorbisfile.so:${PORTSDIR}/audio/libvorbis >X >XCFLAGS+= -I${LOCALBASE}/include >X >X.include <bsd.port.options.mk> >X >Xpost-configure: >X @${ECHO_CMD} '[Libraries]' > ${WRKSRC}/setup.cfg >X @${ECHO_CMD} 'alsa: no' >> ${WRKSRC}/setup.cfg >X @${ECHO_CMD} 'libdvd-audio: no' >> ${WRKSRC}/setup.cfg >X @${ECHO_CMD} 'libpulse: no' >> ${WRKSRC}/setup.cfg >X >X.if ${PORT_OPTIONS:MCDIO} >X @${ECHO_CMD} 'libcdio_paranoia: probe' >> ${WRKSRC}/setup.cfg >X.else >X @${ECHO_CMD} 'libcdio_paranoia: no' >> ${WRKSRC}/setup.cfg >X.endif >X >X.if ${PORT_OPTIONS:MLAME} >X @${ECHO_CMD} 'mp3lame: probe' >> ${WRKSRC}/setup.cfg >X.else >X @${ECHO_CMD} 'mp3lame: no' >> ${WRKSRC}/setup.cfg >X.endif >X >X.if ${PORT_OPTIONS:MMPG123} >X @${ECHO_CMD} 'libmpg123: probe' >> ${WRKSRC}/setup.cfg >X.else >X @${ECHO_CMD} 'libmpg123: no' >> ${WRKSRC}/setup.cfg >X.endif >X >X.if ${PORT_OPTIONS:MOPUS} >X @${ECHO_CMD} 'opus: probe' >> ${WRKSRC}/setup.cfg >X @${ECHO_CMD} 'opusfile: probe' >> ${WRKSRC}/setup.cfg >X.else >X @${ECHO_CMD} 'opus: no' >> ${WRKSRC}/setup.cfg >X @${ECHO_CMD} 'opusfile: no' >> ${WRKSRC}/setup.cfg >X.endif >X >X.if ${PORT_OPTIONS:MTWOLAME} >X @${ECHO_CMD} 'twolame: probe' >> ${WRKSRC}/setup.cfg >X.else >X @${ECHO_CMD} 'twolame: no' >> ${WRKSRC}/setup.cfg >X.endif >X >X.if ${PORT_OPTIONS:MVORBIS} >X @${ECHO_CMD} 'vorbisenc: probe' >> ${WRKSRC}/setup.cfg >X @${ECHO_CMD} 'vorbisfile: probe' >> ${WRKSRC}/setup.cfg >X.else >X @${ECHO_CMD} 'vorbisenc: no' >> ${WRKSRC}/setup.cfg >X @${ECHO_CMD} 'vorbisfile: no' >> ${WRKSRC}/setup.cfg >X.endif >X >Xpost-install: >X @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/*.so >X >X.include <bsd.port.mk> >a952bebf47632ed8988b7778ac159296 >echo x - py-audiotools/distinfo >sed 's/^X//' >py-audiotools/distinfo << 'c8118f5ba8ec1a186e647721fb58526a' >XSHA256 (audiotools-3.0.tar.gz) = b2d484268630ffb7f49368219c8edec184b23eddaae1956b1f13cca8a32356bb >XSIZE (audiotools-3.0.tar.gz) = 6995122 >c8118f5ba8ec1a186e647721fb58526a >echo c - py-audiotools/files >mkdir -p py-audiotools/files > /dev/null 2>&1 >echo x - py-audiotools/files/patch-src_samplerate_common.h >sed 's/^X//' >py-audiotools/files/patch-src_samplerate_common.h << '240e82ce4f0c6b4fd69160aee3a14d48' >X--- src/samplerate/common.h.orig 2014-12-31 18:30:53 UTC >X+++ src/samplerate/common.h >X@@ -25,13 +25,7 @@ >X #ifndef COMMON_H_INCLUDED >X #define COMMON_H_INCLUDED >X >X-#ifdef HAVE_STDINT_H >X #include <stdint.h> >X-#elif (SIZEOF_INT == 4) >X-typedef int int32_t ; >X-#elif (SIZEOF_LONG == 4) >X-typedef long int32_t ; >X-#endif >X >X #define SRC_MAX_RATIO 256 >X #define SRC_MAX_RATIO_STR "256" >240e82ce4f0c6b4fd69160aee3a14d48 >echo x - py-audiotools/files/patch-src_cdiomodule.h >sed 's/^X//' >py-audiotools/files/patch-src_cdiomodule.h << '85cd7ee27721bd62be865ddb0f40ec8e' >X--- src/cdiomodule.h.orig 2014-12-31 18:30:53 UTC >X+++ src/cdiomodule.h >X@@ -1,6 +1,11 @@ >X #include <Python.h> >X+#ifdef OLD_PARANOIA >X #include <cdio/cdda.h> >X #include <cdio/paranoia.h> >X+#else >X+#include <cdio/cdparanoia/cdda.h> >X+#include <cdio/cdparanoia/paranoia.h> >X+#endif >X #include "array.h" >X >X /******************************************************** >85cd7ee27721bd62be865ddb0f40ec8e >echo x - py-audiotools/files/patch-setup.py >sed 's/^X//' >py-audiotools/files/patch-setup.py << '17e2ba83d2c2d25294e187d1b56dc557' >X--- setup.py.orig 2014-12-31 18:30:53 UTC >X+++ setup.py >X@@ -172,6 +172,31 @@ class SystemLibraries(object): >X except OSError: >X return False >X >X+ def lib_version(self, library): >X+ """returns the library's version as a tuple""" >X+ >X+ try: >X+ pkg_config = subprocess.Popen( >X+ ["pkg-config", "--modversion", library], >X+ stdout=subprocess.PIPE, >X+ stderr=open(os.devnull, "wb"), >X+ universal_newlines=True) >X+ >X+ pkg_config_stdout = pkg_config.stdout.read().strip() >X+ >X+ if pkg_config.wait() == 0: >X+ try: >X+ return tuple(int(s) for s in pkg_config_stdout.split(".")) >X+ except ValueError: >X+ # version isn't all integers >X+ return tuple() >X+ else: >X+ # library not found >X+ return tuple() >X+ except OSError: >X+ # pkg-config not found >X+ return tuple() >X+ >X >X system_libraries = SystemLibraries(configfile) >X >X@@ -459,12 +484,27 @@ class audiotools_cdio(Extension): >X libraries.update(set(["libcdio", >X "libcdio_cdda", >X "libcdio_paranoia"])) >X+ try: >X+ if tuple(int(s) for s in >X+ system_libraries.configfile.get( >X+ "Libraries", >X+ "libcdio_paranoia_version")) < (0, 90): >X+ paranoia_version = [("OLD_PARANOIA", None)] >X+ else: >X+ paranoia_version = [] >X+ except (KeyError,ValueError): >X+ paranoia_version = [] >X else: >X extra_compile_args.extend( >X system_libraries.extra_compile_args("libcdio_paranoia")) >X extra_link_args.extend( >X system_libraries.extra_link_args("libcdio_paranoia")) >X >X+ if system_libraries.lib_version("libcdio_paranoia") < (0, 90): >X+ paranoia_version = [("OLD_PARANOIA", None)] >X+ else: >X+ paranoia_version = [] >X+ >X sources.extend(["src/cdiomodule.c", >X "src/array.c", >X "src/pcmconv.c", >X@@ -477,6 +517,7 @@ class audiotools_cdio(Extension): >X self.__library_manifest__.append(("libcdio", >X "CDDA data extraction", >X False)) >X+ paranoia_version = [] >X >X Extension.__init__( >X self, >X@@ -484,7 +525,8 @@ class audiotools_cdio(Extension): >X sources=sources, >X libraries=list(libraries), >X extra_compile_args=extra_compile_args, >X- extra_link_args=extra_link_args) >X+ extra_link_args=extra_link_args, >X+ define_macros=paranoia_version) >X >X def library_manifest(self): >X for values in self.__library_manifest__: >17e2ba83d2c2d25294e187d1b56dc557 >echo x - py-audiotools/pkg-descr >sed 's/^X//' >py-audiotools/pkg-descr << '2c8fa596dc4d79b196f6cbaf9e009d95' >XPython Audio Tools are a collection of audio handling programs which work from >Xthe command line. These include programs for CD extraction, track conversion >Xfrom one audio format to another, track renaming and retagging, track >Xidentification, CD burning from tracks, and more. Supports internationalized >Xtrack filenames and metadata using Unicode. Works with high-definition, >Xmulti-channel audio as well as CD-quality. Track conversion uses multiple CPUs >Xor CPU cores if available to greatly speed the transcoding process. Track >Xmetadata can be retrieved from FreeDB, MusicBrainz or compatible servers. >X >XWWW: http://audiotools.sourceforge.net >2c8fa596dc4d79b196f6cbaf9e009d95 >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 200705
:
157529
| 159577