Browse Source

ffmpeg&libav: Enable libmp3lame (closes #170)

android-5
Fredrik Fornwall 9 years ago
parent
commit
bc0596c11b
  1. 4
      packages/ffmpeg/build.sh
  2. 4
      packages/libav/build.sh

4
packages/ffmpeg/build.sh

@ -1,10 +1,11 @@
TERMUX_PKG_HOMEPAGE=https://www.ffmpeg.org/
TERMUX_PKG_DESCRIPTION="Tools and libraries to manipulate a wide range of multimedia formats and protocols"
TERMUX_PKG_VERSION=3.0
TERMUX_PKG_BUILD_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/FFmpeg/FFmpeg/releases/download/n${TERMUX_PKG_VERSION}/ffmpeg-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_FOLDERNAME=ffmpeg-$TERMUX_PKG_VERSION
# libbz2 is used by matroska decoder:
TERMUX_PKG_DEPENDS="openssl, libbz2, libx264, xvidcore, libvorbis, libfaac, liblzma"
TERMUX_PKG_DEPENDS="openssl, libbz2, libx264, xvidcore, libvorbis, libfaac, liblzma, libmp3lame"
TERMUX_PKG_INCLUDE_IN_DEVPACKAGE="share/ffmpeg/examples"
TERMUX_PKG_CONFLICTS="libav"
@ -27,6 +28,7 @@ termux_step_configure () {
--disable-symver \
--enable-cross-compile \
--enable-gpl \
--enable-libmp3lame \
--enable-libfaac \
--enable-libvorbis \
--enable-libx264 \

4
packages/libav/build.sh

@ -1,9 +1,10 @@
TERMUX_PKG_HOMEPAGE=http://libav.org/
TERMUX_PKG_DESCRIPTION="Tools and libraries to manipulate a wide range of multimedia formats and protocols"
TERMUX_PKG_VERSION=11.6
TERMUX_PKG_BUILD_REVISION=1
TERMUX_PKG_SRCURL=http://libav.org/releases/libav-${TERMUX_PKG_VERSION}.tar.xz
# libbz2 is used by matroska decoder:
TERMUX_PKG_DEPENDS="openssl, libbz2, libx264, xvidcore, libvorbis, libfaac"
TERMUX_PKG_DEPENDS="openssl, libbz2, libx264, xvidcore, libvorbis, libfaac, libmp3lame"
TERMUX_PKG_CONFLICTS="ffmpeg"
termux_step_configure () {
@ -26,6 +27,7 @@ termux_step_configure () {
--disable-symver \
--enable-cross-compile \
--enable-gpl \
--enable-libmp3lame \
--enable-libfaac \
--enable-libvorbis \
--enable-libx264 \

Loading…
Cancel
Save