source: smplayer/trunk/Install.txt@ 189

Last change on this file since 189 was 188, checked in by Silvan Scherrer, 8 years ago

SMPlayer: update trunk to version 17.1.0

File size: 1.5 KB
Line 
1This document explains how to compile and install SMPlayer.
2
3Compiling SMPlayer should be easy. It only depends on Qt 4.
4
5
61) How to make a deb package
72) How to make a rpm package
83) Generic compilation
94) Changing installation path
105) How to compile in Windows
11
12
131) How to make a deb package
14----------------------------
15Be sure you have installed the following packages: libqt4-dev, zlib1g-dev,
16fakeroot, build-essential, devscripts, debhelper and g++.
17
18sudo apt-get install libqt4-dev zlib1g-dev fakeroot build-essential devscripts debhelper g++
19
20(Packages to compile with Qt5: qtbase5-dev qt5-qmake qt5-default qtscript5-dev
21qttools5-dev-tools qtbase5-private-dev libqt5webkit5-dev)
22
23Now run ./create_deb.sh
24
25
262) How to make a rpm package
27----------------------------
28Building a rpm package is not easy. Better get a binary package from
29this repository:
30https://software.opensuse.org/download.html?project=home%3Asmplayerdev&package=smplayer
31
32
333) Generic compilation
34----------------------
35(obsolete)
36
37
384) Changing installation path
39-----------------------------
40By default smplayer will be installed in /usr/local. You can change it by
41using PREFIX and DESTDIR.
42
43Examples:
44make PREFIX=/usr
45make PREFIX=/usr install
46
47That would install smplayer under /usr.
48
49DESTDIR will be useful for package maintainers.
50
51make PREFIX=/usr
52make PREFIX=/usr DESTDIR=/tmp/ install
53
54That would compile smplayer for /usr but in fact it will be installed in
55/tmp/usr/
56
57
585) How to compile in Windows
59----------------------------
60(obsolete)
Note: See TracBrowser for help on using the repository browser.