mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
mythtv: 0.24.2 -> 0.27.4
This commit is contained in:
parent
dc599494c1
commit
e169f3365d
2 changed files with 16 additions and 19 deletions
|
@ -1,22 +1,32 @@
|
||||||
{ stdenv, fetchurl, which, qt4, x11, pulseaudio, fftwSinglePrec
|
{ stdenv, fetchurl, which, qt4, x11, pulseaudio, fftwSinglePrec
|
||||||
, lame, zlib, mesa, alsaLib, freetype, perl, pkgconfig
|
, lame, zlib, mesa, alsaLib, freetype, perl, pkgconfig
|
||||||
, libX11, libXv, libXrandr, libXvMC, libXinerama, libXxf86vm, libXmu
|
, libX11, libXv, libXrandr, libXvMC, libXinerama, libXxf86vm, libXmu
|
||||||
|
, yasm, libuuid, taglib, libtool, autoconf, automake, file
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "mythtv-0.24.2";
|
name = "mythtv-${version}";
|
||||||
|
version = "0.27.4";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://ftp.osuosl.org/pub/mythtv/${name}.tar.bz2";
|
url = "https://github.com/MythTV/mythtv/archive/v${version}.tar.gz";
|
||||||
sha256 = "14mkyf2b26pc9spx6lg15mml0nqyg1r3qnq8m9dz3110h771y2db";
|
sha256 = "0nrn4fbkkzh43n7jgbv21i92sb4z4yacwj9yj6m3hjbffzy4ywqz";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
sourceRoot = "${name}/mythtv";
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
freetype qt4 lame zlib x11 mesa perl alsaLib pulseaudio fftwSinglePrec
|
freetype qt4 lame zlib x11 mesa perl alsaLib pulseaudio fftwSinglePrec
|
||||||
libX11 libXv libXrandr libXvMC libXmu libXinerama libXxf86vm libXmu
|
libX11 libXv libXrandr libXvMC libXmu libXinerama libXxf86vm libXmu
|
||||||
|
libuuid taglib
|
||||||
];
|
];
|
||||||
|
nativeBuildInputs = [ pkgconfig which yasm libtool autoconf automake file ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig which ];
|
meta = with stdenv.lib; {
|
||||||
|
homepage = "https://www.mythtv.org/";
|
||||||
patches = [ ./settings.patch ];
|
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