Browse Source

update to latest, fix arm compile

Waldemar Brodkorb 10 years ago
parent
commit
7cee0b60d2
2 changed files with 15 additions and 6 deletions
  1. 4 6
      package/libx264/Makefile
  2. 11 0
      package/libx264/patches/patch-configure

+ 4 - 6
package/libx264/Makefile

@@ -4,18 +4,16 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=		libx264
-# actually is git checkout from 22.01.2014
-PKG_VERSION:=		1.0.1
-PKG_RELEASE:=		7
-PKG_MD5SUM:=		6be3e8adeaf6b007bbc04026b6ebd304
+# actually is git checkout from 18.05.2014
+PKG_VERSION:=		1.0.2
+PKG_RELEASE:=		1
+PKG_MD5SUM:=		43946c39a27327f25751cddc1db0ed77
 PKG_DESCR:=		H264 encoding library
 PKG_SECTION:=		libs
 PKG_URL:=		http://www.videolan.org/developers/x264.html
 PKG_SITES:=		http://openadk.org/distfiles/
 PKG_OPTS:=		dev
 
-DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz
-
 PKG_BUILDDEP_IBM_X40:=	yasm-host
 
 include $(TOPDIR)/mk/package.mk

+ 11 - 0
package/libx264/patches/patch-configure

@@ -0,0 +1,11 @@
+--- libx264-1.0.2.orig/configure	2014-05-17 22:45:03.000000000 +0200
++++ libx264-1.0.2/configure	2014-05-18 08:20:20.000000000 +0200
+@@ -660,7 +660,7 @@ case $host_cpu in
+                 LDFLAGS="$LDFLAGS -arch armv7"
+             fi
+         else
+-            AS="${AS-${cross_prefix}gcc}"
++	    AS="${cross_prefix}gcc"
+         fi
+         ;;
+     s390|s390x)