Mercurial > mxe-octave
changeset 514:28cdf34ea090
new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith)
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Tue, 27 Oct 2009 23:08:03 +0100 |
parents | c5d1f0ee0f0b |
children | 8137784b8ceb |
files | doc/index.html src/libmad.mk src/libsndfile.mk src/sdl_net.mk src/speex.mk |
diffstat | 5 files changed, 197 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/index.html Tue Oct 27 20:14:55 2009 +0100 +++ b/doc/index.html Tue Oct 27 23:08:03 2009 +0100 @@ -679,6 +679,7 @@ <li>Martin Gerhardy</li> <li>Mark Brand</li> <li>Hans Bezemer</li> + <li>Gregory Smith</li> </ul> <p>(contact via the
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/libmad.mk Tue Oct 27 23:08:03 2009 +0100 @@ -0,0 +1,47 @@ +# Copyright (C) 2009 Volker Grabsch +# Gregory Smith +# +# Permission is hereby granted, free of charge, to any person obtaining +# a copy of this software and associated documentation files (the +# "Software"), to deal in the Software without restriction, including +# without limitation the rights to use, copy, modify, merge, publish, +# distribute, sublicense, and/or sell copies of the Software, and to +# permit persons to whom the Software is furnished to do so, subject +# to the following conditions: +# +# The above copyright notice and this permission notice shall be +# included in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +# libmad +PKG := libmad +$(PKG)_IGNORE := +$(PKG)_VERSION := 0.15.1b +$(PKG)_CHECKSUM := cac19cd00e1a907f3150cc040ccc077783496d76 +$(PKG)_SUBDIR := libmad-$($(PKG)_VERSION) +$(PKG)_FILE := libmad-$($(PKG)_VERSION).tar.gz +$(PKG)_WEBSITE := http://www.underbit.com/products/mad/ +$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/mad/libmad/$($(PKG)_VERSION)/$($(PKG)_FILE) +$(PKG)_DEPS := gcc + +define $(PKG)_UPDATE + $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/mad/files/libmad/) | \ + $(SED) -n 's,.*libmad-\([0-9][^>]*\)\.tar.*,\1,p' | \ + tail -1 +endef + +define $(PKG)_BUILD + $(SED) '/-fforce-mem/d' -i '$(1)'/configure + cd '$(1)' && ./configure \ + --host='$(TARGET)' \ + --disable-shared \ + --prefix='$(PREFIX)/$(TARGET)' + $(MAKE) -C '$(1)' -j '$(JOBS)' install +endef
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/libsndfile.mk Tue Oct 27 23:08:03 2009 +0100 @@ -0,0 +1,51 @@ +# Copyright (C) 2009 Volker Grabsch +# Gregory Smith +# +# Permission is hereby granted, free of charge, to any person obtaining +# a copy of this software and associated documentation files (the +# "Software"), to deal in the Software without restriction, including +# without limitation the rights to use, copy, modify, merge, publish, +# distribute, sublicense, and/or sell copies of the Software, and to +# permit persons to whom the Software is furnished to do so, subject +# to the following conditions: +# +# The above copyright notice and this permission notice shall be +# included in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +# libsndfile +PKG := libsndfile +$(PKG)_IGNORE := +$(PKG)_VERSION := 1.0.20 +$(PKG)_CHECKSUM := d4f88b919c644f54dd4038c4cf4fb2e7b0d32f7b +$(PKG)_SUBDIR := libsndfile-$($(PKG)_VERSION) +$(PKG)_FILE := libsndfile-$($(PKG)_VERSION).tar.gz +$(PKG)_WEBSITE := http://www.mega-nerd.com/libsndfile/ +$(PKG)_URL := http://www.mega-nerd.com/libsndfile/$($(PKG)_FILE) +$(PKG)_DEPS := gcc sqlite flac ogg vorbis + +define $(PKG)_UPDATE + wget -q -O- 'http://www.mega-nerd.com/libsndfile/' | \ + grep '<META NAME="Version"' | \ + $(SED) -n 's,.*CONTENT="libsndfile-\([0-9][^"]*\)">.*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + cd '$(1)' && ./configure \ + --host='$(TARGET)' \ + --disable-shared \ + --prefix='$(PREFIX)/$(TARGET)' \ + --enable-sqlite \ + --enable-external-libs \ + --disable-octave \ + --disable-alsa + $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= man_MANS= html_DATA= +endef
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/sdl_net.mk Tue Oct 27 23:08:03 2009 +0100 @@ -0,0 +1,50 @@ +# Copyright (C) 2009 Volker Grabsch +# Gregory Smith +# +# Permission is hereby granted, free of charge, to any person obtaining +# a copy of this software and associated documentation files (the +# "Software"), to deal in the Software without restriction, including +# without limitation the rights to use, copy, modify, merge, publish, +# distribute, sublicense, and/or sell copies of the Software, and to +# permit persons to whom the Software is furnished to do so, subject +# to the following conditions: +# +# The above copyright notice and this permission notice shall be +# included in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +# SDL_net +PKG := sdl_net +$(PKG)_IGNORE := +$(PKG)_VERSION := 1.2.7 +$(PKG)_CHECKSUM := b46c7e3221621cc34fec1238f1b5f0ce8972274d +$(PKG)_SUBDIR := SDL_net-$($(PKG)_VERSION) +$(PKG)_FILE := SDL_net-$($(PKG)_VERSION).tar.gz +$(PKG)_WEBSITE := http://libsdl.org/projects/SDL_net/ +$(PKG)_URL := http://libsdl.org/projects/SDL_net/release/$($(PKG)_FILE) +$(PKG)_DEPS := gcc sdl + +define $(PKG)_UPDATE + wget -q -O- 'http://www.libsdl.org/cgi/viewvc.cgi/tags/SDL_net/?sortby=date' | \ + grep '<a name="' | \ + $(SED) -n 's,.*<a name="release-\([0-9][^"]*\)".*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + cd '$(1)' && ./configure \ + --host='$(TARGET)' \ + --disable-shared \ + --prefix='$(PREFIX)/$(TARGET)' \ + --with-sdl-prefix='$(PREFIX)/$(TARGET)' \ + --disable-sdltest \ + --disable-gui + $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= +endef
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/speex.mk Tue Oct 27 23:08:03 2009 +0100 @@ -0,0 +1,48 @@ +# Copyright (C) 2009 Volker Grabsch +# Gregory Smith +# +# Permission is hereby granted, free of charge, to any person obtaining +# a copy of this software and associated documentation files (the +# "Software"), to deal in the Software without restriction, including +# without limitation the rights to use, copy, modify, merge, publish, +# distribute, sublicense, and/or sell copies of the Software, and to +# permit persons to whom the Software is furnished to do so, subject +# to the following conditions: +# +# The above copyright notice and this permission notice shall be +# included in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +# Speex +PKG := speex +$(PKG)_IGNORE := +$(PKG)_VERSION := 1.2rc1 +$(PKG)_CHECKSUM := 52daa72572e844e5165315e208da539b2a55c5eb +$(PKG)_SUBDIR := speex-$($(PKG)_VERSION) +$(PKG)_FILE := speex-$($(PKG)_VERSION).tar.gz +$(PKG)_WEBSITE := http://www.speex.org/ +$(PKG)_URL := http://downloads.xiph.org/releases/speex/$($(PKG)_FILE) +$(PKG)_DEPS := gcc + +define $(PKG)_UPDATE + wget -q -O- 'http://git.xiph.org/?p=speex.git;a=tags' | \ + grep '<a class="list name"' | \ + $(SED) -n 's,.*<a[^>]*>Speex-\([0-9][^>]*\)<.*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + cd '$(1)' && ./configure \ + --host='$(TARGET)' \ + --disable-shared \ + --prefix='$(PREFIX)/$(TARGET)' \ + --disable-oggtest + $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= man_MANS= doc_DATA= +endef