Commit Graph

52 Commits

Author SHA1 Message Date
Leonid Pliushch
7a94b3d40f mpv: enable lua support 2019-03-18 23:25:02 +02:00
Leonid Pliushch
70eb3b764f mpv: do not use wrapper
Let DT_RUNPATH will do work for finding libraries.
2019-03-10 15:42:58 +02:00
Leonid Pliushch
242135c973 mpv: depend on libandroid-support
Otherwise it will fail when building with `./build-package.sh -i mpv` with
error `Unable to find iconv`.
2019-02-10 22:30:47 +02:00
Wetitpig
5f8864c10d Improve formatting of parantheses for functions 2019-02-09 21:06:31 +02:00
Leonid Pliushch
46d333adba add licenses for more packages 2019-01-21 17:17:53 +02:00
Fredrik Fornwall
2448fbfde1 ffmpeg: Update from 4.0.2 to 4.1 2018-11-22 20:40:45 +01:00
Tom Yan
22138afba5 mpv: Update from 0.29.0 to 0.29.1 2018-10-06 09:38:20 +02:00
Tom Yan
d55d9521aa mpv: replace pulse buffer patch
The new one is what accepted upstream ultimately. Functionally they
work the same. Just to avoid possible confusion.
2018-09-02 01:05:43 +02:00
Tom Yan
dd65cc4588 mpv: use exec in wrapper 2018-08-26 01:54:10 +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
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
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
tomty89
bc58aafe91 mpv: "whitelist" posix-spawn and strnlen subsitition (#2653)
Some of the Android "features" in mpv are useful (or at least, can
be used) in Termux. Whitelist them while we build with --disable-
android.
2018-07-15 17:02:34 +02:00
Tom Yan
d91df72f7f mpv: build with --disable-android
Since 0.28 the android build option is used for a few features that
are not useful in Termux (as we don't do video output and JNI isn't
available)

In 0.27 the option is only used to enable some wrapping of strnlen,
as it was broken (but also fixed) long time ago in Android.

Therefore instead of the extra patching that do us no good, let us
simply build with --disable-android and disable the wrapping.

Also use vid=no instead of vo=null in mpv.conf, as the latter does
not prevent video decoding.
2018-06-26 13:08:54 +02:00
Fredrik Fornwall
6446697658 ffmpeg: Update from 3.4.2 to 4.0.1 2018-06-26 02:48:48 +02:00
Fredrik Fornwall
5f1f47c05f mpv: Update from 0.27.1 to 0.27.2 2018-02-14 22:41:21 +01:00
Fredrik Fornwall
02955f00b8 mpv: Update from 0.27.0 to 0.27.1 2018-02-12 19:53:41 +01:00
Fredrik Fornwall
60640fcf53 ffmpeg: Update from 3.3.4 to 3.4.1 2017-12-14 16:39:13 +01:00
Fredrik Fornwall
b38f9f85f9 mpv: Update from 0.26.0 to 0.27.0 2017-10-08 14:57:36 +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
Oliver Schmidhauser
7ba83dfe51 By default, disable all Video output of mpv. Since the default video output is not available on Termux, it would otherwise throw an error. Even with Audio only files if they contain any album-art. 2017-07-28 14:00:03 +02:00
Oliver Schmidhauser
82f9ba0ff9 Increase audio-buffer in mpv to help prevent stuttering with bluetooth devices 2017-07-28 14:00:03 +02:00
Oliver Schmidhauser
9346d0e1b4 Change configuration file Format of mpv so we can more easily add settings and comments 2017-07-28 14:00:03 +02:00
Fredrik Fornwall
03d448338b libvpx: Build with clang 2017-07-27 03:18:14 +02:00
Fredrik Fornwall
9a20ec3701 mpv: Update from 0.24.0 to 0.25.0 2017-05-11 01:59:54 +02:00
Fredrik Fornwall
c864741f8f mpv: Build with --disable-pulse
Now that we have pulseaudio we need this to avoid accidental linkage.
2017-03-14 02:20:29 +01:00
Fredrik Fornwall
8ad708ec4c mpv: Bump version after lua removal (see #799) 2017-03-14 02:16:36 +01:00
Fredrik Fornwall
f53cdcbe4c mpv: Remove attempt at using lua 5.3 2017-03-06 03:38:40 +01:00
Fredrik Fornwall
4493b981a1 mpv: Enable lua 2017-03-01 17:50:58 +01:00
Fredrik Fornwall
2b887b1cd5 mpv: Really use LD_PRELOAD 2017-02-22 09:14:31 +01:00
Fredrik Fornwall
6635b731ee mpv: Add ffmpeg libs to LD_PRELOAD
This should fix issues on devices where vendors have ffmpeg libs
available in the system lib dir.
2017-02-21 23:54:52 +01:00
Vishal Biswas
cfa043f9b4 update packages (#766)
* file: update from 5.29 to 5.30

* ffmpeg: update from 3.2.2 to 3.2.4

* mpv: update from 0.23.0 to 0.24.0

also prevent opportunistic linking with x11

* grep: update from 2.28 to 3.0

* fish: update from 2.4.0 to 2.5.0

add tarball checksum
remove patches no longer needed
see https://github.com/fish-shell/fish-shell/pull/3585

* wget: update from 1.19 to 1.19.1
2017-02-12 21:01:54 +01:00
Fredrik Fornwall
744d3c5065 mpv: Rebuild with man page, and remove icons 2017-02-04 01:31:44 +01:00
Fredrik Fornwall
e3d6792fc3 mpv: Update from 0.22.0 to 0.23.0 2017-01-11 02:05:04 -05:00
Fredrik Fornwall
af4dc416ed s/TERMUX_PKG_BUILD_REVISION/TERMUX_PKG_REVISION/ 2017-01-11 01:21:42 -05:00
Fredrik Fornwall
af52bea377 mpv: Rebuild after ffmpeg update 2016-11-30 12:47:03 -05:00
Fredrik Fornwall
8c7007fa41 mpv: Add /system/vendor/lib(64) to LD_LIBRARY_PATH
Fixes issue with not found libqc-opt.so on some devices, reported
by BrainDamage on #termux.
2016-11-23 18:47:13 -05:00
Fredrik Fornwall
fd2b34d846 mpv: Update from 0.21 to 0.22
Drop libcaca as dependency as mpv now has built in terminal output.
2016-11-22 16:12:00 -05:00
Fredrik Fornwall
d55bb1c663 mpv: Bump build revision after ffmpeg update 2016-11-18 17:40:56 -05:00
Fredrik Fornwall
c1198d1ba8 mpv: Update 0.20.0 -> 0.21.0, add --disable-lua 2016-10-30 10:35:40 -04:00
Oliver Schmidhauser
b4bcd8ffc9 Enable libcaca support in mpv (#499)
If libcaca support isn't specified (either enable or disable) the
buildorder script decides about this feature, because it is
autodetected. If mpv is built after libcaca it will be compiled in.
So if, at any point you rebuild it, without removing libcaca first, it
will be compiled in and throw an error on termux if libcaca isn't
installed.
2016-10-30 15:22:47 +01:00
Fredrik Fornwall
39d7cdd7f1 mpv: Use rst2man package instead of pip install 2016-09-22 20:56:09 +02:00
Fredrik Fornwall
7ce5638519 Cleanup of more packages 2016-09-03 18:45:08 -04:00
Fredrik Fornwall
def4744092 mpv: Update from 0.19.0 to 0.20.0 2016-08-31 17:19:37 -04:00
Fredrik Fornwall
cc076adbc7 mpv: Use opensles as default for now 2016-08-27 12:15:46 -04:00