From 98184869ff0c1b31ae611debce8b43dca5a2aaf2 Mon Sep 17 00:00:00 2001 From: Timothy Gu Date: Mon, 2 Sep 2013 13:20:58 -0700 Subject: Add vo-amrwbenc package and enable it for ffmpeg Signed-off-by: Timothy Gu --- index.html | 4 ++++ src/ffmpeg.mk | 3 ++- src/vo-amrwbenc.mk | 26 ++++++++++++++++++++++++++ 3 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 src/vo-amrwbenc.mk diff --git a/index.html b/index.html index 38e5fd4..117815a 100644 --- a/index.html +++ b/index.html @@ -2199,6 +2199,10 @@ local-pkg-list: $(LOCAL_PKG_LIST) VO-AACENC + vo-amrwbenc + VO-AMRWBENC + + vorbis Vorbis 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 -- cgit v0.12