Package Details: attract 2.7.0-1

Git Clone URL: https://aur.archlinux.org/attract.git (read-only, click to copy)
Package Base: attract
Description: A joystick/gamepad-controlled graphical front-end for command line emulators
Upstream URL: https://www.attractmode.org/
Keywords: arcade attractmode
Licenses: GPL3
Submitter: h0tw1r3
Maintainer: eclairevoyant
Last Packager: eclairevoyant
Votes: 3
Popularity: 0.000000
First Submitted: 2016-02-06 17:30 (UTC)
Last Updated: 2023-06-12 08:37 (UTC)

Latest Comments

1 2 Next › Last »

simona commented on 2024-11-24 20:19 (UTC)

attract-git is ok for me. thx.

complexlogic commented on 2024-11-24 19:08 (UTC)

This commit needs to be backported via patch. In the meantime, the easiest workaround is to switch to the attract-git package which builds fine.

mjnman commented on 2024-11-22 13:14 (UTC) (edited on 2024-11-22 13:15 (UTC) by mjnman)


Compiling obj/media.o...
src/media.cpp: In member function 'bool FeAudioImp::process_frame(AVFrame*, sf::SoundStream::Chunk&, int&)':
src/media.cpp:326:28: error: 'AVCodecContext' {aka 'struct AVCodecContext'} has no member named 'channels'
  326 |                 codec_ctx->channels,
      |                            ^~~~~~~~
src/media.cpp:352:57: error: 'AVFrame' {aka 'struct AVFrame'} has no member named 'channel_layout'; did you mean 'ch_layout'?
  352 |                         int64_t channel_layout = frame->channel_layout;
      |                                                         ^~~~~~~~~~~~~~
      |                                                         ch_layout
src/media.cpp:356:60: error: 'AVCodecContext' {aka 'struct AVCodecContext'} has no member named 'channels'
  356 |                                                 codec_ctx->channels );
      |                                                            ^~~~~~~~
src/media.cpp:355:50: error: 'av_get_default_channel_layout' was not declared in this scope
  355 |                                 channel_layout = av_get_default_channel_layout(
      |                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/media.cpp:387:44: error: 'AVCodecContext' {aka 'struct AVCodecContext'} has no member named 'channels'
  387 |                                 codec_ctx->channels,
      |                                            ^~~~~~~~
src/media.cpp:405:60: error: 'AVCodecContext' {aka 'struct AVCodecContext'} has no member named 'channels'
  405 |                         offset += out_samples * codec_ctx->channels;
      |                                                            ^~~~~~~~
src/media.cpp:406:70: error: 'AVCodecContext' {aka 'struct AVCodecContext'} has no member named 'channels'
  406 |                         data.sampleCount += out_samples * codec_ctx->channels;
      |                                                                      ^~~~~~~~
src/media.cpp: In member function 'void FeVideoImp::video_thread()':
src/media.cpp:763:76: error: 'AVFrame' {aka 'struct AVFrame'} has no member named 'pkt_duration'; did you mean 'duration'?
  763 |                                                 prev_duration = raw_frame->pkt_duration;
      |                                                                            ^~~~~~~~~~~~
      |                                                                            duration
src/media.cpp: In member function 'bool FeMedia::open(const std::string&, const std::string&, sf::Texture*)':
src/media.cpp:1069:52: error: 'AVCodecContext' {aka 'struct AVCodecContext'} has no member named 'channels'
 1069 |                                         codec_ctx->channels,
      |                                                    ^~~~~~~~
make: *** [Makefile:507: obj/media.o] Error 1
make: Leaving directory '/home/builder/attract/src/attract-2.7.0'
==> ERROR: A failure occurred in build().
    Aborting...

simona commented on 2024-07-04 08:46 (UTC)

src/media.cpp: In member function ‘bool FeAudioImp::process_frame(AVFrame*, sf::SoundStream::Chunk&, int&)’:
src/media.cpp:326:28: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named ‘channels’

eclairevoyant commented on 2023-01-21 20:25 (UTC)

adopted and updated

Subs commented on 2022-02-18 20:11 (UTC)

won't compile now ffmpeg5 is out, must depend on ffmpeg4.4

kIERO commented on 2019-01-23 22:40 (UTC)

Really really out of date!

https://github.com/mickelson/attract/releases/tag/v2.5.1

Enverex commented on 2018-05-24 20:20 (UTC)

Unfortunately not. There's an even bigger issue at the moment in that missing artwork causes AttractMode to lock up completely now.

nerdnils commented on 2018-05-16 16:06 (UTC)

What FFMPEG change? Is there a workaround? Is a patch in sight?

Enverex commented on 2018-05-16 14:59 (UTC)

That's because of the FFMPEG change. Not even the GIT version compiles unfortunately and even when it did, it would lock up all the time due to an issue with the SFML library which would just lock-up if it tried to load an image that didn't exist.