2 PROJECTM_VERSION
:= 2.0.1
3 PROJECTM_URL
:= $(SF
)/projectm
/$(PROJECTM_VERSION
)/projectM-
$(PROJECTM_VERSION
)-Source.
tar.gz
7 ifneq ($(ARCH
),aarch64
)
14 ifeq ($(call need_pkg
,"libprojectM"),)
15 PKGS_FOUND
+= projectM
18 $(TARBALLS
)/projectM-
$(PROJECTM_VERSION
)-Source.
tar.gz
:
19 $(call download_pkg
,$(PROJECTM_URL
),projectM
)
21 .sum-projectM
: projectM-
$(PROJECTM_VERSION
)-Source.
tar.gz
23 projectM
: projectM-
$(PROJECTM_VERSION
)-Source.
tar.gz .sum-projectM
26 $(APPLY
) $(SRC
)/projectM
/win64.patch
29 $(APPLY
) $(SRC
)/projectM
/win32.patch
31 $(APPLY
) $(SRC
)/projectM
/gcc6.patch
32 $(APPLY
) $(SRC
)/projectM
/clang6.patch
35 DEPS_projectM
= glew
$(DEPS_glew
)
37 .projectM
: projectM toolchain.cmake
38 -cd
$< && rm CMakeCache.txt
39 cd
$< && $(HOSTVARS
) $(CMAKE
) \
40 -DINCLUDE-PROJECTM-LIBVISUAL
:BOOL
=OFF \
41 -DDISABLE_NATIVE_PRESETS
:BOOL
=ON \
43 -DINCLUDE-PROJECTM-PULSEAUDIO
:BOOL
=OFF \
44 -DINCLUDE-PROJECTM-QT
:BOOL
=OFF \
45 -DBUILD_PROJECTM_STATIC
:BOOL
=ON .
46 cd
$< && $(MAKE
) install
47 -cd
$<; cp Renderer
/libRenderer.a MilkdropPresetFactory
/libMilkdropPresetFactory.a
$(PREFIX
)/lib