[vlc-devel] commit: Contribs: Bump cmake version to 2.6. 4 to enable build of libprojectM. (Pavlov Konstantin )
git version control
git at videolan.org
Thu Sep 10 14:29:59 CEST 2009
vlc | branch: master | Pavlov Konstantin <thresh at videolan.org> | Fri Aug 21 01:03:57 2009 +0400| [dd41fa1372d9ad9f8c6d23eeb531f688df903c4a] | committer: Pavlov Konstantin
Contribs: Bump cmake version to 2.6.4 to enable build of libprojectM.
Contribs: build libprojectM trunk (fails for OSX for now).
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dd41fa1372d9ad9f8c6d23eeb531f688df903c4a
---
extras/contrib/src/Makefile | 21 +++++++++++++++++++++
extras/contrib/src/packages.mak | 5 ++++-
2 files changed, 25 insertions(+), 1 deletions(-)
diff --git a/extras/contrib/src/Makefile b/extras/contrib/src/Makefile
index 980ceb5..b768838 100644
--- a/extras/contrib/src/Makefile
+++ b/extras/contrib/src/Makefile
@@ -2500,6 +2500,27 @@ CLEAN_FILE += .gsm
CLEAN_PKG += gsm
DISTCLEAN_PKG += gsm-$(GSM_VERSION).tar.gz
+# *********
+# projectM
+# *********
+ifdef SVN
+libprojectM:
+ $(SVN) co $(LIBPROJECTM_SVN) libprojectM
+else
+libprojectM-$(LIBPROJECTM_VERSION).tar.bz2:
+ $(WGET) $(LIBPROJECTM_URL)
+
+libprojectM: libprojectM-$(LIBPROJECTM_VERSION).tar.bz2
+ $(EXTRACT_BZ2)
+endif
+
+.libprojectM: libprojectM
+ (cd $</src; $(HOSTCC) CPPFLAGS="$(CPPFLAGS) cmake . -DUSE_FBO:STRING=FALSE -DUSE_FBO:BOOL=OFF -DINCLUDE-PROJECTM-LIBVISUAL:BOOL=OFF -DINCLUDE-PROJECTM-PULSEAUDIO:BOOL=OFF -DINCLUDE-PROJECTM-QT:BOOL=OFF && make install)
+ touch $@
+
+CLEAN_FILE += .libprojectM
+CLEAN_PKG += libprojectM
+DISTCLEAN_PKG += libprojectM-$(LIBPROJECTM_VERSION).tar.bz2
# ***************************************************************************
# X11 C Bindings
diff --git a/extras/contrib/src/packages.mak b/extras/contrib/src/packages.mak
index 1a19ad3..c39cf7d 100644
--- a/extras/contrib/src/packages.mak
+++ b/extras/contrib/src/packages.mak
@@ -36,7 +36,7 @@ AUTOCONF_VERSION=2.63
AUTOCONF_URL=$(GNU)/autoconf/autoconf-$(AUTOCONF_VERSION).tar.bz2
GNUMAKE_VERSION=3.81
GNUMAKE_URL=$(GNU)/make/make-$(GNUMAKE_VERSION).tar.bz2
-CMAKE_VERSION=2.6.0
+CMAKE_VERSION=2.6.4
CMAKE_URL=http://www.cmake.org/files/v2.6/cmake-$(CMAKE_VERSION).tar.gz
LIBTOOL_VERSION=1.5.26
LIBTOOL_URL=$(GNU)/libtool/libtool-$(LIBTOOL_VERSION).tar.gz
@@ -235,3 +235,6 @@ XCB_VERSION=1.2
XCB_URL=http://xcb.freedesktop.org/dist/
XCB_UTIL_VERSION=0.2
XCB_UTIL_URL=$(XCB_URL)
+LIBPROJECTM_VERSION=1.2.0
+LIBPROJECTM_URL=$(SF)/projectm/libprojectM/libprojectM-$(LIBPROJECTM_VERSION)/libprojectM-$(LIBPROJECTM_VERSION).tar.bz2
+LIBPROJECTM_SVN=https://projectm.svn.sourceforge.net/svnroot/projectm/trunk
More information about the vlc-devel
mailing list