newdate:
cd gtk && $(MAKE) newdate
+if HAVE_MD5SUM
+GEN_MD5=$(shell $(MD5SUM) linphone-$(VERSION).tar.gz | awk {'print $$4'})
+else
+GEN_MD5=$(shell $(MD5SUM) linphone-$(VERSION).tar.gz | awk {'print $$1'})
+endif
Portfile: $(top_srcdir)/scripts/Portfile.tmpl dist
sed -e 's/\@VERSION\@/$(LINPHONE_VERSION)/g' \
- -e 's/\@LINPHONE_MD5\@/$(shell md5sum linphone-$(VERSION).tar.gz | awk {'print $$1'})/' < $< > $@
+ -e 's/\@LINPHONE_MD5\@/$(GEN_MD5)/' < $< > $@
Portfile-devel: $(top_srcdir)/scripts/Portfile-devel.tmpl dist
sed -e 's/\@VERSION\@/$(LINPHONE_VERSION)/g' \
- -e 's/\@LINPHONE_MD5\@/$(shell md5sum linphone-$(VERSION).tar.gz | awk {'print $$1'})/' < $< > $@
+ -e 's/\@LINPHONE_MD5\@/$(GEN_MD5)/' < $< > $@
bundle:
rm -rf $(INSTALLDIR)
$ port install osip2
$ port install eXosip2
$ port install ffmpeg-devel
+
+- Install SDL (for video display)
+Unfortunately the current (august 2011) version of sdl in macports crashes all the time. Fortunately these bugs are fixed in the development branch of SDL.
+So we recommend to download SDL 1.3 with mercurial (hg) and compile it by yourself, like this:
+First, make sure you have mercurial:
+ $ sudo port install mercurial
+Fetch SDL:
+ $ hg clone http://hg.libsdl.org/SDL
+Compile:
+ $ cd SDL
+ $ ./autogen.sh
+ $ ./configure --disable-video-dummy --disable-video-x11 && make -j4
+ $ sudo make install
+
+When this version will be integrated into macports, only this will be necessary:
$ port install sdl-devel
- Install gtk. It is recommended to use the quartz backend for better integration.
Then or otherwise, do:
- $ ./configure --prefix=/opt/local --with-readline=/opt/local --disable-strict --disable-x11 && make
+ $ PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure --prefix=/opt/local --with-readline=/opt/local --disable-strict --disable-x11 && make
Install to /opt/local
dnl Process this file with autoconf to produce a configure script.
-AC_INIT([linphone],[3.4.3],[linphone-developers@nongnu.org])
+AC_INIT([linphone],[3.4.99.1],[linphone-developers@nongnu.org])
AC_CANONICAL_SYSTEM
AC_CONFIG_SRCDIR([coreapi/linphonecore.c])
AM_PROG_CC_STDC
AC_HEADER_STDC
AM_PROG_CC_C_O
+AC_CHECK_PROGS(MD5SUM,[md5sum md5])
+AM_CONDITIONAL(HAVE_MD5SUM,test -n $MD5SUM)
case $target_os in
*mingw32ce)
-Subproject commit 45f2ab75d5261b309c62957b78e11cac15728b3c
+Subproject commit 340acff0001e92d1f126b484d100e1c1d0746b34
checksums md5 @LINPHONE_MD5@
-depends_lib port:libglade2 \
+depends_lib port:ffmpeg \
+ port:readline \
port:speex-devel \
- port:libeXosip2
+ port:libeXosip2 \
+ port:libsdl-devel \
+ port:gtk2 \
+ port:ige-mac-integration
+
+configure.args-append --disable-x11 --with-readline=/opt/local --disable-strict
+
-configure.args-append --disable-video --with-readline=none