[ekiga/gnome-2-26] [windows] Build also celt library
- From: Eugen Dedu <ededu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga/gnome-2-26] [windows] Build also celt library
- Date: Fri, 16 Apr 2010 21:17:59 +0000 (UTC)
commit 631cf74fd3a41ac6e2df7ed83e7739db107bf734
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date: Fri Apr 16 22:36:13 2010 +0200
[windows] Build also celt library
win32/Makefile | 24 +++++++++++++++++++++++-
1 files changed, 23 insertions(+), 1 deletions(-)
---
diff --git a/win32/Makefile b/win32/Makefile
index a0cf46d..670d0bf 100644
--- a/win32/Makefile
+++ b/win32/Makefile
@@ -202,6 +202,12 @@ X264_URL := git://git.videolan.org/x264.git
X264_DIR := $(BUILDROOT)/x264
X264_ARCHIVE := x264
+# note that every celt release might break API
+CELT_VER := 0.6.1
+CELT_URL := http://downloads.us.xiph.org/releases/celt
+CELT_DIR := $(BUILDROOT)/celt-$(CELT_VER)
+CELT_ARCHIVE := celt-$(CELT_VER).tar.gz
+
THEORA_VER := 1.1.1
THEORA_URL := http://downloads.xiph.org/releases/theora
THEORA_DIR := $(BUILDROOT)/libtheora-$(THEORA_VER)
@@ -253,6 +259,8 @@ confffmpeg := --cross-prefix=i586-mingw32msvc- --enable-shared --enable-memalign
confx264 := --disable-avis-input --prefix=$(BUILDROOT) --host=$(DEB_HOST_GNU_TYPE)
+confcelt := $(confflags) --disable-oggtest
+
conftheora := --host=$(DEB_HOST_GNU_TYPE) --prefix=$(BUILDROOT) --disable-vorbistest --disable-sdltest --disable-examples
all: binaries $(TARGETDIR)/$(EKIGA_INSTALLER)
@@ -474,6 +482,20 @@ $(LIBDIR)/libx264.a: $(X264_DIR)/config.status
$(MAKE) -C $(X264_DIR) install
touch $@
+### celt
+update-sources::
+ echo --- Getting CELT ...
+ $(WGET) -P $(SRCDIR) $(CELT_URL)/$(CELT_ARCHIVE)
+
+$(CELT_DIR)/config.status: $(SRCDIR)/$(CELT_ARCHIVE) $(LIBDIR)/libogg.a
+ rm -rf $(CELT_DIR) $(INCLUDEDIR)/celt
+ tar xfz $(SRCDIR)/$(CELT_ARCHIVE) -C $(BUILDROOT)
+ cd $(CELT_DIR); ./configure $(confcelt)
+
+$(LIBDIR)/libcelt.a: $(CELT_DIR)/config.status
+ $(MAKE) $(MAKE_LIB_OPTS) -C $(CELT_DIR)
+ $(MAKE) -C $(CELT_DIR) install
+
### theora
update-sources::
@echo --- Getting theora ...
@@ -500,7 +522,7 @@ else
$(SVN) co $(OPAL_URL) $(SRCDIR)/$(OPAL_ARCHIVE) -r $(OPAL_REV)
endif
-$(OPAL_DIR)/configure: binaries $(LIBDIR)/libogg.a $(LIBDIR)/libspeex.a $(LIBDIR)/$(PTLIB_LIB) $(SRCDIR)/$(OPAL_ARCHIVE) $(BINDIR)/avcodec.dll $(LIBDIR)/libx264.a $(LIBDIR)/libtheora.a
+$(OPAL_DIR)/configure: binaries $(LIBDIR)/libogg.a $(LIBDIR)/libspeex.a $(LIBDIR)/$(PTLIB_LIB) $(SRCDIR)/$(OPAL_ARCHIVE) $(BINDIR)/avcodec.dll $(LIBDIR)/libx264.a $(LIBDIR)/libcelt.a $(LIBDIR)/libtheora.a
rm -rf $(OPAL_DIR) $(LIBDIR)/$(OPAL_LIB) $(INCLUDEDIR)/opal
ifeq ($(RELEASE),1)
tar xfz $(SRCDIR)/$(OPAL_ARCHIVE) -C $(BUILDROOT)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]