summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gst-plugins-base.mk32
-rw-r--r--src/gst-plugins-good.mk32
-rw-r--r--src/gstreamer.mk32
-rw-r--r--src/liboil.mk32
-rw-r--r--src/libshout-1-fixes.patch45
-rw-r--r--src/libshout.mk28
6 files changed, 201 insertions, 0 deletions
diff --git a/src/gst-plugins-base.mk b/src/gst-plugins-base.mk
new file mode 100644
index 0000000..cd95862
--- /dev/null
+++ b/src/gst-plugins-base.mk
@@ -0,0 +1,32 @@
+# This file is part of mingw-cross-env.
+# See doc/index.html for further information.
+
+# gst-plugins-base
+PKG := gst-plugins-base
+$(PKG)_IGNORE :=
+$(PKG)_VERSION := 0.10.26
+$(PKG)_CHECKSUM := 33f6be03b4baf199dbb13f12d8a4f4749f79843f
+$(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 gstreamer liboil pango
+
+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
diff --git a/src/gst-plugins-good.mk b/src/gst-plugins-good.mk
new file mode 100644
index 0000000..f0bc8ba
--- /dev/null
+++ b/src/gst-plugins-good.mk
@@ -0,0 +1,32 @@
+# This file is part of mingw-cross-env.
+# See doc/index.html for further information.
+
+# gst-plugins-good
+PKG := gst-plugins-good
+$(PKG)_IGNORE :=
+$(PKG)_VERSION := 0.10.18
+$(PKG)_CHECKSUM := 74a463ed6e300598bd14f3f8915f2765f5420bd5
+$(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 gstreamer liboil libshout cairo directx flac gtk jpeg libpng speex taglib
+
+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
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
diff --git a/src/liboil.mk b/src/liboil.mk
new file mode 100644
index 0000000..59d48e6
--- /dev/null
+++ b/src/liboil.mk
@@ -0,0 +1,32 @@
+# This file is part of mingw-cross-env.
+# See doc/index.html for further information.
+
+# liboil
+PKG := liboil
+$(PKG)_IGNORE :=
+$(PKG)_VERSION := 0.3.17
+$(PKG)_CHECKSUM := f9d7103a3a4a4089f56197f81871ae9129d229ed
+$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
+$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
+$(PKG)_WEBSITE := http://$(PKG).freedesktop.org
+$(PKG)_URL := http://$(PKG).freedesktop.org/download/$($(PKG)_FILE)
+$(PKG)_DEPS := gcc
+
+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
diff --git a/src/libshout-1-fixes.patch b/src/libshout-1-fixes.patch
new file mode 100644
index 0000000..11a6b74
--- /dev/null
+++ b/src/libshout-1-fixes.patch
@@ -0,0 +1,45 @@
+This file is part of mingw-cross-env.
+See doc/index.html for further information.
+
+diff -urN a/examples/nonblocking.c b/examples/nonblocking.c
+--- a/examples/nonblocking.c 2006-06-19 19:54:05.000000000 +0200
++++ b/examples/nonblocking.c 2010-02-21 19:55:04.834952292 +0100
+@@ -68,7 +68,11 @@
+
+ while (ret == SHOUTERR_BUSY) {
+ printf("Connection pending. Sleeping...\n");
++#ifdef __MINGW32__
++ Sleep(1000);
++#else
+ sleep(1);
++#endif
+ ret = shout_get_connected(shout);
+ }
+
+diff -urN a/include/os.h b/include/os.h
+--- a/include/os.h 2005-06-27 23:33:22.000000000 +0200
++++ b/include/os.h 2010-02-21 19:55:04.834952292 +0100
+@@ -1,7 +1,9 @@
+ #ifdef _WIN32
++#ifndef __MINGW32__
+ typedef __int64 int64_t;
+ typedef unsigned __int64 uint64_t;
+ typedef unsigned __int32 uint32_t;
+ typedef __int32 int32_t;
+ typedef int ssize_t;
+ #endif
++#endif
+diff -urN a/include/shout/shout.h.in b/include/shout/shout.h.in
+--- a/include/shout/shout.h.in 2005-06-27 23:33:21.000000000 +0200
++++ b/include/shout/shout.h.in 2010-02-21 20:14:04.762887368 +0100
+@@ -23,8 +23,10 @@
+
+ #include <sys/types.h>
+ #ifdef WIN32
++#ifndef __MINGW32__
+ #include <os.h>
+ #endif
++#endif
+
+ #define SHOUTERR_SUCCESS (0)
+ #define SHOUTERR_INSANE (-1)
diff --git a/src/libshout.mk b/src/libshout.mk
new file mode 100644
index 0000000..c2e4667
--- /dev/null
+++ b/src/libshout.mk
@@ -0,0 +1,28 @@
+# This file is part of mingw-cross-env.
+# See doc/index.html for further information.
+
+# libshout
+PKG := libshout
+$(PKG)_IGNORE :=
+$(PKG)_VERSION := 2.2.2
+$(PKG)_CHECKSUM := cabc409e63f55383f4d85fac26d3056bf0365aac
+$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
+$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
+$(PKG)_WEBSITE := http://www.icecast.org
+$(PKG)_URL := http://downloads.us.xiph.org/releases/$(PKG)/$($(PKG)_FILE)
+$(PKG)_DEPS := gcc vorbis ogg theora speex
+
+define $(PKG)_UPDATE
+ echo "Update not implemented"
+endef
+
+define $(PKG)_BUILD
+ cd '$(1)' && ./configure \
+ --host='$(TARGET)' \
+ --prefix='$(PREFIX)/$(TARGET)' \
+ --disable-shared \
+ --disable-debug \
+ --infodir='$(1)/sink' \
+ --mandir='$(1)/sink'
+ $(MAKE) -C '$(1)' -j '$(JOBS)' install
+endef