shithub: openh264

Download patch

ref: 17c14d44e202aa63344875d9e36372a1f462c9ca
parent: b86e1f00b2d6cd06eae0c8321754ef53190f2400
author: Ethan Hugg <ehugg@cisco.com>
date: Wed Jul 9 10:51:16 EDT 2014

Pull gmp-api by branch name

--- a/Makefile
+++ b/Makefile
@@ -17,6 +17,7 @@
 OBJ=o
 PROJECT_NAME=openh264
 MODULE_NAME=gmpopenh264
+GMP_API_BRANCH=Firefox32
 CCASFLAGS=$(CFLAGS)
 
 ifeq (,$(wildcard ./gmp-api))
@@ -122,7 +123,8 @@
 	$(QUIET)rm -f $(OBJS) $(OBJS:.$(OBJ)=.d) $(LIBRARIES) $(BINARIES)
 
 gmp-bootstrap:
-	git clone https://github.com/mozilla/gmp-api gmp-api
+	if [ ! -d gmp-api ] ; then git clone https://github.com/mozilla/gmp-api gmp-api ; fi
+	cd gmp-api && git fetch origin && git checkout $(GMP_API_BRANCH)
 
 gtest-bootstrap:
 	svn co https://googletest.googlecode.com/svn/trunk/ gtest