summaryrefslogtreecommitdiffstats
path: root/src/gstreamer.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/gstreamer.mk')
-rw-r--r--src/gstreamer.mk32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/gstreamer.mk b/src/gstreamer.mk
new file mode 100644
index 0000000..f039295
--- /dev/null
+++ b/src/gstreamer.mk
@@ -0,0 +1,32 @@
+# This file is part of mingw-cross-env.
+# See doc/index.html for further information.
+
+# gstreamer
+PKG := gstreamer
+$(PKG)_IGNORE :=
+$(PKG)_VERSION := 0.10.26
+$(PKG)_CHECKSUM := 868dccf7d2a844af88fd2fcf05c92822285fd9ab
+$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
+$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2
+$(PKG)_WEBSITE := http://gstreamer.freedesktop.org
+$(PKG)_URL := http://gstreamer.freedesktop.org/src/$(PKG)/$($(PKG)_FILE)
+$(PKG)_DEPS := gcc glib libxml2
+
+define $(PKG)_UPDATE
+ echo "Update not implemented"
+endef
+
+define $(PKG)_BUILD
+ cd '$(1)' && ./configure \
+ --host='$(TARGET)' \
+ --prefix='$(PREFIX)/$(TARGET)' \
+ --disable-shared \
+ --disable-debug \
+ --disable-check \
+ --disable-tests \
+ --disable-examples \
+ --mandir='$(1)/sink' \
+ --docdir='$(1)/sink' \
+ --with-html-dir='$(1)/sink'
+ $(MAKE) -C '$(1)' -j '$(JOBS)' install
+endef