Commit aa7b1edc authored by Rafaël Carré's avatar Rafaël Carré

contribs: remove unneeded x264 patch for w64

just don't build the cli
parent bff2424d
...@@ -12,6 +12,7 @@ X264CONF = --prefix="$(PREFIX)" --host="$(HOST)" \ ...@@ -12,6 +12,7 @@ X264CONF = --prefix="$(PREFIX)" --host="$(HOST)" \
--enable-static \ --enable-static \
--disable-avs \ --disable-avs \
--disable-lavf \ --disable-lavf \
--disable-cli \
--disable-ffms --disable-ffms
ifndef HAVE_WIN32 ifndef HAVE_WIN32
X264CONF += --enable-pic X264CONF += --enable-pic
...@@ -40,9 +41,6 @@ X264_VERSION := git ...@@ -40,9 +41,6 @@ X264_VERSION := git
x264: x264-$(X264_VERSION).tar.xz .sum-x264 x264: x264-$(X264_VERSION).tar.xz .sum-x264
$(UNPACK) $(UNPACK)
ifdef HAVE_WIN64
$(APPLY) $(SRC)/x264/x264-svn-win64.patch
endif
$(MOVE) $(MOVE)
.x264: x264 .x264: x264
......
--- x264-git.orig/Makefile 2010-10-08 22:52:14.799265002 +0200
+++ x264-git/Makefile 2010-10-08 22:55:01.549265004 +0200
@@ -136,7 +136,7 @@
$(CC) -shared -o $@ $(OBJS) $(OBJASM) $(OBJSO) $(SOFLAGS) $(LDFLAGS)
x264$(EXE): .depend $(OBJCLI) $(CLI_LIBX264)
- $(LD)$@ $(OBJCLI) $(CLI_LIBX264) $(LDFLAGSCLI) $(LDFLAGS)
+ $(LD)$@ $(OBJCLI) $(CLI_LIBX264) $(LDFLAGSCLI) $(LDFLAGS) -liberty
checkasm: tools/checkasm.o libx264.a
$(CC) -o $@ $+ $(LDFLAGS)
--- Makefile 2010-10-08 22:52:14.799265002 +0200
+++ Makefile 2010-10-08 22:55:01.549265004 +0200
@@ -136,7 +136,7 @@
$(CC) -shared -o $@ $(OBJS) $(OBJASM) $(OBJSO) $(SOFLAGS) $(LDFLAGS)
x264$(EXE): $(OBJCLI) libx264.a
- $(CC) -o $@ $+ $(LDFLAGSCLI) $(LDFLAGS)
+ $(CC) -o $@ $+ $(LDFLAGSCLI) $(LDFLAGS) -liberty
checkasm: tools/checkasm.o libx264.a
$(CC) -o $@ $+ $(LDFLAGS)
...@@ -1441,7 +1441,7 @@ ifdef HAVE_LINUX ...@@ -1441,7 +1441,7 @@ ifdef HAVE_LINUX
X264CONF += --enable-pic X264CONF += --enable-pic
endif endif
X264CONF += --disable-avs --disable-lavf --disable-ffms --enable-static X264CONF += --disable-avs --disable-lavf --disable-ffms --enable-static --disable-cli
x264-$(X264_VERSION).tar.gz: x264-$(X264_VERSION).tar.gz:
$(WGET) $(X264_URL) $(WGET) $(X264_URL)
...@@ -1449,9 +1449,6 @@ x264-$(X264_VERSION).tar.gz: ...@@ -1449,9 +1449,6 @@ x264-$(X264_VERSION).tar.gz:
ifdef GIT ifdef GIT
x264: x264:
$(GIT) clone git://git.videolan.org/x264.git $(GIT) clone git://git.videolan.org/x264.git
ifdef HAVE_WIN64
(cd x264; patch -p0 < ../Patches/x264-svn-win64.patch )
endif
else else
x264: x264:
echo "x264 snapshot is too old, you MUST use Git !" echo "x264 snapshot is too old, you MUST use Git !"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment