Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 238324 - new ebuild for ac3jack 2.0.1
Summary: new ebuild for ac3jack 2.0.1
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-21 20:51 UTC by Scott Alfter
Modified: 2022-12-13 18:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ac3jack-2.0.3.ebuild (ac3jack-2.0.3.ebuild,765 bytes, text/plain)
2009-12-23 16:46 UTC, Grégoire Favre
Details
patch to compil with gcc-4.4 (gcc-4.4.compil-fix.diff,596 bytes, patch)
2009-12-23 16:47 UTC, Grégoire Favre
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Alfter 2008-09-21 20:51:18 UTC
ac3jack is a JACK plugin which accepts multichannel (more than 2 channels) PCM input on its input and produces an AC3 stream on its output.  This is useful for playback of multichannel EAC3/AAC/Vorbis/etc. audio into a surround processor that only accepts AC3 input.  Say goodbye to noisy analog connections and send any multichannel audio down a S/PDIF connection regardless of format.

This is an updated version of the ac3jack 0.1.2 ebuild in the pro-audio overlay.  It checks for suitable versions of its dependencies (based mainly on the versions I currently have installed).  It requires the aften svn ebuild I've submitted (aften-9999.ebuild) under bug #199858; the other needed ebuilds are already in Portage.

Reproducible: Always
Comment 1 Grégoire Favre 2008-11-08 21:34:17 UTC
Just installed your aften-9999 and would like to test ac3jack, is the ebuild the same as the 0.1.2 or ?

Thanks.
Comment 2 Grégoire Favre 2008-11-09 16:04:42 UTC
That way failed here :
config.status: executing depfiles commands
make -j1
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/media-sound/ac3jack-2.0.1/work/ac3jack-2.0.1'
Making all in src
make[2]: Entering directory `/var/tmp/portage/media-sound/ac3jack-2.0.1/work/ac3jack-2.0.1/src'
Making all in .
make[3]: Entering directory `/var/tmp/portage/media-sound/ac3jack-2.0.1/work/ac3jack-2.0.1/src'
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/lib64/sigc++-1.2/include -I/usr/include/sigc++-1.2   -I/usr/local/include  -I/opt/local/include -pthread    -march=native -O2 -pipe -ftree-vectorize -MT engine.o -MD -MP -MF ".deps/engine.Tpo" \
          -c -o engine.o `test -f 'engine.cpp' || echo './'`engine.cpp; \
        then mv -f ".deps/engine.Tpo" ".deps/engine.Po"; \
        else rm -f ".deps/engine.Tpo"; exit 1; \
        fi
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/lib64/sigc++-1.2/include -I/usr/include/sigc++-1.2   -I/usr/local/include  -I/opt/local/include -pthread    -march=native -O2 -pipe -ftree-vectorize -MT audio_driver.o -MD -MP -MF ".deps/audio_driver.Tpo" \
          -c -o audio_driver.o `test -f 'audio_driver.cpp' || echo './'`audio_driver.cpp; \
        then mv -f ".deps/audio_driver.Tpo" ".deps/audio_driver.Po"; \
        else rm -f ".deps/audio_driver.Tpo"; exit 1; \
        fi
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/lib64/sigc++-1.2/include -I/usr/include/sigc++-1.2   -I/usr/local/include  -I/opt/local/include -pthread    -march=native -O2 -pipe -ftree-vectorize -MT encoder.o -MD -MP -MF ".deps/encoder.Tpo" \
          -c -o encoder.o `test -f 'encoder.cpp' || echo './'`encoder.cpp; \
        then mv -f ".deps/encoder.Tpo" ".deps/encoder.Po"; \
        else rm -f ".deps/encoder.Tpo"; exit 1; \
        fi
encoder.cpp: In member function ‘bool AC3JACK::Encoder::set_params(const AC3JACK::EncoderParams&)’:
encoder.cpp:75: error: ‘memset’ was not declared in this scope
make[3]: *** [encoder.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-sound/ac3jack-2.0.1/work/ac3jack-2.0.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-sound/ac3jack-2.0.1/work/ac3jack-2.0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-sound/ac3jack-2.0.1/work/ac3jack-2.0.1'
make: *** [all] Error 2

Maybe because of gcc-4.3.2 ?
Comment 3 Grégoire Favre 2009-12-23 16:46:57 UTC
Created attachment 213955 [details]
ac3jack-2.0.3.ebuild
Comment 4 Grégoire Favre 2009-12-23 16:47:56 UTC
Created attachment 213957 [details, diff]
patch to compil with gcc-4.4
Comment 5 Grégoire Favre 2009-12-23 16:51:19 UTC
I took some time to write an uncomplete ebuilt (it don't check dependency) for latest (of now) ac3jack 2.0.3 which still need aften-9999.

It compil fine, but jackd and ac3jack isn't what I expected.
I don't know if a "simple" ALSA is still the best solution for me...
Comment 6 Scott Alfter 2022-12-13 18:37:40 UTC
Had this in my overlay for a while, but removed it at some point.  Closing ticket.