Created attachment 1711 [details] Convert mplayer to autotools infrastructure Convert mplayer to autotools infrastructure.
Don't set MPLAYER_CONFIGURE_CMDS but use MPLAYER_CONF_OPT instead. Remember that most ./configure options (prefix, etc.) are already passed. You just need to pass options that are specific to the package. Here too I'd like to make sure that MPLAYER_INSTALL_TARGET_OPT is needed. Thanks!
(In reply to comment #1) > Don't set MPLAYER_CONFIGURE_CMDS but use MPLAYER_CONF_OPT instead. Remember > that most ./configure options (prefix, etc.) are already passed. You just need > to pass options that are specific to the package. Careful though, mplayer uses (or atleast used to use) a handwritten configure script, E.G. no autotools - And in the past it would error out on unknown configure args.
We should really use a newer version, 1.0rc2 is very old, has security bugs and lacks newer optimizations (neon for example). That said they haven't released tarballs in a while now so it would be snapshot-based (svn).
If mplayer doesn't use the autotools, then please do not use AUTOTARGETS but GENTARGETS instead (see the Buildroot documentation for details). A short comment explaining why GENTARGETS is used instead of AUTOTARGETS would be fine (so that in the future we don't ask ourselves why the hell this package is doing ./configure and not using AUTOTARGETS).
(In reply to comment #3) > We should really use a newer version, 1.0rc2 is very old, has security bugs and > lacks newer optimizations (neon for example). > That said they haven't released tarballs in a while now so it would be > snapshot-based (svn). Even though it isn't the newest sw, 1.0rc3 was released last week. http://www.mplayerhq.hu/design7/news.html#mplayer10rc3
Created attachment 1963 [details] convert mplayer to generic package infrastructure
Created attachment 1969 [details] convert mplayer to generic package infrastructure and bump to version 1.0rc3 Here is 1.0rc3. But I don't know how to deal with the rc2 patches.
That's something we're going to handle post 2010.08, I think.
Fixed by http://git.buildroot.net/buildroot/commit/?id=6bcedeed375c3504d4d6f82fca020790866e2c6e