vlc | branch: master | Rafaël Carré <[email protected]> | Sun Jul  3 
21:41:58 2011 -0400| [bcda983ad9b540cfb134d89cd95fb1f84d204302] | committer: 
Rafaël Carré

Contribs: add schroedinger

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bcda983ad9b540cfb134d89cd95fb1f84d204302
---

 contrib/src/schroedinger/SHA512SUMS                |    1 +
 contrib/src/schroedinger/rules.mak                 |   29 ++++++++++++++++++++
 .../src/schroedinger/schroedinger-notests.patch    |   21 ++++++++++++++
 3 files changed, 51 insertions(+), 0 deletions(-)

diff --git a/contrib/src/schroedinger/SHA512SUMS 
b/contrib/src/schroedinger/SHA512SUMS
new file mode 100644
index 0000000..fa8f1e6
--- /dev/null
+++ b/contrib/src/schroedinger/SHA512SUMS
@@ -0,0 +1 @@
+732264bcf1a3d1005924d93534bb36f1473fcb94d288165b0184f2728029b2a496bbe9c06794e26a97a4f20516eda163b1e92768f4127670ff70af9b38f1ef19
  schroedinger-1.0.10.tar.gz
diff --git a/contrib/src/schroedinger/rules.mak 
b/contrib/src/schroedinger/rules.mak
new file mode 100644
index 0000000..2f2c7a3
--- /dev/null
+++ b/contrib/src/schroedinger/rules.mak
@@ -0,0 +1,29 @@
+# schroedinger
+
+SCHROEDINGER_VERSION := 1.0.10
+
+SCHROEDINGER_URL := 
http://diracvideo.org/download/schroedinger/schroedinger-$(SCHROEDINGER_VERSION).tar.gz
+
+NEED_SCHROEDINGER = $(call need_pkg,"schroedinger-1.0")
+
+$(TARBALLS)/schroedinger-$(SCHROEDINGER_VERSION).tar.gz:
+       $(call download,$(SCHROEDINGER_URL))
+
+.sum-schroedinger: schroedinger-$(SCHROEDINGER_VERSION).tar.gz
+
+schroedinger: schroedinger-$(SCHROEDINGER_VERSION).tar.gz .sum-schroedinger
+       $(UNPACK)
+       $(APPLY) $(SRC)/schroedinger/schroedinger-notests.patch
+       $(MOVE)
+
+ifeq ($(NEED_SCHROEDINGER),)
+.schroedinger:
+else
+PKGS += schroedinger
+
+.schroedinger: schroedinger
+       $(RECONF)
+       cd $< && $(HOSTVARS) ./configure --with-thread=none --disable-gtk-doc 
$(HOSTCONF)
+       cd $< && $(MAKE) install
+endif
+       touch $@
diff --git a/contrib/src/schroedinger/schroedinger-notests.patch 
b/contrib/src/schroedinger/schroedinger-notests.patch
new file mode 100644
index 0000000..60b495b
--- /dev/null
+++ b/contrib/src/schroedinger/schroedinger-notests.patch
@@ -0,0 +1,21 @@
+--- schroedinger/Makefile.am   2009-09-29 07:08:51.000000000 +0200
++++ schroedinger.new/Makefile.am       2010-01-09 02:18:41.000000000 +0100
+@@ -1,6 +1,6 @@
+ AUTOMAKE_OPTIONS = foreign
+ 
+-SUBDIRS = schroedinger doc tools testsuite
++SUBDIRS = schroedinger doc tools 
+ 
+ DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
+ 
+--- schroedinger/tools/Makefile.am     2010-01-04 03:52:01.000000000 +0100
++++ schroedinger.new/tools/Makefile.am 2010-05-08 20:50:30.000000000 +0200
+@@ -5,7 +5,7 @@
+ 
+ 
+ AM_CFLAGS = $(SCHRO_CFLAGS) $(ERROR_CFLAGS) \
+-      $(ORC_CFLAGS) \
++      -L$(PREFIX)/lib $(ORC_CFLAGS) \
+       -DSCHRO_ENABLE_UNSTABLE_API
+ LDADD = $(SCHRO_LIBS)
+ 

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to