summaryrefslogtreecommitdiff
path: root/data/x264
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2009-08-15 08:55:49 +0000
committerJay Freeman <saurik@saurik.com>2009-08-15 08:55:49 +0000
commit0fc6e098c25bab23d613247bfdec4bbb9f3da824 (patch)
tree68e44aad301510b43f60d3bf1d66c02fd29b1c89 /data/x264
parent941b171aa5289e307200390a7810ef79f7145c00 (diff)
Various things I forgot to commit.
git-svn-id: http://svn.telesphoreo.org/trunk@670 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/x264')
-rw-r--r--data/x264/darwin.diff65
-rw-r--r--data/x264/make.sh2
-rw-r--r--data/x264/x264-snapshot-20080226-2245.tar.bz2bin537369 -> 0 bytes
-rw-r--r--data/x264/x264-snapshot-20080921-2245.tar.bz2bin0 -> 2260987 bytes
4 files changed, 1 insertions, 66 deletions
diff --git a/data/x264/darwin.diff b/data/x264/darwin.diff
index f5dd7cd58..e69de29bb 100644
--- a/data/x264/darwin.diff
+++ b/data/x264/darwin.diff
@@ -1,65 +0,0 @@
-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-05-19 12:49:10.000000000 +0000
-@@ -182,8 +182,8 @@
- ;;
- darwin*)
- SYS="MACOSX"
-- CFLAGS="$CFLAGS -falign-loops=16"
-- LDFLAGS="$LDFLAGS -lm -lmx"
-+ CFLAGS="$CFLAGS -falign-loops=16 -fno-common"
-+ LDFLAGS="$LDFLAGS -lm"
- ;;
- freebsd*)
- SYS="FREEBSD"
-@@ -454,10 +454,10 @@
-
- if [ "$shared" = "yes" ]; then
- API=$(grep '#define X264_BUILD' < x264.h | cut -f 3 -d ' ')
-- echo "SONAME=libx264.so.$API" >> config.mak
-+ echo "SONAME=libx264.dylib.$API" >> config.mak
- echo 'default: $(SONAME)' >> config.mak
- if [ "$gtk" = "yes" ]; then
-- echo "SONAMEGTK=libx264gtk.so.$API" >> gtk/config.mak
-+ echo "SONAMEGTK=libx264gtk.dylib.$API" >> gtk/config.mak
- fi
- fi
-
-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-05-19 12:48:00.000000000 +0000
-@@ -74,11 +74,11 @@
- default: $(DEP) x264$(EXE)
-
- libx264.a: .depend $(OBJS) $(OBJASM)
-- ar rc libx264.a $(OBJS) $(OBJASM)
-- ranlib libx264.a
-+ "$${PKG_TARG}-ar" rc libx264.a $(OBJS) $(OBJASM)
-+ "$${PKG_TARG}-ranlib" libx264.a
-
- $(SONAME): .depend $(OBJS) $(OBJASM)
-- $(CC) -shared -o $@ $(OBJS) $(OBJASM) -Wl,-soname,$(SONAME) $(LDFLAGS)
-+ $(CC) -dynamiclib -o $@ $(OBJS) $(OBJASM) -install_name $(libdir)/$(SONAME) $(LDFLAGS)
-
- x264$(EXE): $(OBJCLI) libx264.a
- $(CC) -o $@ $+ $(LDFLAGS)
-@@ -156,8 +156,8 @@
- install -m 644 libx264.a $(DESTDIR)$(libdir)
- install -m 644 x264.pc $(DESTDIR)$(libdir)/pkgconfig
- install x264 $(DESTDIR)$(bindir)
-- ranlib $(DESTDIR)$(libdir)/libx264.a
-- $(if $(SONAME), ln -sf $(SONAME) $(DESTDIR)$(libdir)/libx264.so)
-+ "$${PKG_TARG}-ranlib" $(DESTDIR)$(libdir)/libx264.a
-+ $(if $(SONAME), ln -sf $(SONAME) $(DESTDIR)$(libdir)/libx264.dylib)
- $(if $(SONAME), install -m 755 $(SONAME) $(DESTDIR)$(libdir))
-
- install-gtk: libx264gtk.a
-@@ -166,7 +166,7 @@
- uninstall:
- rm -f $(DESTDIR)$(includedir)/x264.h $(DESTDIR)$(libdir)/libx264.a
- rm -f $(DESTDIR)$(bindir)/x264 $(DESTDIR)$(libdir)/pkgconfig/x264.pc
-- $(if $(SONAME), rm -f $(DESTDIR)$(libdir)/$(SONAME) $(DESTDIR)$(libdir)/libx264.so)
-+ $(if $(SONAME), rm -f $(DESTDIR)$(libdir)/$(SONAME) $(DESTDIR)$(libdir)/libx264.dylib)
- $(MAKE) -C gtk uninstall
-
- etags: TAGS
diff --git a/data/x264/make.sh b/data/x264/make.sh
index 8399d8b7b..1c2bd5467 100644
--- a/data/x264/make.sh
+++ b/data/x264/make.sh
@@ -1,4 +1,4 @@
pkg:setup
-CC=${PKG_TARG}-gcc pkg:configure --enable-shared
+CC=${PKG_TARG}-gcc ./configure --enable-shared --host="${PKG_TARG}"
make
pkg:install
diff --git a/data/x264/x264-snapshot-20080226-2245.tar.bz2 b/data/x264/x264-snapshot-20080226-2245.tar.bz2
deleted file mode 100644
index 4a812ea90..000000000
--- a/data/x264/x264-snapshot-20080226-2245.tar.bz2
+++ /dev/null
Binary files differ
diff --git a/data/x264/x264-snapshot-20080921-2245.tar.bz2 b/data/x264/x264-snapshot-20080921-2245.tar.bz2
new file mode 100644
index 000000000..905aaf724
--- /dev/null
+++ b/data/x264/x264-snapshot-20080921-2245.tar.bz2
Binary files differ