Commit Graph

21 Commits

Author SHA1 Message Date
Leonid Pliushch c352216c63 packages: standardize values of several control variables for build.sh
Variables

 TERMUX_PKG_PLATFORM_INDEPENDENT
 TERMUX_DEBUG
 TERMUX_PKG_HAS_DEBUG
 TERMUX_PKG_ESSENTIAL
 TERMUX_SUBPKG_ESSENTIAL
 TERMUX_PKG_NO_STATICSPLIT
 TERMUX_PKG_BUILD_IN_SRC
 TERMUX_PKG_FORCE_CMAKE
 TERMUX_PKG_HOSTBUILD

should not accept arbitrary values for marking them "enabled". Instead
they should accept boolean values which makes them easier to handle and
also makes their meaning clear.

build-package.sh should make decision based on variable's value but not on
whether it is set or empty.

%ci:no-build
2019-08-12 18:49:13 +03:00
Leonid Pliushch ca0c94ba8d play-audio: bump revision 2019-06-20 00:51:21 +03:00
Leonid Pliushch aa02552a55 play-audio: do not use wrapper
Let DT_RUNPATH will do work for finding libraries.
2019-03-10 15:42:58 +02:00
Leonid Pliushch 2c16db52fc bump C++ packages for NDK-19 2019-02-23 13:57:09 +02:00
Wetitpig 5f8864c10d Improve formatting of parantheses for functions 2019-02-09 21:06:31 +02:00
Fredrik Fornwall cb9ff394ff play-audio: Mark as Apache-2.0 licensed 2019-01-23 00:57:12 +01:00
Leonid Pliushch 46d333adba add licenses for more packages 2019-01-21 17:17:53 +02:00
Fredrik Fornwall 6988f30ee7 Bump c++-using packages 2018-06-26 13:29:06 +02:00
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