Commit Graph

4938 Commits

Author SHA1 Message Date
Tom Yan 6f5cbc2154 libpulseaudio: add api level build hack for aaudio 2018-08-16 14:40:57 +02:00
Tom Yan 6b1d24adf0 libpulseaudio: add module-aaudio-sink
Add a sink module that makes use of the AAudio API, which is
available in Oreo or later.

The sink will have its sample rate and latency configured based on
the info we got with the API. They will also be updated accordingly
when the output device is changed.
2018-08-16 14:40:57 +02:00
Fredrik Fornwall 9b3b3e09e3 squid: Update from 3.5.28 to 4.2 2018-08-16 12:01:42 +02:00
Fredrik Fornwall 0b9b43f71a babl: Update from 0.1.54 to 0.1.56 2018-08-16 11:54:31 +02:00
Fredrik Fornwall 38d10c21a7 libssh: Update from 0.7.5 to 0.8.1 2018-08-16 11:53:51 +02:00
Fredrik Fornwall 5749e57aea harfbuzz: Update from 1.8.7 to 1.8.8 2018-08-16 11:23:46 +02:00
Leonid Pliushch 5e05d27ef0 new package: c-toxcore
A dependency for 'toxic'
2018-08-16 11:23:34 +02:00
Leonid Pliushch 4d812edb93 new package: libconfig
A dependency for 'toxic'
2018-08-16 11:23:34 +02:00
Leonid Pliushch 08dd05be8b new package: toxic 2018-08-16 11:23:34 +02:00
Fredrik Fornwall 450bd48490 libexpat: Update from 2.2.5 to 2.2.6 2018-08-16 10:56:12 +02:00
Fredrik Fornwall b4eddc1de3 libgraphite: Update from 1.3.11 to 1.3.12 2018-08-16 10:55:57 +02:00
Fredrik Fornwall b9d4e1b84f openssl: Update from 1.0.2o to 1.0.2p 2018-08-15 17:35:53 +02:00
Fredrik Fornwall 9a87f3ceed strace: Update from 4.23 to 4.24 2018-08-15 17:35:42 +02:00
Leonid Pliushch f465b98b47 busybox: fix segfault in 'ftpd'
Fixes https://github.com/termux/termux-packages/issues/2740
2018-08-15 14:45:24 +02:00
Oliver Schmidhauser cf05d22c41 Remove @Neo-Oli (myself) as maintainer of bs1770gain 2018-08-15 14:39:14 +02:00
Fredrik Fornwall de56cbf070 qalc: Update from 2.6.1 to 2.6.2 2018-08-14 14:03:37 +02:00
Fredrik Fornwall 6fc868c9ed lighttpd: Update from 1.4.49 to 1.4.50 2018-08-14 14:03:22 +02:00
Fredrik Fornwall 7188005634 liblzma: Download from fossies.org 2018-08-14 12:20:36 +02:00
Fredrik Fornwall aa081a30fd erlang: Update from 21.0.4 to 21.0.5 2018-08-14 12:20:18 +02:00
Fredrik Fornwall f51a01b1cd dnsutils: Update from 9.11.1-P3 to 9.12.2-P1 2018-08-14 12:20:07 +02:00
Fredrik Fornwall e500adb3b4 boost: Update from 1.67.0 to 1.68.0 2018-08-14 12:19:31 +02:00
Fredrik Fornwall 424a506ba6 libgc: Update from 7.6.6 to 7.6.8 2018-08-13 22:32:39 +02:00
Fredrik Fornwall 14cbe2158a byobu: Update from 5.125 to 5.127 2018-08-13 22:25:36 +02:00
Fredrik Fornwall b59eb21d99 Quote $TERMUX_ARCH when used in toplevel script 2018-08-13 22:25:02 +02:00
Fredrik Fornwall dff50f4de0 tty-solitaire: Update from 1.0.0 to 1.1.0 2018-08-13 22:24:14 +02:00
Fredrik Fornwall b00078f83f vttest: Update from 20140305 to 20180811 2018-08-13 22:21:31 +02:00
Henrik Grimler a3d86e984a lldb: set HAS_DEBUG=no as build fails
lldb and libllvm both needs to be looked into so that we can have debug variants of all packages
2018-08-13 22:13:09 +02:00
Henrik Grimler 2eaf73bd1c libflac: remove no longer needed debug fix 2018-08-13 22:13:09 +02:00
Henrik Grimler 5f96222b97 gperf: remove no longer needed debug patch 2018-08-13 22:13:09 +02:00
Henrik Grimler ce41c21cb0 gettext: remove no longer needed debug patch 2018-08-13 22:13:09 +02:00
Henrik Grimler d403a32391 dropbear: remove no longer needed debug patch 2018-08-13 22:13:09 +02:00
Henrik Grimler acc323313d expect: remove no longer needed debug patch 2018-08-13 22:13:09 +02:00
Henrik Grimler 0e0c135208 inetutils: remove no longer needed debug patch 2018-08-13 22:13:09 +02:00
Henrik Grimler a39b94c6bf php: remove no longer needed debug patch 2018-08-13 22:13:09 +02:00
Henrik Grimler 01db7d3bc4 tsocks: remove no longer needed debug patch 2018-08-13 22:13:09 +02:00
Henrik Grimler d3ce1d24a0 cadaver: fossies url 2018-08-11 23:05:57 +02:00
Fredrik Fornwall 64bebcedc2 libgrpc: Update from 1.13.1 to 1.14.1 2018-08-11 19:42:33 +02:00
Fredrik Fornwall 260a62ada4 cmake: Specify -DBUILD_CursesDialog=ON 2018-08-11 19:42:13 +02:00
Fredrik Fornwall 3261041c9b memcached: Update from 1.5.9 to 1.5.10 2018-08-11 19:38:37 +02:00
Fredrik Fornwall a1dd7f400c radare2: Update from 2.7.0 to 2.8.0 2018-08-11 19:38:37 +02:00
Fredrik Fornwall 8277557a23 fwknop: Update from 2.6.9 to 2.6.10 2018-08-11 19:38:37 +02:00
Fredrik Fornwall cd671b2c3e man: Update from 1.14.3 to 1.14.4 2018-08-11 19:38:37 +02:00
Fredrik Fornwall cce121f91b postgresql: Update from 10.4 to 10.5 2018-08-11 19:38:37 +02:00
Fredrik Fornwall 152d08c91c imagemagick: Update from 7.0.8.8 to 7.0.8.9 2018-08-11 19:38:37 +02:00
Fredrik Fornwall ffc214abd7 micro: Update from 1.4.0 to 1.4.1 2018-08-11 19:38:37 +02:00
Fredrik Fornwall 8ebd050981 libsoup: Update from 2.62.2 to 2.62.3 2018-08-11 19:38:37 +02:00
Tom Yan ac2cda5fbd mpv: remove irrelevant/reverted part of a patch
The patch that introduced s32/float support included a fix/change
in audio/format.c which is practically irrelevant and now reverted
in upstream. Removing the part to avoid confusion in the future.
2018-08-11 19:23:01 +02:00
Fredrik Fornwall 4620527366 harfbuzz: Update from 1.8.6 to 1.8.7 2018-08-10 13:03:22 +02:00
Fredrik Fornwall e16ba7d86f cmake: Update from 3.11.4 to 3.12.1 2018-08-10 13:01:10 +02:00
Fredrik Fornwall 26103c6686 mbedtls: Use -DUSE_STATIC_MBEDTLS_LIBRARY=OFF 2018-08-10 00:01:05 +02:00
Andy Li 6c8a679de3 mbedtls: Add package (#2712) 2018-08-09 23:33:57 +02:00
Fredrik Fornwall 69500d577a openssh: Bump revision after set(res)gid patch 2018-08-09 23:28:37 +02:00
Fredrik Fornwall b43b5e3507 poppler: Update from 1.8.5 to 1.8.6 2018-08-09 23:27:54 +02:00
Gerben Meijer d1a4764e08 Don't use setresgid or setgid in ssh-agent
Fixes it for Android Pie, see #2714
2018-08-09 23:03:48 +02:00
Henrik Grimler e69968010e poppler: avoid trying to use qt5 stuff 2018-08-09 23:02:43 +02:00
Fredrik Fornwall 65d72b7475 angband: Update from 4.1.2 to 4.1.3 2018-08-08 11:51:31 +02:00
Fredrik Fornwall 3ef1d06aa8 silversearcher-ag: Update from 2.1.0 to 2.2.0 2018-08-08 11:49:21 +02:00
Fredrik Fornwall 9a14b64f6b vim: Update from 8.1.0200 to 8.1.0250 2018-08-08 11:48:33 +02:00
Oliver Schmidhauser 00ddf9c6db copy fzf vim plugin to the correct location (vim81 instead of vim80) 2018-08-08 11:41:33 +02:00
Fredrik Fornwall 4bf8c3f595 tintin++: Patch path to bin/sh 2018-08-07 15:06:39 +02:00
Fredrik Fornwall 60264dbf3c libgit2: Update from 0.27.3 to 0.27.4 2018-08-07 14:55:54 +02:00
Oliver Schmidhauser 26f487970d add patch from mpv-player/mpv#6047 2018-08-07 12:17:46 +02:00
Oliver Schmidhauser 47cdb7f70f Enable pulseaudio in mpv
Since pulseaudio is available now, it would be cool if all our media
players would support it.
2018-08-07 12:17:46 +02:00
Tom Yan fbc0d7ee54 libpulseaudio/mpv: set numBuffers to 8 for SLES
Apparently some Android builds/forks need it for Bluetooth audio.
It's a hardcoded default in the upstream AAudio implementation
anyway.

See the following for reference:
https://android.googlesource.com/platform/frameworks/av/+/android-8.0.0_r1/media/libaaudio/src/legacy/AudioStreamTrack.cpp#109
https://android.googlesource.com/platform/frameworks/wilhelm/+/android-8.0.0_r1/src/android/AudioPlayer_to_android.cpp#1680
https://android.googlesource.com/platform/frameworks/av/+/android-8.0.0_r1/media/libaudioclient/AudioTrack.cpp#488
2018-08-07 12:17:32 +02:00
Oliver Schmidhauser 7a7240ee4d upadte cava package description 2018-08-06 22:19:23 +02:00
Oliver Schmidhauser 81ea6fef64 Enable pulseaudio in cava
The pulse method is the default of cava. Now that it is avalable and
works fairly well, I think we can enable it in cava. This way it can
also be used with cmus and other pulseaudio players.
The old method of fifo input (ncmpcpp visualizer output) can still be
enabled by adding the following to the config file
(`~/.config/cava/config`):

```
[input]
method = fifo
```
2018-08-06 22:19:23 +02:00
Tom Yan b919a7a36a libpulseaudio: bump revision after changes 2018-08-06 21:50:41 +02:00
Tom Yan 22b9d1ac13 libpulseaudio: remove unnecessary LD_PRELOAD from wrappers 2018-08-06 21:50:41 +02:00
Tom Yan 527dfafcac libpulseaudio: ditch downstream defaults in daemon.conf
To start pulseaudio manually as a daemon, you just need "-D", but
if you set daemonize=yes in daemon.conf, when you want start it
undaemonized, you will need "--daemonize=no".

We don't really need to set enable-shm to no explicitly.

Setting exit-idle-time to -1 may not be as preferred as when it was
when autospawn did not work.

There's no point setting log-target to stderr. auto works fine (or
perhaps even better) for us.
2018-08-06 21:50:41 +02:00
Tom Yan c380e354de libpulseaudio: fix autospawn
Autospawn needs to use the wrapper we made, otherwise the sles sink
module cannot be loaded.

