3 POSTPROC_SNAPURL := http://git.videolan.org/?p=libpostproc.git;a=snapshot;h=HEAD;sf=tgz
11 DEPS_postproc = ffmpeg
14 POSTPROCCONF += --enable-small
17 POSTPROCCONF += --enable-thumb
20 ifdef HAVE_CROSS_COMPILE
21 POSTPROCCONF += --enable-cross-compile
23 POSTPROCCONF += --cross-prefix=$(HOST)-
29 POSTPROCCONF += --disable-runtime-cpudetect --arch=arm
31 POSTPROCCONF += --cpu=cortex-a8
34 POSTPROCCONF += --enable-neon
40 POSTPROCCONF += --arch=mips
45 POSTPROCCONF += --arch=x86
50 POSTPROCCONF += --arch=$(ARCH) --target-os=darwin
53 POSTPROCCONF += --cpu=core2
57 POSTPROCCONF += --as="$(AS)"
63 POSTPROCCONF += --target-os=linux --enable-pic
68 POSTPROCCONF += --target-os=mingw32
70 POSTPROCCONF += --cpu=athlon64 --arch=x86_64
72 POSTPROCCONF+= --cpu=i686 --arch=x86
75 POSTPROCCONF += --enable-pthreads
79 POSTPROCCONF += --target-os=mingw32ce --arch=armv4l --cpu=armv4t
87 ifeq ($(call need_pkg,"libpostproc"),)
88 PKGS_FOUND += postproc
91 $(TARBALLS)/postproc-git.tar.gz:
92 $(call download,$(POSTPROC_SNAPURL))
94 POSTPROC_VERSION := git
96 .sum-postproc: $(TARBALLS)/postproc-$(POSTPROC_VERSION).tar.gz
97 $(warning Not implemented.)
100 postproc: postproc-$(POSTPROC_VERSION).tar.gz .sum-postproc
103 $(ZCAT) "$<" | (cd $@-git && tar xv --strip-components=1)
107 cd $< && $(HOSTVARS) ./configure \
108 --extra-cflags="$(EXTRA_CFLAGS)" \
109 --extra-ldflags="$(LDFLAGS)" $(POSTPROCCONF) \
110 --prefix="$(PREFIX)" --enable-static --disable-shared
111 cd $< && $(MAKE) install-libs install-headers