summaryrefslogtreecommitdiff
path: root/data/x264
diff options
context:
space:
mode:
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