summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recipes/schroedinger/files/Makefile.patch15
-rw-r--r--recipes/schroedinger/files/configure.ac.patch13
-rw-r--r--recipes/schroedinger/gst-plugin-schroedinger_1.0.9.bb (renamed from recipes/schroedinger/gst-plugin-schroedinger_1.0.5.bb)5
-rw-r--r--recipes/schroedinger/schroedinger.inc11
-rw-r--r--recipes/schroedinger/schroedinger_1.0.9.bb (renamed from recipes/schroedinger/schroedinger_1.0.5.bb)5
5 files changed, 43 insertions, 6 deletions
diff --git a/recipes/schroedinger/files/Makefile.patch b/recipes/schroedinger/files/Makefile.patch
new file mode 100644
index 0000000000..d749c884e1
--- /dev/null
+++ b/recipes/schroedinger/files/Makefile.patch
@@ -0,0 +1,15 @@
+Index: schroedinger-1.0.5/schroedinger/Makefile.am
+===================================================================
+--- schroedinger-1.0.5.orig/schroedinger/Makefile.am
++++ schroedinger-1.0.5/schroedinger/Makefile.am
+@@ -53,9 +53,7 @@ pkginclude_HEADERS = \
+ schroutils.h \
+ schrovideoformat.h \
+ schrovirtframe.h \
+- schrowavelet.h \
+- schrobitstream.h \
+- schromotion.h
++ schrowavelet.h
+
+ noinst_HEADERS = \
+ schrooil.h \
diff --git a/recipes/schroedinger/files/configure.ac.patch b/recipes/schroedinger/files/configure.ac.patch
new file mode 100644
index 0000000000..ac5e7eebec
--- /dev/null
+++ b/recipes/schroedinger/files/configure.ac.patch
@@ -0,0 +1,13 @@
+Index: schroedinger-1.0.9/configure.ac
+===================================================================
+--- schroedinger-1.0.9.orig/configure.ac
++++ schroedinger-1.0.9/configure.ac
+@@ -54,7 +54,7 @@ if test "x${HAVE_ORC}" != xyes ; then
+ AC_ERROR([orc-0.4 >= $ORC_VER is required])
+ fi
+ SCHRO_PKG_DEPS="$SCHRO_PKG_DEPS orc-0.4 >= $ORC_VER"
+-ORCC=`$PKG_CONFIG --variable=orcc orc-0.4`
++ORCC=$STAGING_DIR`$PKG_CONFIG --variable=orcc orc-0.4`
+ AC_SUBST(ORCC)
+
+ AC_ARG_WITH([thread],
diff --git a/recipes/schroedinger/gst-plugin-schroedinger_1.0.5.bb b/recipes/schroedinger/gst-plugin-schroedinger_1.0.9.bb
index 64660bb7f2..0a95646a61 100644
--- a/recipes/schroedinger/gst-plugin-schroedinger_1.0.5.bb
+++ b/recipes/schroedinger/gst-plugin-schroedinger_1.0.9.bb
@@ -1,9 +1,10 @@
require schroedinger.inc
-PR = "r2"
+PR = "r0"
DEPENDS += "gstreamer gst-plugins-base"
-SRC_URI = "http://www.diracvideo.org/download/schroedinger/schroedinger-${PV}.tar.gz"
+SRC_URI[schroedingertargz.md5sum] = "d67ec48b7c506db8c8b49156bf409e60"
+SRC_URI[schroedingertargz.sha256sum] = "345abcaa72ff0f2e9c1075e22f7141475ee4e6eea23a7f568b69ffc13cc1c723"
S = "${WORKDIR}/schroedinger-${PV}"
diff --git a/recipes/schroedinger/schroedinger.inc b/recipes/schroedinger/schroedinger.inc
index f907613fd1..90f7ca658b 100644
--- a/recipes/schroedinger/schroedinger.inc
+++ b/recipes/schroedinger/schroedinger.inc
@@ -1,10 +1,15 @@
HOMEPAGE = "http://schrodinger.sourceforge.net/"
LICENSE = "MPL GPL LGPL MIT"
-DEPENDS = "liboil"
+DEPENDS = "liboil orc-native orc"
-PR = "r2"
+PR = "r0"
-SRC_URI = "http://www.diracvideo.org/download/schroedinger/${P}.tar.gz"
+SRC_URI = "http://www.diracvideo.org/download/schroedinger/${P}.tar.gz;name=schroedingertargz"
+SRC_URI[schroedingertargz.md5sum] = "d67ec48b7c506db8c8b49156bf409e60"
+SRC_URI[schroedingertargz.sha256sum] = "345abcaa72ff0f2e9c1075e22f7141475ee4e6eea23a7f568b69ffc13cc1c723"
+SRC_URI += "file://configure.ac.patch;patch=1"
+
+EXTRA_OECONF += "STAGING_DIR=${STAGING_DIR_NATIVE}"
inherit autotools
diff --git a/recipes/schroedinger/schroedinger_1.0.5.bb b/recipes/schroedinger/schroedinger_1.0.9.bb
index 476c2965e6..d9b919169b 100644
--- a/recipes/schroedinger/schroedinger_1.0.5.bb
+++ b/recipes/schroedinger/schroedinger_1.0.9.bb
@@ -1,9 +1,12 @@
require schroedinger.inc
-PR = "r3"
+PR = "r0"
inherit autotools_stage
+SRC_URI[schroedingertargz.md5sum] = "d67ec48b7c506db8c8b49156bf409e60"
+SRC_URI[schroedingertargz.sha256sum] = "345abcaa72ff0f2e9c1075e22f7141475ee4e6eea23a7f568b69ffc13cc1c723"
+
AUTOTOOLS_STAGE_PKGCONFIG = "1"
PACKAGES =+ "gst-plugin-schroedinger-dbg gst-plugin-schroedinger-dev gst-plugin-schroedinger"