~ubuntu-branches/ubuntu/lucid/smplayer/lucid

« back to all changes in this revision

Viewing changes to setup/install_smplayer.bat

  • Committer: Bazaar Package Importer
  • Author(s): Matvey Kozhev
  • Date: 2008-01-31 13:44:53 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20080131134453-nc4dwsn5pkiw5s9h
Tags: 0.6.0~rc1-1
* New upstream release.
* debian/control:
  - Build-depend on CDBS.
  - Updated upstream homepage.
* debian/copyright:
  - Updated download address.
* debian/rules:
  - Migrated to CDBS.
  - Tweaked get-orig-source to work with release candidates.
* debian/docs:
  - Removed Translations.txt, upstream removed it from the tarball.
  - Added Release_notes.txt.
* debian/manpages, debian/smplayer.1:
  - Deleted, manpage merged upstream.
* debian/smplayer.install:
  - Install usr/share/man.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
REM This batch file can help you to create a directory with all required files
 
2
REM Just change the variables at the beginning
 
3
 
 
4
REM Warning: it will only work with sources from the SVN and the command svn has to be in the path
 
5
REM Note: it doesn't install mplayer
 
6
 
 
7
set OUTPUT_DIR=smplayer-build
 
8
 
 
9
set SMPLAYER_DIR=svn\smplayer\trunk
 
10
set SMPLAYER_THEMES_DIR=svn\smplayer-themes\trunk
 
11
 
 
12
set QT_DIR=c:\Qt\4.3.2
 
13
set MINGW_DIR=c:\MinGW
 
14
 
 
15
mkdir %OUTPUT_DIR%
 
16
 
 
17
copy %SMPLAYER_DIR%\src\release\smplayer.exe %OUTPUT_DIR%
 
18
copy %SMPLAYER_DIR%\*.txt %OUTPUT_DIR%
 
19
copy %QT_DIR%\bin\QtCore4.dll %OUTPUT_DIR%
 
20
copy %QT_DIR%\bin\QtGui4.dll %OUTPUT_DIR%
 
21
copy %QT_DIR%\bin\QtNetwork4.dll %OUTPUT_DIR%
 
22
copy %MINGW_DIR%\bin\mingwm10.dll %OUTPUT_DIR%
 
23
 
 
24
rem translations
 
25
mkdir %OUTPUT_DIR%\translations
 
26
copy %SMPLAYER_DIR%\src\translations\*.qm %OUTPUT_DIR%\translations
 
27
 
 
28
rem Qt translations
 
29
copy %QT_DIR%\translations\qt_de.qm %OUTPUT_DIR%\translations
 
30
copy %QT_DIR%\translations\qt_es.qm %OUTPUT_DIR%\translations
 
31
copy %QT_DIR%\translations\qt_ru.qm %OUTPUT_DIR%\translations
 
32
copy %QT_DIR%\translations\qt_sk.qm %OUTPUT_DIR%\translations
 
33
copy %QT_DIR%\translations\qt_sv.qm %OUTPUT_DIR%\translations
 
34
copy %QT_DIR%\translations\qt_zh_CN.qm %OUTPUT_DIR%\translations
 
35
 
 
36
rem shortcuts
 
37
mkdir %OUTPUT_DIR%\shortcuts
 
38
copy %SMPLAYER_DIR%\src\shortcuts\*.keys %OUTPUT_DIR%\shortcuts
 
39
 
 
40
rem docs
 
41
svn export --force %SMPLAYER_DIR%\docs %OUTPUT_DIR%\docs
 
42
 
 
43
rem themes
 
44
svn export --force %SMPLAYER_THEMES_DIR%\themes %OUTPUT_DIR%\themes
 
45