[vlc-commits] contribs: add orc

Rafaël Carré git at videolan.org
Mon Jul 4 04:19:48 CEST 2011


vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Sun Jul  3 21:41:40 2011 -0400| [322bc093c036b1e23762806ff062534823e945d1] | committer: Rafaël Carré

contribs: add orc

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

 contrib/src/orc/SHA512SUMS       |    1 +
 contrib/src/orc/orc-stdint.patch |   30 ++++++++++++++++++++++++++++++
 contrib/src/orc/rules.mak        |   29 +++++++++++++++++++++++++++++
 3 files changed, 60 insertions(+), 0 deletions(-)

diff --git a/contrib/src/orc/SHA512SUMS b/contrib/src/orc/SHA512SUMS
new file mode 100644
index 0000000..4b090b6
--- /dev/null
+++ b/contrib/src/orc/SHA512SUMS
@@ -0,0 +1 @@
+961d71caeff340ac3d98aedad398f7f87eaf7d41a7c136a14a15a7ef3713bbd109ce35642e4f8275ceb9bff2796288bf85b5bd183a4dac600f0ba8f8e8ef9fb6  orc-0.4.14.tar.gz
diff --git a/contrib/src/orc/orc-stdint.patch b/contrib/src/orc/orc-stdint.patch
new file mode 100644
index 0000000..4f97829
--- /dev/null
+++ b/contrib/src/orc/orc-stdint.patch
@@ -0,0 +1,30 @@
+--- orc/orc/orc.h	2011-04-14 21:07:08.000000000 +0200
++++ orc.new/orc/orc.h	2011-05-08 19:03:51.294908858 +0200
+@@ -2,6 +2,7 @@
+ #ifndef _ORC_ORC_H_
+ #define _ORC_ORC_H_
+ 
++#include <orc/orcutils.h>
+ #include <orc/orcprogram.h>
+ #include <orc/orc-stdint.h>
+ #include <orc/orcarm.h>
+@@ -12,7 +13,6 @@
+ #include <orc/orcparse.h>
+ #include <orc/orcprogram.h>
+ #include <orc/orcsse.h>
+-#include <orc/orcutils.h>
+ #include <orc/orcx86.h>
+ #include <orc/orcpowerpc.h>
+ 
+--- orc/orc/orcutils.h	2011-04-28 00:29:24.000000000 +0200
++++ orc.new/orc/orcutils.h	2011-05-08 19:10:13.380803529 +0200
+@@ -30,8 +30,8 @@
+ 
+ #ifndef _ORC_INTEGER_TYPEDEFS_
+ #define _ORC_INTEGER_TYPEDEFS_
+-#if defined(__STDC__) && __STDC__ && __STDC_VERSION__ >= 199901L
+ #include <stdint.h>
++#if defined(__STDC__) && __STDC__ && __STDC_VERSION__ >= 199901L
+ typedef int8_t orc_int8;
+ typedef int16_t orc_int16;
+ typedef int32_t orc_int32;
diff --git a/contrib/src/orc/rules.mak b/contrib/src/orc/rules.mak
new file mode 100644
index 0000000..6564b31
--- /dev/null
+++ b/contrib/src/orc/rules.mak
@@ -0,0 +1,29 @@
+# orc
+
+ORC_VERSION := 0.4.14
+
+ORC_URL := http://code.entropywave.com/download/orc/orc-$(ORC_VERSION).tar.gz
+
+NEED_ORC = $(call need_pkg,"orc-0.4")
+
+$(TARBALLS)/orc-$(ORC_VERSION).tar.gz:
+	$(call download,$(ORC_URL))
+
+.sum-orc: orc-$(ORC_VERSION).tar.gz
+
+orc: orc-$(ORC_VERSION).tar.gz .sum-orc
+	$(UNPACK)
+	$(APPLY) $(SRC)/orc/orc-stdint.patch
+	$(MOVE)
+
+ifeq ($(NEED_ORC),)
+.orc:
+else
+PKGS += orc
+
+.orc: orc
+	#$(RECONF)
+	cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
+	cd $< && $(MAKE) install
+endif
+	touch $@



More information about the vlc-commits mailing list