diff options
author | Timothy Gu <timothygu99@gmail.com> | 2013-09-02 20:20:58 (GMT) |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2013-09-02 20:21:29 (GMT) |
commit | 98184869ff0c1b31ae611debce8b43dca5a2aaf2 (patch) | |
tree | 7b14cacc9e0125031c096017f537f756bd2233dd | |
parent | 54917e678b1badf8ce5408e196ce2a4cda4d4c7b (diff) | |
download | mxe-98184869ff0c1b31ae611debce8b43dca5a2aaf2.zip mxe-98184869ff0c1b31ae611debce8b43dca5a2aaf2.tar.gz mxe-98184869ff0c1b31ae611debce8b43dca5a2aaf2.tar.bz2 |
Add vo-amrwbenc package and enable it for ffmpeg
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
-rw-r--r-- | index.html | 4 | ||||
-rw-r--r-- | src/ffmpeg.mk | 3 | ||||
-rw-r--r-- | src/vo-amrwbenc.mk | 26 |
3 files changed, 32 insertions, 1 deletions
@@ -2199,6 +2199,10 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre> <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> </tr> diff --git a/src/ffmpeg.mk b/src/ffmpeg.mk index 600099b..3c5d16d 100644 --- a/src/ffmpeg.mk +++ b/src/ffmpeg.mk @@ -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 \ diff --git a/src/vo-amrwbenc.mk b/src/vo-amrwbenc.mk new file mode 100644 index 0000000..d3afcb2 --- /dev/null +++ b/src/vo-amrwbenc.mk @@ -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 |