Commit Graph

13 Commits

Author SHA1 Message Date
Fredrik Fornwall 51c7760090 Drop need of setting TERMUX_PKG_FOLDERNAME
Instead figure out the top level source folder ourselves.
2017-09-20 00:48:04 +02:00
Fredrik Fornwall 63345851fc play-audio: Update from 0.4 to 0.5 2017-07-28 14:49:03 +02:00
Fredrik Fornwall 6c29aaa1c7 Transition from gnustl to libc++
This will make things as std::to_string() and other C++ features
work with a modern and supported C++ library.

We package up libc++_shared.so and bump the revision of every C++
using package to make it rebuild against it.

Users who have built C++ using libraries or programs will probably
need to rebuild them if they are linked against Termux-supplied
libraries, as user code was previously linked against gnustl while
the system libraries are now using libc++, and it's not a good idea
to mix C++ standard libraries in a program.
2017-07-14 00:23:37 +02:00
Fredrik Fornwall 0af3030f6e play-audio: Build from separate dedicated repo 2017-03-01 22:11:53 +01:00
Fredrik Fornwall 9200a4f986 play-audio: Avoid linking against libgnustl_shared 2016-08-10 19:21:56 -04:00
Fredrik Fornwall 5c6bb69607 play-audio: Fix 64-bit build
PTHREAD_MUTEX_INITIALIZER and PTHREAD_COND_INITIALIZER should only
be used for statically allocated mutexes - not doing it here breaks
building on 64-bit Android.
2016-01-03 20:46:21 -05:00
Francisco Demartino 413192e8f6 play-audio: bump to 0.4 2015-12-23 03:01:08 -03:00
Francisco Demartino eb8a3d4216 play-audio: use heredoc instead of printf 2015-12-23 02:59:53 -03:00
Francisco Demartino 8a1912b9e5 play-audio: use 'quoted dollar at' ("$@") for args 2015-12-23 02:59:11 -03:00
Fredrik Fornwall 433f51009f play-audio: Fix shared library clash
The play-audio binary links to libOpenSLES, which links indirectly
to libskia. As libskia links to both libpng and libjpeg this means
problems if either of those libraries are installed from a Termux
package into LD_LIBRARY_PATH.

Avoid this by placing the play-audio binary into libexec/, and let
bin/play-audio be a wrapper script which resets LD_LIBRARY_PATH
before calling the binary in libexec/. Fixes #103.
2015-12-22 17:34:50 -05:00
Fredrik Fornwall df22a55439 Update play-audio to 0.2
Cleanups and stream type support
2015-08-02 08:49:24 -04:00
Fredrik Fornwall 0d36c1b766 play-audio: Create mandir if it does not already exist 2015-07-27 20:18:13 -04:00
Fredrik Fornwall 1c934e8a73 Add play-audio, a simple OpenSL ES audio player 2015-07-27 20:18:13 -04:00