From acf4697a5f17d460295b5eff3a2b119a35ea46d2 Mon Sep 17 00:00:00 2001 From: Domen Kozar Date: Tue, 12 Mar 2013 01:35:16 +0100 Subject: [PATCH] upgrade xbmc to 12.0 --- pkgs/applications/video/xbmc/default.nix | 8 ++++---- pkgs/development/libraries/tinyxml/2.6.2.nix | 6 +++++- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/video/xbmc/default.nix b/pkgs/applications/video/xbmc/default.nix index 66c0938eeaba..0588f580cc25 100644 --- a/pkgs/applications/video/xbmc/default.nix +++ b/pkgs/applications/video/xbmc/default.nix @@ -2,7 +2,7 @@ , pkgconfig, cmake, gnumake, yasm, python , boost , gettext, pcre, yajl, fribidi -, openssl, gperf +, openssl, gperf, tinyxml2, taglib, libssh, swig, jre , libX11, xproto, inputproto , libXt, libXmu, libXext, xextproto , libXinerama, libXrandr, randrproto @@ -30,11 +30,11 @@ assert sambaSupport -> samba != null; assert vdpauSupport -> libvdpau != null && ffmpeg.vdpauSupport; stdenv.mkDerivation rec { - name = "xbmc-11.0"; + name = "xbmc-12.0"; src = fetchurl { url = "http://mirrors.xbmc.org/releases/source/${name}.tar.gz"; - sha256 = "1fe5d310c16138f26e2b13bc545604e95f48ace6c8636f23e77da402cd7b0b19"; + sha256 = "0vy1a38gfbp9vhbjvwqm11sd76gl3s9q0h7gwpsks85m2k88q0ak"; }; buildInputs = [ @@ -42,7 +42,7 @@ stdenv.mkDerivation rec { pkgconfig cmake gnumake yasm python boost gettext pcre yajl fribidi - openssl gperf + openssl gperf tinyxml2 taglib libssh swig jre libX11 xproto inputproto libXt libXmu libXext xextproto libXinerama libXrandr randrproto diff --git a/pkgs/development/libraries/tinyxml/2.6.2.nix b/pkgs/development/libraries/tinyxml/2.6.2.nix index 8770859817ca..fb2ff0b84f05 100644 --- a/pkgs/development/libraries/tinyxml/2.6.2.nix +++ b/pkgs/development/libraries/tinyxml/2.6.2.nix @@ -20,8 +20,12 @@ in stdenv.mkDerivation { buildInputs = [ unzip ]; buildPhase = '' + # use STL (xbmc requires it) + sed '1i#define TIXML_USE_STL 1' -i tinyxml.h + sed '1i#define TIXML_USE_STL 1' -i xmltest.cpp + # build xmltest - make + make # build the lib as a shared library g++ -Wall -O2 -shared -fpic tinyxml.cpp \