3 PLACEBO_VERSION
:= 0.1.2
4 PLACEBO_URL
:= https
://github.com
/haasn
/libplacebo
/archive
/v
$(PLACEBO_VERSION
).
tar.gz
5 PLACEBO_ARCHIVE
= libplacebo-
$(PLACEBO_VERSION
).
tar.gz
8 LIBPLACEBO_WIN32
= HAVE_WIN32
=1
12 ifeq ($(call need_pkg
,"libplacebo"),)
13 PKGS_FOUND
+= libplacebo
16 PLACEBOCONF
:= --prefix="$(PREFIX)" \
18 --default-library static
20 $(TARBALLS
)/$(PLACEBO_ARCHIVE
):
21 $(call download_pkg
,$(PLACEBO_URL
),libplacebo
)
23 .sum-libplacebo
: $(PLACEBO_ARCHIVE
)
25 libplacebo
: $(PLACEBO_ARCHIVE
) .sum-libplacebo
27 $(APPLY
) $(SRC
)/libplacebo
/0001-build-use-a-Makefile.patch
29 $(APPLY
) $(SRC
)/libplacebo
/0002-build-fix-win32-build.patch
33 .libplacebo
: libplacebo
34 cd
$< && rm -rf .
/build
35 # we don't want to depend on meson/ninja for VLC 3.0
36 #cd $< && $(HOSTVARS) meson $(PLACEBOCONF) build
37 #cd $< && cd build && ninja install
38 cd
$< && $(HOSTVARS_PIC
) PREFIX
=$(PREFIX
) $(LIBPLACEBO_WIN32
) make
install