Difference between revisions of "MythTV"

From CBLFS
Jump to navigationJump to search
Line 1: Line 1:
OPPIZ IS WORKING ON THIS AND NEEDS TO FINISH WHEN HE GETS HOME FROM WORK
 
 
 
{| style="text-align: left; background-color: AliceBlue;"
 
{| style="text-align: left; background-color: AliceBlue;"
 
|-
 
|-
Line 22: Line 20:
  
 
=== Required ===
 
=== Required ===
*[[MySQL]] Only needed on the server.
+
* [[MySQL]] Only needed on the server.
*[[Qt3]]
+
* [[Qt3]]
*[[LAME]]
+
* [[LAME]]
 
 
 
=== Optional ===
 
=== Optional ===
*[[Lirc]]
+
* [[Lirc]]
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 39: Line 36:
  
 
  make install
 
  make install
cp database/mc.sql /usr/share/mythtv/
 
mysql -u root -p < database/mc.sql
 
  
 
== Multilib ==
 
== Multilib ==
.....This package has no libraries and only needs to be install once.....
+
'''''The libraries that this package installs should be specific to this package, so only one installation is needed.'''''
  
 
=== 32Bit ===
 
=== 32Bit ===
Line 49: Line 44:
 
Configure and compile the package:
 
Configure and compile the package:
  
DOES NOT WORK IN 32 BIT YET
+
  export USE_ARCH=32 QMAKESPEC=linux-g++-32 &&
  export USE_ARCH=32
+
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
  CC="gcc -m32" CXX="g++ -m32" PKG_CONFIG_PATH=/usr/lib/pkgconfig \
+
  ./configure --prefix=/usr --cpu=$(cut -d- -f1 <<< $CLFS_TARGET32)
  ./configure --prefix=/usr
 
qmake mythtv.pro
 
make qmake
 
 
  make
 
  make
  
 
Install the package:
 
Install the package:
  
  make install
+
  make install &&
  cp database/mc.sql /usr/share/mythtv/
+
  unset USE_ARCH QMAKESPEC
mysql -u root -p < database/mc.sql
 
mythtv-setup
 
  
 
=== N32 ===
 
=== N32 ===
Line 72: Line 62:
 
Configure and compile the package:
 
Configure and compile the package:
  
  export USE_ARCH=64
+
  export USE_ARCH=64 QMAKESPEC=linux-g++-64 &&
  CC="gcc -m64" CXX="g++ -m64" PKG_CONFIG_PATH=/usr/lib64/pkgconfig \
+
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
  ./configure --prefix=/usr
+
  ./configure --prefix=/usr --libdir-name=lib64 &&
qmake mythtv.pro
 
make qmake
 
sed -i 's@$(QTDIR)/lib@$(QTDIR)/lib64@g' $(grep -lr '$(QTDIR)/lib' *)
 
 
  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

Revision as of 12:25, 23 December 2006

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 or other things via a Tunner Card

Dependencies

Required

Optional

Non-Multilib

Configure and compile the package:

./configure --prefix=/usr &&
make

Install the package:

make install

Multilib

The libraries that this package installs should be specific to this package, so only one installation is needed.

32Bit

Configure and compile the package:

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:

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
Retrieved from "?title=MythTV&oldid=6171"