MythTV: Difference between revisions
From CBLFS
Jump to navigationJump to search
No edit summary |
Weibullguy (talk | contribs) mNo edit summary |
||
| (20 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
{| style="text-align: left; background-color: AliceBlue;" | {| style="text-align: left; background-color: AliceBlue;" | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
| http://ftp.osuosl.org/ | | http://ftp.osuosl.org/pub/mythtv/mythtv-{{MythTV-Version}}.tar.bz2 | ||
|- | |- | ||
!Download Plugin Source: | !Download Plugin Source: | ||
| http://ftp.osuosl.org/ | | http://ftp.osuosl.org/pub/mythtv/mythplugins-{{MythTV-Version}}.tar.bz2 | ||
|- | |- | ||
!Download Themes Source: | !Download Themes Source: | ||
| http://ftp.osuosl.org/ | | http://ftp.osuosl.org/pub/mythtv/myththemes-{{MythTV-Version}}.tar.bz2 | ||
|} | |} | ||
---- | ---- | ||
{{Package-Introduction|MythTV is a server/client for watching and recording TV via a Tuner Card. It also has support for various audio and video formats.|http://www.mythtv.org}} | |||
== Dependencies == | == Dependencies == | ||
Required | === Required === | ||
*[[ | * [[MySQL]] Only needed on the server. | ||
*[[ | * [[Qt3]] | ||
*[[ | * [[LAME]] | ||
Optional | === Optional === | ||
*[[Lirc]] | * [[Lirc]] | ||
* [[ALSA]] | |||
* [[aRts]] | |||
* [[JACK]] | |||
* [[FFTW]] | |||
== Non-Multilib == | == Non-Multilib == | ||
{{Note|Make sure the QTDIR enviornment variable is set to the prefix where you installed [[Qt3]].}} | |||
Configure and compile the package: | Configure and compile the package: | ||
sed -i "/^.include/s:../:&../:" libs/libmythtv/mpeg/pespacket.cpp && | |||
./configure --prefix=/usr && | ./configure --prefix=/usr && | ||
make | make | ||
| Line 35: | Line 42: | ||
make install | make install | ||
== Multilib == | == Multilib == | ||
'''''The libraries this package installs should be specific to this package, so only one installation is needed.''''' | |||
=== 32Bit === | === 32Bit === | ||
| Line 45: | Line 50: | ||
Configure and compile the package: | Configure and compile the package: | ||
sed -i "/^.include/s:../:&../:" libs/libmythtv/mpeg/pespacket.cpp && | |||
export USE_ARCH=32 | export USE_ARCH=32 QMAKESPEC=linux-g++-32 && | ||
CC="gcc | CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \ | ||
./configure --prefix=/usr | ./configure --prefix=/usr --cpu=$(cut -d- -f1 <<< $CLFS_TARGET32) | ||
make | make | ||
Install the package: | Install the package: | ||
make install | make install && | ||
unset USE_ARCH QMAKESPEC | |||
=== N32 === | === N32 === | ||
| Line 68: | Line 69: | ||
Configure and compile the package: | Configure and compile the package: | ||
export USE_ARCH=64 | sed -i "/^.include/s:../:&../:" libs/libmythtv/mpeg/pespacket.cpp && | ||
CC="gcc | export USE_ARCH=64 QMAKESPEC=linux-g++-64 && | ||
./configure --prefix=/usr | CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \ | ||
./configure --prefix=/usr --libdir-name=lib64 && | |||
make | make | ||
Install the package: | Install the package: | ||
make install | make install && | ||
unset USE_ARCH QMAKESPEC | |||
== Configuring == | |||
cp database/mc.sql /usr/share/mythtv/ | cp database/mc.sql /usr/share/mythtv/ | ||
mysql -u root -p < database/mc.sql | mysql -u root -p < database/mc.sql | ||
mythtv-setup | mythtv-setup | ||
[[Category:TV and Radio]] | |||
Latest revision as of 11:42, 8 June 2009
| Download Source: | http://ftp.osuosl.org/pub/mythtv/mythtv-0.21.tar.bz2 |
|---|---|
| Download Plugin Source: | http://ftp.osuosl.org/pub/mythtv/mythplugins-0.21.tar.bz2 |
| Download Themes Source: | http://ftp.osuosl.org/pub/mythtv/myththemes-0.21.tar.bz2 |
Introduction to MythTV
MythTV is a server/client for watching and recording TV via a Tuner Card. It also has support for various audio and video formats.
Project Homepage: http://www.mythtv.org
Dependencies
Required
Optional
Non-Multilib
Make sure the QTDIR enviornment variable is set to the prefix where you installed Qt3.
Configure and compile the package:
sed -i "/^.include/s:../:&../:" libs/libmythtv/mpeg/pespacket.cpp && ./configure --prefix=/usr && make
Install the package:
make install
Multilib
The libraries this package installs should be specific to this package, so only one installation is needed.
32Bit
Configure and compile the package:
sed -i "/^.include/s:../:&../:" libs/libmythtv/mpeg/pespacket.cpp &&
export USE_ARCH=32 QMAKESPEC=linux-g++-32 &&
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=/usr --cpu=$(cut -d- -f1 <<< $CLFS_TARGET32)
make
Install the package:
make install && unset USE_ARCH QMAKESPEC
N32
TO DO!
64Bit
Configure and compile the package:
sed -i "/^.include/s:../:&../:" libs/libmythtv/mpeg/pespacket.cpp &&
export USE_ARCH=64 QMAKESPEC=linux-g++-64 &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure --prefix=/usr --libdir-name=lib64 &&
make
Install the package:
make install && unset USE_ARCH QMAKESPEC
Configuring
cp database/mc.sql /usr/share/mythtv/ mysql -u root -p < database/mc.sql mythtv-setup