diff options
-rw-r--r-- | index.html | 7 | ||||
-rw-r--r-- | src/ffmpeg.mk | 7 | ||||
-rw-r--r-- | src/opus.mk | 26 |
3 files changed, 36 insertions, 4 deletions
@@ -1069,7 +1069,7 @@ aptitude -t squeeze-backports install cmake yasm</pre> </tr> <tr> <td id="ffmpeg-package">ffmpeg</td> - <td id="ffmpeg-version">1.1.1</td> + <td id="ffmpeg-version">1.1.2</td> <td id="ffmpeg-website"><a href="http://www.ffmpeg.org/">ffmpeg</a></td> </tr> <tr> @@ -1793,6 +1793,11 @@ aptitude -t squeeze-backports install cmake yasm</pre> <td id="openssl-website"><a href="http://www.openssl.org/">openssl</a></td> </tr> <tr> + <td id="opus-package">opus</td> + <td id="opus-version">1.0.2</td> + <td id="opus-website"><a href="http://opus-codec.org/">opus</a></td> + </tr> + <tr> <td id="pango-package">pango</td> <td id="pango-version">1.33.7</td> <td id="pango-website"><a href="http://www.pango.org/">Pango</a></td> diff --git a/src/ffmpeg.mk b/src/ffmpeg.mk index 03653e0..80d89c4 100644 --- a/src/ffmpeg.mk +++ b/src/ffmpeg.mk @@ -3,12 +3,12 @@ PKG := ffmpeg $(PKG)_IGNORE := -$(PKG)_CHECKSUM := ad02037de190fb04611ec5347c5a97130249bebf +$(PKG)_CHECKSUM := 1fb1c2019ff13440b3670dc83846c654b245c4c9 $(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 libvpx opencore-amr sdl speex theora vorbis x264 xvidcore zlib +$(PKG)_DEPS := gcc bzip2 lame libvpx opencore-amr opus sdl speex theora vorbis x264 xvidcore zlib define $(PKG)_UPDATE $(WGET) -q -O- 'http://www.ffmpeg.org/download.html' | \ @@ -44,7 +44,8 @@ define $(PKG)_BUILD --enable-libopencore-amrnb \ --enable-libopencore-amrwb \ --enable-libx264 \ - --enable-libvpx + --enable-libvpx \ + --enable-libopus $(MAKE) -C '$(1)' -j '$(JOBS)' $(MAKE) -C '$(1)' -j 1 install endef diff --git a/src/opus.mk b/src/opus.mk new file mode 100644 index 0000000..15c93c7 --- /dev/null +++ b/src/opus.mk @@ -0,0 +1,26 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := opus +$(PKG)_IGNORE := +$(PKG)_CHECKSUM := 37dd3d69b10612cd513ccf26675ef6d61eda24b4 +$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) +$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz +$(PKG)_URL := http://downloads.xiph.org/releases/$(PKG)/$($(PKG)_FILE) +$(PKG)_DEPS := gcc + +define $(PKG)_UPDATE + $(WGET) -q -O- 'http://www.xiph.org/downloads/' | \ + $(SED) -n 's,.*opus-\([0-9][^>]*\)\.tar.*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + cd '$(1)' && ./configure \ + --host='$(TARGET)' \ + --build="`config.guess`" \ + --disable-shared \ + --prefix='$(PREFIX)/$(TARGET)' + $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= + $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= +endef |