Commit 6412bbbb authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Contribs: add faad2

parent 70af0a8c
diff -ru faad2-2.7/libfaad/common.h faad2/libfaad/common.h
--- faad2-2.7/libfaad/common.h 2009-02-05 02:51:03.000000000 +0200
+++ faad2/libfaad/common.h 2009-09-01 20:41:20.000000000 +0300
@@ -79,6 +79,10 @@
#define FIXED_POINT
#endif
+#ifdef __arm__
+#define FIXED_POINT
+#endif
+
#define ERROR_RESILIENCE
# faad2
FAAD2_VERSION := 2.7
FAAD2_URL := $(SF)/faac/faad2-$(FAAD2_VERSION).tar.gz
PKGS += faad2
$(TARBALLS)/faad2-$(FAAD2_VERSION).tar.gz:
$(call download,$($(FAAD2_URL))
.sum-faad2: faad2-$(FAAD2_VERSION).tar.gz
faad2: faad2-$(FAAD2_VERSION).tar.gz .sum-faad2
$(UNPACK)
(cd $@-$(FAAD2_VERSION); echo|$(CC) -iquote . -E - || sed -i 's/-iquote /-I/' libfaad/Makefile.am; autoreconf -ivf)
patch -p0 < $(SRC)/faad2/arm-fixed.patch
mv $@-$(FAAD2_VERSION) $@
touch $@
.faad2: faad2
cd $< && $(HOSTVARS) ./configure $(HOSTCONF) CFLAGS="$(NOTHUMB)"
cd $< && sed -i.orig "s/shrext_cmds/shrext/g" libtool
cd $</libfaad && $(MAKE) install
touch $@
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