forked from andoma/movian
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
129 lines (84 loc) · 3.36 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
Showtime mediaplayer
====================
(c) 2006 - 2009 Andreas Öman, et al.
Settings are stored in ~/.hts/showtime
For more information and latest versions, please visit:
https://www.lonelycoder.com/hts/
How to build for Linux
======================
First you need to configure:
$ ./configure
If any dependencies are missing the configure script will complain.
You then have the option to disable that particular module/subsystem.
$ make
Build the binary, after build the binary resides in 'build.linux/'.
Thus, to start it, just type:
$ build.linux/showtime
How to build for Mac OS X
=========================
Install Xcode (https://developer.apple.com/Tools/) which includes Xcode IDE,
gcc toolchain and much more. iPhone SDK also includes Xcode and toolchain.
Install MacPorts (https://www.macports.org)
Install pkg-config using MacPorts
$ sudo port install pkgconfig
Now there are two possible ways to get a build environment, the MacPorts way
or the custome build scripts way. If you dont plan to build for different
architectures or SDKs as you are current running, or dont plan to compile with
fancy extensions, i would recommend the MacPorts way.
If you choose the custome script way, please continue to read osx/README
MacPorts way:
Install freetype using MacPorts:
$ sudo /opt/local/bin/port install freetype
Now run configure
$ ./configure
Or if you build for release
$ ./configure --release
If configured successfully
$ make
Run showtime binary from build directory
$ build.osx/Showtime.app/Contents/MacOS/showtime
Run showtime application from build directory
$ open build.osx/Showtime.app
Optionally you can build Showtime.dmg disk image. Note that you should probably
run configure with --release to embed theme files or else the binary will
include paths your local build tree.
$ make Showtime.dmg
For more information read osx/README
TODO: universal binary, cant be done i one step as ffmpeg does not
build when using multiple arch arguments to gcc
How to build for Nintendo Wii
=============================
For a Wii build you need:
- devkitPro:
devkitPPC r21
libogc 1.8.3
libfat-ogc 1.0.5
- freetype cross-compiled for PPC.
For your convenience there is a script that will download/build all
you need. To run it just type:
$ support/wiisetup
Do this directly from the showtime root directory. This will download,
unpack, build and install all that's needed into a wiisupport/
directory. By default configure.wii will look into these directories
for devkitPro and freetype, so all you have to do now is:
$ ./configure.wii
$ make
If you have devkitpro and/or freetype someplace else, you can set
the path to them in configure.wii (see ./configure.wii --help for details)
Note: libogc defaults to maximum of 16 threads.
This is on the edge for showtime. Therefore, the wiisetup script will
install a new version of lwp_config.h (see support/lwp_config.h) before
compiling libogc. If you intend to use a stock libogc you need to be aware
of this fact.
Wiiload
=======
If you have wiiload (https://wiibrew.org/wiki/Wiiload) installed and
homebrew channel is running on your wii, you can just type:
$ make run
To start showtime on your wii.
Homebrew package
================
The makefile system can build a homebrew package. To do this, type:
$ make homebrew
The output will reside in "build.wii/bundle/". Both an app directory
and a zip file is generated.