summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/x264/_metadata/description1
l---------data/x264/_metadata/license1
l---------data/x264/_metadata/maintainer1
-rw-r--r--data/x264/_metadata/priority1
-rw-r--r--data/x264/_metadata/section1
-rw-r--r--data/x264/_metadata/version1
-rw-r--r--data/x264/libmx.diff12
-rw-r--r--data/x264/make.sh6
-rw-r--r--data/x264/optimizer.diff12
-rw-r--r--data/x264/tools.diff23
-rw-r--r--data/x264/x264-snapshot-20080226-2245.tar.bz2bin0 -> 537369 bytes
11 files changed, 59 insertions, 0 deletions
diff --git a/data/x264/_metadata/description b/data/x264/_metadata/description
new file mode 100644
index 000000000..7fbd73dc7
--- /dev/null
+++ b/data/x264/_metadata/description
@@ -0,0 +1 @@
+open source implementation of x264
diff --git a/data/x264/_metadata/license b/data/x264/_metadata/license
new file mode 120000
index 000000000..9c13a9a0f
--- /dev/null
+++ b/data/x264/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-2 \ No newline at end of file
diff --git a/data/x264/_metadata/maintainer b/data/x264/_metadata/maintainer
new file mode 120000
index 000000000..0fa66e077
--- /dev/null
+++ b/data/x264/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/saurik \ No newline at end of file
diff --git a/data/x264/_metadata/priority b/data/x264/_metadata/priority
new file mode 100644
index 000000000..134d9bc32
--- /dev/null
+++ b/data/x264/_metadata/priority
@@ -0,0 +1 @@
+optional
diff --git a/data/x264/_metadata/section b/data/x264/_metadata/section
new file mode 100644
index 000000000..593877746
--- /dev/null
+++ b/data/x264/_metadata/section
@@ -0,0 +1 @@
+Multimedia
diff --git a/data/x264/_metadata/version b/data/x264/_metadata/version
new file mode 100644
index 000000000..64531bf13
--- /dev/null
+++ b/data/x264/_metadata/version
@@ -0,0 +1 @@
+20080226-2245
diff --git a/data/x264/libmx.diff b/data/x264/libmx.diff
new file mode 100644
index 000000000..7f4e2a5db
--- /dev/null
+++ b/data/x264/libmx.diff
@@ -0,0 +1,12 @@
+diff -ru x264-snapshot-20080226-2245/configure x264-snapshot-20080226-2245+iPhone/configure
+--- x264-snapshot-20080226-2245/configure 2008-02-26 21:45:02.000000000 +0000
++++ x264-snapshot-20080226-2245+iPhone/configure 2008-02-27 08:09:51.000000000 +0000
+@@ -183,7 +183,7 @@
+ darwin*)
+ SYS="MACOSX"
+ CFLAGS="$CFLAGS -falign-loops=16"
+- LDFLAGS="$LDFLAGS -lm -lmx"
++ LDFLAGS="$LDFLAGS -lm"
+ ;;
+ freebsd*)
+ SYS="FREEBSD"
diff --git a/data/x264/make.sh b/data/x264/make.sh
new file mode 100644
index 000000000..fc5616b2b
--- /dev/null
+++ b/data/x264/make.sh
@@ -0,0 +1,6 @@
+pkg:extract
+cd *
+pkg:patch
+CC=arm-apple-darwin-gcc pkg:configure
+make
+pkg:install
diff --git a/data/x264/optimizer.diff b/data/x264/optimizer.diff
new file mode 100644
index 000000000..ca6e8441c
--- /dev/null
+++ b/data/x264/optimizer.diff
@@ -0,0 +1,12 @@
+diff -ru x264-snapshot-20080226-2245/configure x264-snapshot-20080226-2245+iPhone/configure
+--- x264-snapshot-20080226-2245/configure 2008-02-26 21:45:02.000000000 +0000
++++ x264-snapshot-20080226-2245+iPhone/configure 2008-02-27 08:09:51.000000000 +0000
+@@ -407,7 +407,7 @@
+ if [ "$debug" = "yes" ]; then
+ CFLAGS="-O1 -g $CFLAGS"
+ else
+- CFLAGS="-O4 -ffast-math $CFLAGS"
++ CFLAGS="-O3 -ffast-math $CFLAGS"
+ fi
+
+ if cc_check "stdio.h" "" "fseeko(stdin,0,0);" ; then
diff --git a/data/x264/tools.diff b/data/x264/tools.diff
new file mode 100644
index 000000000..722e26e85
--- /dev/null
+++ b/data/x264/tools.diff
@@ -0,0 +1,23 @@
+diff -ru x264-snapshot-20080226-2245/Makefile x264-snapshot-20080226-2245+iPhone/Makefile
+--- x264-snapshot-20080226-2245/Makefile 2008-02-26 21:45:02.000000000 +0000
++++ x264-snapshot-20080226-2245+iPhone/Makefile 2008-02-27 08:11:19.000000000 +0000
+@@ -74,8 +74,8 @@
+ default: $(DEP) x264$(EXE)
+
+ libx264.a: .depend $(OBJS) $(OBJASM)
+- ar rc libx264.a $(OBJS) $(OBJASM)
+- ranlib libx264.a
++ arm-apple-darwin-ar rc libx264.a $(OBJS) $(OBJASM)
++ arm-apple-darwin-ranlib libx264.a
+
+ $(SONAME): .depend $(OBJS) $(OBJASM)
+ $(CC) -shared -o $@ $(OBJS) $(OBJASM) -Wl,-soname,$(SONAME) $(LDFLAGS)
+@@ -156,7 +156,7 @@
+ install -m 644 libx264.a $(DESTDIR)$(libdir)
+ install -m 644 x264.pc $(DESTDIR)$(libdir)/pkgconfig
+ install x264 $(DESTDIR)$(bindir)
+- ranlib $(DESTDIR)$(libdir)/libx264.a
++ arm-apple-darwin-ranlib $(DESTDIR)$(libdir)/libx264.a
+ $(if $(SONAME), ln -sf $(SONAME) $(DESTDIR)$(libdir)/libx264.so)
+ $(if $(SONAME), install -m 755 $(SONAME) $(DESTDIR)$(libdir))
+
diff --git a/data/x264/x264-snapshot-20080226-2245.tar.bz2 b/data/x264/x264-snapshot-20080226-2245.tar.bz2
new file mode 100644
index 000000000..4a812ea90
--- /dev/null
+++ b/data/x264/x264-snapshot-20080226-2245.tar.bz2
Binary files differ