Commit 12500c3d authored by smorlat's avatar smorlat
Browse files

update scripts.

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@584 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
parent 4b320bbe
No related merge requests found
Showing with 91 additions and 5 deletions
...@@ -9,8 +9,8 @@ else ...@@ -9,8 +9,8 @@ else
ORTP_DIR = oRTP ORTP_DIR = oRTP
endif endif
SUBDIRS = m4 pixmaps po ipkg $(ORTP_DIR) mediastreamer2\ SUBDIRS = m4 pixmaps po $(ORTP_DIR) mediastreamer2\
coreapi console gtk-glade share coreapi console gtk-glade share scripts
......
...@@ -366,8 +366,6 @@ Makefile ...@@ -366,8 +366,6 @@ Makefile
m4/Makefile m4/Makefile
po/Makefile.in po/Makefile.in
pixmaps/Makefile pixmaps/Makefile
ipkg/Makefile
ipkg/linphone.control
coreapi/Makefile coreapi/Makefile
gtk-glade/Makefile gtk-glade/Makefile
console/Makefile console/Makefile
...@@ -378,6 +376,7 @@ share/it/Makefile ...@@ -378,6 +376,7 @@ share/it/Makefile
share/ja/Makefile share/ja/Makefile
share/cs/Makefile share/cs/Makefile
share/linphone.pc share/linphone.pc
scripts/Makefile
linphone.spec linphone.spec
linphone.iss linphone.iss
]) ])
......
...@@ -18,7 +18,7 @@ ShowLanguageDialog=yes ...@@ -18,7 +18,7 @@ ShowLanguageDialog=yes
Name: "english"; MessagesFile: "compiler:Default.isl" Name: "english"; MessagesFile: "compiler:Default.isl"
Name: "italian"; MessagesFile: "compiler:Languages\Italian.isl"; Name: "italian"; MessagesFile: "compiler:Languages\Italian.isl";
Name: "french"; MessagesFile: "compiler:Languages\French.isl" Name: "french"; MessagesFile: "compiler:Languages\French.isl"
Name; "czech"; MessagesFile: "compiler:Languages\czech.isl" Name: "czech"; MessagesFile: "compiler:Languages\czech.isl"
[Tasks] [Tasks]
......
EXTRA_DIST=builder-mingw.mk
prefix=/opt/linphone
MSX264_SRC_DIR=$(LINPHONE_SRC_DIR)/mediastreamer2/plugins/msx264
LOCALDIR=$(shell pwd)
WORKDIR=$(LOCALDIR)/build
LINPHONE_ZIP=$(WORKDIR)/linphone.zip
MSX264_ZIP=$(WORKDIR)/msx264.zip
INSTALL_ROOT=$(WORKDIR)/root
FILELIST=$(WORKDIR)/linphone-bundle.filelist
LINPHONE_VERSION=strings $(INSTALL_ROOT)/bin/linphone-3.exe |grep linphone_ident | sed 's/linphone_ident_string=//'
$(WORKDIR):
mkdir -p $(WORKDIR)
$(INSTALL_ROOT): $(WORKDIR)
mkdir -p $(INSTALL_ROOT)
#path to Inno Setup 5 compiler
ISCC=/c/Program\ Files/Inno\ Setup\ 5/ISCC.exe
$(LINPHONE_SRC_DIR)/configure:
cd $(LINPHONE_SRC_DIR) && ./autogen.sh
$(LINPHONE_SRC_DIR)/Makefile: $(LINPHONE_SRC_DIR)/configure
cd $(LINPHONE_SRC_DIR) && \
./configure --prefix=$(prefix) --enable-shared --disable-static
build-linphone: $(LINPHONE_SRC_DIR)/Makefile
cd $(LINPHONE_SRC_DIR) && make && make install
$(LINPHONE_ZIP): build-linphone
cd $(LINPHONE_SRC_DIR) && make zip ZIPFILE=$(LINPHONE_ZIP)
install-linphone: $(LINPHONE_ZIP) $(INSTALL_ROOT)
cd $(INSTALL_ROOT) && unzip -o $(LINPHONE_ZIP)
clean-linphone:
- cd $(LINPHONE_SRC_DIR) && make clean
veryclean-linphone:
- cd $(LINPHONE_SRC_DIR) && make distclean
- cd $(LINPHONE_SRC_DIR) && rm configure
##### msx264 rules
$(MSX264_SRC_DIR)/configure:
cd $(MSX264_SRC_DIR) && ./autogen.sh
$(MSX264_SRC_DIR)/Makefile: $(MSX264_SRC_DIR)/configure
cd $(MSX264_SRC_DIR) && \
PKG_CONFIG_PATH=$(prefix)/lib/pkgconfig ./configure --prefix=$(prefix) --enable-shared --disable-static --enable-hacked-x264
build-msx264: build-linphone $(MSX264_SRC_DIR)/Makefile
cd $(MSX264_SRC_DIR) && PKG_CONFIG_PATH=$(prefix)/lib/pkgconfig make
$(MSX264_ZIP): build-msx264
cd $(MSX264_SRC_DIR) && make zip ZIPFILE=$(MSX264_ZIP)
install-msx264: $(MSX264_ZIP) $(INSTALL_ROOT)
cd $(INSTALL_ROOT) && unzip -o $(MSX264_ZIP)
clean-msx264:
- cd $(MSX264_SRC_DIR) && make clean
veryclean-msx264:
- cd $(MSX264_SRC_DIR) && make distclean
- cd $(MSX264_SRC_DIR) && rm configure
$(FILELIST):
cd $(INSTALL_ROOT) && \
rm -f $(FILELIST) && \
for file in `find` ; do \
if ! test -d $$file ; then \
echo "Source: $$file; Destdir: {app}\\`dirname $$file`; Flags: ignoreversion" \
>> $(FILELIST) ;\
fi \
done
clean-install:
rm -rf $(INSTALL_ROOT)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment