Fixes build errors for ARM arch using Linaro toolchain.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
We cannot (easily) move to a newer upstream version where this is fixed
as ffmpeg moved to git / is no longer bundled, so instead this fix
is backported (upstream r34498 + r34503).
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Previous snapshot is now more than 2 years, and numerous fixes have been
added to svn. Old Patch is now upstream, libogg is required.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
all external python packages/libraries should reside in
"external python modules" section.
Move existing modules python-serial and python-mad there
Move python-mad from package/multimedia to package
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
[Peter: fix white space while we're at it]
Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Mplayer needs to be built with -fomit-frame-pointer on x86, otherwise
gcc errors out on the inline asm with too few registers.
Also disable yasm support, both because this mplayer revision forgets
to build the gpl'ed asm snippets (fixed in r32736), breaking the build
- And also to ensure the build is reproducable and doesn't use host
components behind the users' back (E.G. if yasm is available on host).
Once we have added yasm as a package, this can get removed again (and
mplayer svn rev bumped) for the performance boost it gives.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
1.Enable TV interface.
2.Enable LIVE555 Streaming Media if live555 is available.
[Peter: cleanup CFLAGS/LDFLAGS handling]
Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Install live555 library to staging for mplayer.
Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
mpg123 enables loadable modules support if libtool is detected, but
by default tries to load <module>.la, which we strip from the
rootfs unless HAVE_DEVFILES is enabled.
Fix it by directly loading .so files instead.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
As it doesn't build.
- upstream didn't adjust player_init call when prototype changed:
http://hg.geexbox.org/libplayer/rev/e3705df5ce2e
- It tries to build the extension for the host, and not the target:
building 'player' extension
/usr/bin/gcc -pthread -fno-strict-aliasing -O2 ..
/usr/bin/ld: skipping incompatible ./../../src/libplayer.so when
searching for -lplayer.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
[Peter: use select instead of depends for mplayer/gstreamer, small tweaks]
Signed-off-by: Maxime Ripard <maxime@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Fix sample mpd.conf so that the playlists directory lives inside the
main mpd data directory.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Bump mpg123 to version 1.13.4, fixes for very long files (endless
streams).
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
The recent update added some new plugins. This commit makes
them selectable in buildroot.
Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Parallel builds sometimes break when audio/testchannels is
compiled before the gstinterfaces library.
Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thanks to the pkgparentdir and pkgname functions, we can rewrite the
GENTARGETS macro in a way that avoids the need for each package to
repeat its name and the directory in which it is present.
[Peter: pkgdir->pkgparentdir]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thanks to the pkgparentdir and pkgname functions, we can rewrite the
AUTOTARGETS macro in a way that avoids the need for each package to
repeat its name and the directory in which it is present.
[Peter: pkgdir->pkgparentdir]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thanks to the pkgparentdir and pkgname functions, we can rewrite the
GENTARGETS macro in a way that avoids the need for each package to
repeat its name and the directory in which it is present.
[Peter: pkgdir->pkgparentdir]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Bump the version of taglib to 1.7. This version does not any longer
ship with a configure script so convert the package from autotargets
to cmaketargets.
The 1.7 version offers optional support for MP4 and WMA files.
Expose these options in buildroot.
[Peter: drop unneded dependencies, keep target install, fix Config.in indent]
Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
The portaudio build system contains a race condition, which gets triggered
by high BR2_JLEVEL settings - It tries to use libportaudio.la before it is
created:
make[3]: *** No rule to make target `../../../lib/libportaudio.la',
needed by `libportaudiocpp.la'. Stop.
Fix it by disabling parallel build.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
The musepack build system contains a race condition, which gets triggered by
high BR2_JLEVEL settings - It tries to link against libmpcdec before it is
created:
Linking C executable mpcgain
/scratch/peko/host/usr/lib/gcc/arm-unknown-linux-uclibcgnueabi/4.4.6/../../../../arm-unknown-linux-uclibcgnueabi/bin/ld: cannot find -lmpcdec
collect2: ld returned 1 exit status
make[3]: *** [mpcgain/mpcgain] Error 1
Fix it by disabling parallel build.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
--program-prefix is now set in the auto-target infrastructure.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
--program-prefix is now set in the auto-target infrastructure.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
The mad plug-in depends on libid3tag. This dependency used to be
implicit by selecting the id3tag plug-in. Now that this plug-in
is not any longer part of gst-plugins-ugly we need an explicit
dependency on libid3tag.
Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Remove obsoleted configurations and add options for new
dependency-less plugins.
Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Make the build of the dependency-less plugin 'encoding' optional.
Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Lame contains an optional gtk12 based frame analyzer application, which
will be built if gtk12 is detected (using gtk-config). We no longer
have support for (the obsolete) gtk12 in BR, but the host might have
gtk-config, so forcible disable it.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
[Peter: misc fixes, use real version, correct compile/link flags]
Signed-off-by: Mike Williams <mwilli60@harris.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
009d8fceab and 0a5e5534cb moved the --enable-static configure flag
from package files to the default _CONFIGURE_CMDS in
package/Makefile.autotools.in.
This broke Autotools packages that override _CONFIGURE_CMDS.
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Now that those values are passed at the autotools infrastructure
level, there's no need for every package to pass inconsistent values.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Festival does not build, nobody cared since a long time, and they have
been marked deprecated since quite some time.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
alsactl needs /var/lib/alsa to store asound.state when saving mixer
settings so make it in the target.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Tremor needs the common ogg support (in _ogg_common.c) to get built,
similar to how it is done when libvorbis is used.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Bump mpd server to version 0.6.12
Also make ffmpeg support conditional on IPv6 since the new ffmpeg
version requires it.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Most alsa utilites depend on specific alsa-lib options, so ensure those
are selected. Arecord is furthermore just a symlink to aplay these days,
so get rid of the option.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
ffmpeg enables mmx by default for x86-class processors, so disable it for
processors that lack it (i386, i486, i586, i686, pentium pro, geode).
Solves bug #3325
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
If flac and libogg were both built but flac isn't selected in mpd it
will be picked up anyway.
Forcibly disable oggflac support if flac support is disabled for
consistency.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Move the ffmpeg option up to keep the pretty sort order.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
MPD requires at least one input plugin to build.
If there's none selected default to tremor (vorbis).
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
After spending a couple of hours on it today, I'm still unable to get
speech-tools to build and install properly with a uClibc toolchain.
So I'm giving up. Mark the entire thing broken as the text-to-speech
stuff is unlikely to be used very much on the kind of small systems
we're targetting.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
The old libtool version gets confused about rpath, which breaks the build.
FIx it by up upgrading to 1.5.22 (package is not compatible with libtool
2.x, so we cannot just autoreconf).
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
It has been marked as broken for close to 1 year (aa3439e6a3), without
any effort to fix it, so remove it from the tree.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Now that we have libtool-2.2.x patch support, we can get rid of a bunch
of _LIBTOOL_PATH = NO, fixing (potential) cross link issues.
Notice: libmad/libid3tag/madplay/taglib not changed, as they use a very
old 1.5 version, where our buildroot-libtool-v1.5.patch doesn't apply.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Bump mplayer to the first version that fixes this issue:
file.c:23:5: warning: "HAVE_MMAP" is not defined
file.c:25:7: warning: "HAVE_MAPVIEWOFFILE" is not defined
file.c:77:5: warning: "HAVE_MMAP" is not defined
file.c:87:7: warning: "HAVE_MAPVIEWOFFILE" is not defined
file.c:124:5: warning: "HAVE_MMAP" is not defined
file.c:126:7: warning: "HAVE_MAPVIEWOFFILE" is not defined
file.c: In function 'av_file_map':
file.c:50: error: 'HAVE_MMAP' undeclared (first use in this function)
file.c:50: error: (Each undeclared identifier is reported only once
file.c:50: error: for each function it appears in.)
make[2]: *** [file.o] Error 1
Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
If target /etc/mpd.conf exists the evaluation will be fail thus breaking
the build process. Fix it.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
libao output must be explicitly enabled, so fix it.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
[Peter: add tidsp-binaries to _DEPENDENCIES]
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
liboil is not needed not used any more. orc _can_ be used instead, but
it's not needed.
[Peter: get rid of liboil selects]
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
A number of packages depended on the libpython make target for python
support, which no longer exist.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>