pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/46269: audio/sox: add compilation options

The following reply was made to PR pkg/46269; it has been noted by GNATS.

From: "Andrey N. Oktyabrski" <>
Subject: Re: pkg/46269: audio/sox: add compilation options
Date: Wed, 28 Mar 2012 18:30:49 +0400

 This is a multi-part message in MIME format.
 Content-Type: text/plain; charset=KOI8-R; format=flowed
 Content-Transfer-Encoding: 7bit
 Here is a new patch. It contains more options:
 oss sun alsa libao  lame ffmpeg wavpack opencore-amr id3tag
 I have tested compilation with these all options. It happens 
 successfully without errors. This is a good news.
 The bad news is: WITHOUT any options sox compiles WITH as many 
 extensions as it can find. For example, it use alsa-lib (installed from 
 OpenIndiana IPS repository or from pkgsrc), ffmpeg, opencore-amr and so 
 on. Really, I can not disable any extension, I can uninstall correspond 
 package - then sox's "configure" script do not compile it in.
 Original audio/sox (without my patch) has exactly the same issue.
 Is it sox' own problem, or it is autotools disaster? I can't understand.
 Content-Type: text/plain; charset=UTF-8;
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
 diff -uwpr sox/ sox.ano/
 --- sox/     2010-10-30 19:07:42.000000000 +0400
 +++ sox.ano/ 2012-03-28 18:01:09.522664897 +0400
 @@ -1,18 +1,74 @@
  # $NetBSD:,v 1.5 2010/10/30 15:07:42 drochner Exp $
 -PKG_SUPPORTED_OPTIONS=        lame oss
 +PKG_SUPPORTED_OPTIONS=        oss sun alsa libao  lame ffmpeg wavpack 
opencore-amr id3tag
  # lame has LICENSE= issues and thus should not be SUGGESTED.
  .include "../../mk/"
 +### Audio driver options ###
 +.if !empty(PKG_OPTIONS:Moss)
 +.include "../../mk/"
 +CONFIGURE_ARGS+=      --with-oss
 +CONFIGURE_ARGS+=      --without-oss
 +.if !empty(PKG_OPTIONS:Msun)
 +CONFIGURE_ARGS+=      --with-sunaudio
 +CONFIGURE_ARGS+=      --without-sunaudio
 +.if !empty(PKG_OPTIONS:Malsa)
 +.include "../../audio/alsa-lib/"
 +CONFIGURE_ARGS+=      --with-alsa
 +CONFIGURE_ARGS+=      --without-alsa
 +.if !empty(PKG_OPTIONS:Mlibao)
 +.include "../../audio/libao/"
 +CONFIGURE_ARGS+=      --with-ao
 +CONFIGURE_ARGS+=      --without-ao
 +### Codec options ###
  .if !empty(PKG_OPTIONS:Mlame)
  # This is an option due to LICENSE= issues.
  .include "../../audio/lame/"
 +CONFIGURE_ARGS+=      --with-lame
 +CONFIGURE_ARGS+=      --without-lame
 -.if !empty(PKG_OPTIONS:Moss)
 -.include "../../mk/"
 +.if !empty(PKG_OPTIONS:Mffmpeg)
 +.include "../../multimedia/ffmpeg/"
 +CONFIGURE_ARGS+=      --with-ffmpeg
 -CONFIGURE_ARGS+=      --without-oss
 +CONFIGURE_ARGS+=      --without-ffmpeg
 +.if !empty(PKG_OPTIONS:Mwavpack)
 +.include "../../audio/wavpack/"
 +.include "../../converters/libiconv/"
 +CONFIGURE_ARGS+=      --with-wavpack
 +CONFIGURE_ARGS+=      --without-wavpack
 +.if !empty(PKG_OPTIONS:Mopencore-amr)
 +.include "../../audio/opencore-amr/"
 +CONFIGURE_ARGS+=      --with-amrnb --with-amrwb
 +CONFIGURE_ARGS+=      --without-amrnb --without-amrwb
 +.if !empty(PKG_OPTIONS:Mid3tag)
 +.include "../../audio/libid3tag/"
 +CONFIGURE_ARGS+=      --with-libid3tag
 +CONFIGURE_ARGS+=      --without-libid3tag

Home | Main Index | Thread Index | Old Index