commit
fbd3a38540
3 changed files with 17 additions and 19 deletions
|
@ -137,6 +137,7 @@
|
|||
thammers = "Tobias Hammerschmidt <jawr@gmx.de>";
|
||||
the-kenny = "Moritz Ulrich <moritz@tarn-vedra.de>";
|
||||
thoughtpolice = "Austin Seipp <aseipp@pobox.com>";
|
||||
titanous = "Jonathan Rudenberg <jonathan@titanous.com>";
|
||||
tomberek = "Thomas Bereknyei <tomberek@gmail.com>";
|
||||
tstrobel = "Thomas Strobel <ts468@cam.ac.uk>";
|
||||
ttuegel = "Thomas Tuegel <ttuegel@gmail.com>";
|
||||
|
|
|
@ -1,22 +1,32 @@
|
|||
{ stdenv, fetchurl, which, qt4, x11, pulseaudio, fftwSinglePrec
|
||||
, lame, zlib, mesa, alsaLib, freetype, perl, pkgconfig
|
||||
, libX11, libXv, libXrandr, libXvMC, libXinerama, libXxf86vm, libXmu
|
||||
, yasm, libuuid, taglib, libtool, autoconf, automake, file
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mythtv-0.24.2";
|
||||
name = "mythtv-${version}";
|
||||
version = "0.27.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://ftp.osuosl.org/pub/mythtv/${name}.tar.bz2";
|
||||
sha256 = "14mkyf2b26pc9spx6lg15mml0nqyg1r3qnq8m9dz3110h771y2db";
|
||||
url = "https://github.com/MythTV/mythtv/archive/v${version}.tar.gz";
|
||||
sha256 = "0nrn4fbkkzh43n7jgbv21i92sb4z4yacwj9yj6m3hjbffzy4ywqz";
|
||||
};
|
||||
|
||||
sourceRoot = "${name}/mythtv";
|
||||
|
||||
buildInputs = [
|
||||
freetype qt4 lame zlib x11 mesa perl alsaLib pulseaudio fftwSinglePrec
|
||||
libX11 libXv libXrandr libXvMC libXmu libXinerama libXxf86vm libXmu
|
||||
libuuid taglib
|
||||
];
|
||||
nativeBuildInputs = [ pkgconfig which yasm libtool autoconf automake file ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig which ];
|
||||
|
||||
patches = [ ./settings.patch ];
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://www.mythtv.org/";
|
||||
description = "Open Source DVR";
|
||||
license = licenses.gpl2;
|
||||
meta.platforms = platforms.linux;
|
||||
maintainers = [ maintainers.titanous ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
diff --git a/Makefile b/Makefile
|
||||
index 05db819..383036d 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -53,7 +53,7 @@ i18n/Makefile: i18n/i18n.pro
|
||||
locales/Makefile: locales/locales.pro
|
||||
|
||||
$(addsuffix /Makefile,$(QT_SUBDIRS)): %/Makefile :
|
||||
- cd $*; $(QMAKE) QMAKE=$(QMAKE) -o $(@F) $(<F)
|
||||
+ cd $*; $(QMAKE) QMAKE=$(QMAKE) PREFIX=${PREFIX} -o $(@F) $(<F)
|
||||
|
||||
$(SUBDIRS): $(addsuffix /Makefile,$(SUBDIRS)) version.cpp
|
||||
$(MAKE) -C $@
|
Loading…
Reference in a new issue