Mercurial > mxe-octave
view src/gst-plugins-base.mk @ 2637:69205fa89aee
update packages gstreamer gst-plugins-base gst-plugins-good
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Mon, 18 Jun 2012 22:05:59 +0200 |
parents | 4d0f3a9da57e |
children | 2e46fabcbbd0 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := gst-plugins-base $(PKG)_IGNORE := $(PKG)_CHECKSUM := 8e22846da146eabf1fd783c17b3f80d36790867f $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.xz $(PKG)_URL := http://gstreamer.freedesktop.org/src/$(PKG)/$($(PKG)_FILE) $(PKG)_DEPS := gcc glib libxml2 gstreamer liboil pango ogg vorbis theora define $(PKG)_UPDATE $(WGET) -q -O- 'http://cgit.freedesktop.org/gstreamer/gst-plugins-base/refs/tags' | \ $(SED) -n "s,.*<a href='[^']*/tag/?id=[^0-9]*\\([0-9][^']*\\)'.*,\\1,p" | \ head -1 endef define $(PKG)_BUILD find '$(1)' -name Makefile.in \ -exec $(SED) -i 's,glib-mkenums,$(PREFIX)/$(TARGET)/bin/glib-mkenums,g' {} \; \ -exec $(SED) -i 's,glib-genmarshal,$(PREFIX)/$(TARGET)/bin/glib-genmarshal,g' {} \; cd '$(1)' && ./configure \ --host='$(TARGET)' \ --build="`config.guess`" \ --prefix='$(PREFIX)/$(TARGET)' \ --disable-shared \ --disable-debug \ --disable-examples \ --disable-x \ --mandir='$(1)/sink' \ --docdir='$(1)/sink' \ --with-html-dir='$(1)/sink' $(MAKE) -C '$(1)' -j '$(JOBS)' install endef