mirror of https://git.wownero.com/dsc/mxe.git
Add vo-amrwbenc package and enable it for ffmpeg
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
This commit is contained in:
parent
54917e678b
commit
98184869ff
|
@ -2198,6 +2198,10 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre>
|
|||
<td class="package">vo-aacenc</td>
|
||||
<td class="website"><a href="https://github.com/mstorsjo/vo-aacenc">VO-AACENC</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="package">vo-amrwbenc</td>
|
||||
<td class="website"><a href="https://github.com/mstorsjo/vo-amrwbenc">VO-AMRWBENC</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="package">vorbis</td>
|
||||
<td class="website"><a href="http://www.vorbis.com/">Vorbis</a></td>
|
||||
|
|
|
@ -9,7 +9,7 @@ $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
|
|||
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2
|
||||
$(PKG)_URL := http://www.ffmpeg.org/releases/$($(PKG)_FILE)
|
||||
$(PKG)_URL_2 := http://launchpad.net/ffmpeg/main/$($(PKG)_VERSION)/+download/$($(PKG)_FILE)
|
||||
$(PKG)_DEPS := gcc bzip2 lame libass libvpx opencore-amr opus sdl speex theora vo-aacenc vorbis x264 xvidcore zlib
|
||||
$(PKG)_DEPS := gcc bzip2 lame libass libvpx opencore-amr opus sdl speex theora vo-aacenc vo-amrwbenc vorbis x264 xvidcore zlib
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'http://www.ffmpeg.org/download.html' | \
|
||||
|
@ -44,6 +44,7 @@ define $(PKG)_BUILD
|
|||
--enable-libspeex \
|
||||
--enable-libtheora \
|
||||
--enable-libvo-aacenc \
|
||||
--enable-libvo-amrwbenc \
|
||||
--enable-libvorbis \
|
||||
--enable-libvpx \
|
||||
--enable-libx264 \
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
# This file is part of MXE.
|
||||
# See index.html for further information.
|
||||
|
||||
PKG := vo-amrwbenc
|
||||
$(PKG)_IGNORE :=
|
||||
$(PKG)_VERSION := 0.1.3
|
||||
$(PKG)_CHECKSUM := 427a147a378d258614d5d470f1f222e249535be7
|
||||
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
|
||||
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
|
||||
$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/opencore-amr/$(PKG)/$($(PKG)_FILE)
|
||||
$(PKG)_DEPS := gcc
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'http://sourceforge.net/projects/opencore-amr/files/vo-amrwbenc/' | \
|
||||
$(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \
|
||||
head -1
|
||||
endef
|
||||
|
||||
define $(PKG)_BUILD
|
||||
cd '$(1)' && ./configure \
|
||||
--host='$(TARGET)' \
|
||||
--prefix='$(PREFIX)/$(TARGET)' \
|
||||
--disable-shared
|
||||
$(MAKE) -C '$(1)' -j '$(JOBS)'
|
||||
$(MAKE) -C '$(1)' -j 1 install
|
||||
endef
|
Loading…
Reference in New Issue