Also patch caps.c to remove the silly warning that somehow ignores
log-level and log-target to avoid programs like cmus being ruined
when pulse is spawned.
2018-08-06 21:50:41 +02:00
Michał Bednarski c095a4630e proot: update package (with fix for utime and sendmsg) 2018-08-06 21:50:09 +02:00
Fredrik Fornwall a4b85d4a99 imagemagick: Update from 7.0.8.7 to 7.0.8.8 2018-08-06 21:45:49 +02:00
Fredrik Fornwall 329c9ddbf9 picolisp: Remove 32-bit builds requiring gcc 2018-08-06 16:46:58 +02:00
Fredrik Fornwall a3c9b56c8f ruby: Fix clang 32-bit builds 2018-08-06 16:46:25 +02:00
Fredrik Fornwall 899173e9d7 m4: Fix building with clang 2018-08-06 16:45:37 +02:00
Fredrik Fornwall 4ab5166e5c wireguard-tools: Update from 0.0.20180718 to 0.0.20180802 2018-08-06 01:46:23 +02:00
Fredrik Fornwall bc5f8b91d2 pass: Update from 1.7.2 to 1.7.3 2018-08-06 01:38:35 +02:00
Fredrik Fornwall f91900f1bf gnupg: Avoid hardlink test and debug message 2018-08-06 01:38:01 +02:00
Fredrik Fornwall 00b9628faf yarn: Update from 1.9.2 to 1.9.4 2018-08-05 22:59:09 +02:00
Fredrik Fornwall 1afb33d810 redis: Update from 4.0.10 to 4.0.11 2018-08-05 22:58:54 +02:00
Fredrik Fornwall d538887b4f harfbuzz: Update from 1.8.4 to 1.8.5 2018-08-03 13:25:47 +02:00
Fredrik Fornwall fbda528472 apt-transport-tor: Mark as platform-independent 2018-08-03 13:24:46 +02:00
Leonid Pliushch 8fe564cccf apt-transport-tor: use APT's built-in methods to access Tor
Replace old package 'apt-transport-tor'.
2018-08-03 12:59:38 +02:00
Fredrik Fornwall 73817beeb8 megatools: Update from 1.10.1 to 1.10.2 2018-08-01 22:48:44 +02:00
Fredrik Fornwall e291e0f99e lftp: Update from 4.8.3 to 4.8.4 2018-08-01 22:48:28 +02:00
Fredrik Fornwall 77fd6046fc protobuf: Update from 3.6.0.1 to 3.6.1 2018-08-01 22:48:16 +02:00
Fredrik Fornwall 942894ddd4 termux-api: Update from 0.32 to 0.33 2018-08-01 22:24:19 +02:00
tomty89 601aa06be4 mpd: avoid seccomp-filtered ioprio_set (#2695)
Causes SIGSYS (SYS_SECCOMP) on arm. mpd will fail to start if no
database exists.
2018-08-01 22:23:56 +02:00
Henrik Grimler 933afcd2f6 texlive-bin: host-build tools and rm texlive-binaries from setup-ubuntu.sh (#2689)
Saves about 300 mb from docker image
2018-07-31 22:57:22 +02:00
Fredrik Fornwall 07c12c3b07 gettext: Update from 0.19.8 to 0.19.8.1 2018-07-31 22:27:15 +02:00
Fredrik Fornwall 96089dac9e gstreamer: Update from 1.14.1 to 1.14.2 2018-07-31 22:20:17 +02:00
Fredrik Fornwall 9f15f3a527 util-linux: Update from 2.32 to 2.32.1 2018-07-31 21:55:02 +02:00
Fredrik Fornwall 22986cb860 pango: Update from 1.42.2 to 1.42.3 2018-07-31 21:54:33 +02:00
Fredrik Fornwall b6758bd62b busybox: Update from 1.29.1 to 1.29.2 2018-07-31 21:54:18 +02:00
Fredrik Fornwall 172327e2c7 yarn: Update from 1.9.1 to 1.9.2 2018-07-31 21:54:04 +02:00
Fredrik Fornwall 379e1aa072 gdb: Update from 8.1 to 8.1.1 2018-07-31 21:53:50 +02:00
Fredrik Fornwall 1f39ba012b gdbm: Update from 1.16 to 1.17 2018-07-31 21:40:02 +02:00
Fredrik Fornwall 41859abf21 libpulseaudio: Bump revision after change 2018-07-31 21:22:50 +02:00
tomty89 6be3fd61e0 libpulseaudio: handle unlink properly (#2693)
Also clean up some more garbage.
2018-07-31 21:19:39 +02:00
Fredrik Fornwall d72aa90221 libisl: Update from 0.19 to 0.20 2018-07-30 13:23:57 +02:00
Oliver Schmidhauser d6d0a96ede mutt: Use official gpg.rc (#2690) 2018-07-30 03:08:09 +02:00
Fredrik Fornwall d9f009d629 ccrypt: Update from 1.10 to 1.11 2018-07-30 00:27:31 +02:00
Fredrik Fornwall f55d3fa455 command-not-found: Regenerate command list 2018-07-30 00:00:14 +02:00
Fredrik Fornwall 03c6f73035 megatools: Update from 1.9.98 to 1.10.1 2018-07-29 23:58:51 +02:00
Fredrik Fornwall 567691817a mdp: Update from 1.0.12 to 1.0.13 2018-07-29 23:28:46 +02:00
Fredrik Fornwall 708648a234 gpgv: Add dependencies 2018-07-29 22:35:25 +02:00
Fredrik Fornwall 9e4aa9cdbc yarn: Update from 1.8.0 to 1.9.1 2018-07-29 21:48:05 +02:00
Fredrik Fornwall 1fdc94f1e8 ipfs: Update from 0.4.16 to 0.4.17 2018-07-29 21:48:05 +02:00
Henrik Grimler 24d1b3edcf Remove gnupg1 (#2691)
Remove gnupg1
2018-07-29 21:33:27 +02:00
Fredrik Fornwall 308ee3b352 tig: Update from 2.4.0 to 2.4.1 2018-07-28 23:33:48 +02:00
Fredrik Fornwall 66358a2807 picolisp: Update from 18.6.12 to 18.7.18 2018-07-28 23:33:35 +02:00
Fredrik Fornwall fec20ef17f erlang: Update from 21.0.3 to 21.0.4 2018-07-28 23:33:00 +02:00
Fredrik Fornwall b51e173d09 libpcap: Update from 1.8.1 to 1.9.0 2018-07-28 23:32:38 +02:00
Henrik Grimler 8943004172 texlive-bin: bump after poppler bump 2018-07-26 21:25:26 +02:00
Henrik Grimler f168100828 wireguard-tools: upgrade to 20180718 2018-07-26 21:16:57 +02:00
Fredrik Fornwall c2f8556062 ecj: Update from 4.6.2 to 4.7.2 2018-07-26 12:31:42 +02:00
Fredrik Fornwall 9a9582ffea libpulseaudio: Bump revision after changes 2018-07-26 12:22:53 +02:00
Fredrik Fornwall 047754e8fa Update android sdk build tools
Update the android sdk build tools from 27.0.3 to 28.0.1, bringing
in d8 which is replacing dx.

This needs an update of the Docker image, so run scripts/update-docker.sh
to update it.
2018-07-26 12:21:43 +02:00
Tom Yan 8025f606e9 libpulseaudio: always use u for userdata 2018-07-26 11:47:20 +02:00
Tom Yan 9006223783 libpulseaudio: avoid some assertion failures due to race condition 2018-07-26 11:47:20 +02:00
Tom Yan 36c4ffb4bf libpulseaudio: make latency configurable 2018-07-26 11:47:20 +02:00
Tom Yan 83ba79c105 libpulseaudio: support suspend on idle
Turns out it's pretty easy to implement. Now the buffer queue will
stop requesting for data once the sink is suspended on idle. No
more power wasted.

Note that it is natural that there would be a bit of extra delay
when resume playback after the sink is suspended. In case it is
wanted to be avoided, make sure the module-suspend-on-idle is not
loaded.
2018-07-26 11:47:20 +02:00
Tom Yan 6144f8653f libpulseaudio: fix distortions occur with multiple sink inputs 2018-07-26 11:47:20 +02:00
Tom Yan fd69382e37 libpulseaudio: rewrite sles sink
This should work way better than the old code, as it makes use of
the buffer queue callback to do Enqueue(), which might be the only
nice/right way to use OpenSLES on Android. CPU usage is low and
RAM usage seems reasonable. No memory leak noticed. Tested with
mpv on my Oreo phone (wired and Bluetooth).

The latency was chosen base on Bluetooth audio requirement on Oreo.
Shouldn't be hard to make it configurable as a module param in the
future.

The new code has a known downside though, that is it doesn't really
support sink suspension, as in, silence will kept being written
to the audio device even when the sink is suspended, which may have
certain impact to battery time.

It's probably possible to catch the state change of the sink and
notify the buffer queue about it. It's just I don't want to bother
digging further at the moment.
2018-07-26 11:47:20 +02:00
Fredrik Fornwall f06727719f utf8proc: Update from 2.1.1 to 2.2.0 2018-07-25 11:25:14 +02:00
Fredrik Fornwall 75c0baf3c5 syncthing: Update from 0.14.48 to 0.14.49 2018-07-25 11:23:16 +02:00
Fredrik Fornwall 7ebbd42b04 fribidi: Update from 1.0.4 to 1.0.5 2018-07-25 11:19:34 +02:00
Fredrik Fornwall de07382d9c file: Update from 5.33 to 5.34 2018-07-25 11:19:21 +02:00
Fredrik Fornwall 542cb76e85 gegl: Update from 0.4.4 to 0.4.6 2018-07-25 10:29:18 +02:00
Fredrik Fornwall b126c3f2d8 babl: Update from 0.1.52 to 0.1.54 2018-07-25 10:29:18 +02:00
Tom Yan 4abe3e12d3 mpv: Update from 0.28.2 to 0.29.0 2018-07-25 10:29:06 +02:00
Tom Yan 7c3577e5b0 mpv: allow s32 and float output
As they are supported since API 21. If they don't work in certain
devices, mpv can still be forced to output in s16 only with an
option.
2018-07-25 10:29:06 +02:00
Tom Yan 5f34372f2e mpv: remove audio-buffer=0.5 hack from mpv.conf
The hack should no longer be necessary, as 0.29.0 includes a few
commits from me that makes the opensles output driver work more
properly.

Also include an extra patch that allows the buffer size to either
be increased and decreased (and done more properly).
2018-07-25 10:29:06 +02:00
Tom Yan 3bf686ca29 mpv: build without --disable-android again
switch to a patch that I have proposed to upstream
2018-07-25 10:29:06 +02:00
Fredrik Fornwall 10b5781505 sox: Rebuild after pulseaudio update 2018-07-23 14:15:56 +02:00
Fredrik Fornwall 2f26f4940f Replace curl call with termux_download 2018-07-23 14:13:33 +02:00
Fredrik Fornwall 3e77a3b669 Remove old comment 2018-07-23 14:07:46 +02:00
Fredrik Fornwall a2e6298d3b libicu: Switch to fossies.org for downloading 2018-07-23 14:04:22 +02:00
Fredrik Fornwall 2dcd95485a busybox: Fix building without <crypt.h> 2018-07-23 01:49:27 +02:00
Fredrik Fornwall 1200b5a072 busybox: Update from 1.28.4 to 1.29.1 2018-07-23 01:33:02 +02:00
Fredrik Fornwall 4474709169 mariadb: Update from 10.3.7 to 10.3.8 2018-07-23 01:26:38 +02:00
Fredrik Fornwall fa94d6ba31 imagemagick: Update from 7.0.8.6 to 7.0.8.7 2018-07-23 01:26:01 +02:00
Fredrik Fornwall b599d4a7d3 libgrpc: Update from 1.13.0 to 1.13.1 2018-07-23 00:48:35 +02:00
Fredrik Fornwall 6a53bdde21 php: Update from 7.2.7 to 7.2.8 2018-07-23 00:37:56 +02:00
Fredrik Fornwall 1c4195d5d3 libpulseaudio: Update from 12.1 to 12.2 2018-07-23 00:21:12 +02:00
Fredrik Fornwall 952620e42a poppler: Update from 0.66.0 to 0.67.0 2018-07-23 00:14:22 +02:00
Fredrik Fornwall c98acd554a subversion: Update from 1.10.0 to 1.10.2 2018-07-23 00:07:11 +02:00
Fredrik Fornwall 56d62e012a ffmpeg: Update from 4.0.1 to 4.0.2 2018-07-23 00:04:56 +02:00
Fredrik Fornwall a798b6ed84 pango: Update from 1.42.1 to 1.42.2 2018-07-22 23:47:21 +02:00
Fredrik Fornwall e08db41ae9 libxapian: Update from 1.4.6 to 1.4.7 2018-07-22 23:47:00 +02:00