mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
* MythTV now installs properly, but it doesn't work yet since Qt has
to be built with MySql client support. svn path=/nixpkgs/trunk/; revision=2078
This commit is contained in:
parent
777c4ea1d7
commit
34326de3c2
@ -2,10 +2,14 @@
|
||||
|
||||
export QTDIR=$qt3
|
||||
|
||||
|
||||
buildPhase=myBuilder
|
||||
myBuilder() {
|
||||
qmake mythtv.pro || fail
|
||||
make || fail
|
||||
}
|
||||
|
||||
genericBuild
|
||||
|
||||
genericBuild
|
||||
|
||||
exit 1
|
@ -9,6 +9,8 @@ stdenv.mkDerivation {
|
||||
md5 = "0eba17cf64c96ea3ead23e7e15419cc0";
|
||||
};
|
||||
|
||||
patches = [./settings.patch];
|
||||
|
||||
buildInputs = [which qt3 x11 libXinerama libXv libXxf86vm lame];
|
||||
inherit qt3;
|
||||
}
|
||||
|
47
pkgs/applications/video/mythtv/settings.patch
Normal file
47
pkgs/applications/video/mythtv/settings.patch
Normal file
@ -0,0 +1,47 @@
|
||||
diff -rc mythtv-0.16/settings.pro mythtv-new/settings.pro
|
||||
*** mythtv-0.16/settings.pro 2004-09-07 23:20:16.000000000 +0200
|
||||
--- mythtv-new/settings.pro 2005-01-20 22:28:45.219407664 +0100
|
||||
***************
|
||||
*** 1,12 ****
|
||||
#CONFIG += debug
|
||||
CONFIG += release
|
||||
|
||||
! PREFIX = /usr/local
|
||||
|
||||
LIBVERSION = 0.16
|
||||
|
||||
INCLUDEPATH += $${PREFIX}/include
|
||||
! INCLUDEPATH *= /usr/local/include
|
||||
|
||||
DEFINES += _GNU_SOURCE
|
||||
DEFINES += _FILE_OFFSET_BITS=64
|
||||
--- 1,12 ----
|
||||
#CONFIG += debug
|
||||
CONFIG += release
|
||||
|
||||
! PREFIX = $$(out)
|
||||
|
||||
LIBVERSION = 0.16
|
||||
|
||||
INCLUDEPATH += $${PREFIX}/include
|
||||
! #INCLUDEPATH *= /usr/local/include
|
||||
|
||||
DEFINES += _GNU_SOURCE
|
||||
DEFINES += _FILE_OFFSET_BITS=64
|
||||
***************
|
||||
*** 39,45 ****
|
||||
|
||||
# Default Xv support
|
||||
CONFIG += using_xv
|
||||
! EXTRA_LIBS += -L/usr/X11R6/lib -lXinerama -lXv -lX11 -lXext -lXxf86vm
|
||||
|
||||
# IVTV (PVR-x50) support. Disable if building on Windows.
|
||||
CONFIG += using_ivtv
|
||||
--- 39,45 ----
|
||||
|
||||
# Default Xv support
|
||||
CONFIG += using_xv
|
||||
! EXTRA_LIBS += -lXinerama -lXv -lX11 -lXext -lXxf86vm
|
||||
|
||||
# IVTV (PVR-x50) support. Disable if building on Windows.
|
||||
CONFIG += using_ivtv
|
Loading…
Reference in New Issue
Block a user