Merge pull request #1359 from chongli/submit/xbmc-sqlite3-fix

Fixed wrapper to include a path to sqlite3 python bindings.
This commit is contained in:
Domen Kožar 2013-12-12 08:02:06 -08:00
commit 2e9a1690be

View File

@ -1,5 +1,5 @@
{ stdenv, lib, fetchurl, makeWrapper { stdenv, lib, fetchurl, makeWrapper
, pkgconfig, cmake, gnumake, yasm, python , pkgconfig, cmake, gnumake, yasm, pythonFull
, boost, avahi, libdvdcss, lame , boost, avahi, libdvdcss, lame
, gettext, pcre, yajl, fribidi , gettext, pcre, yajl, fribidi
, openssl, gperf, tinyxml2, taglib, libssh, swig, jre , openssl, gperf, tinyxml2, taglib, libssh, swig, jre
@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
buildInputs = [ buildInputs = [
makeWrapper makeWrapper
pkgconfig cmake gnumake yasm python pkgconfig cmake gnumake yasm pythonFull
boost libmicrohttpd boost libmicrohttpd
gettext pcre yajl fribidi gettext pcre yajl fribidi
openssl gperf tinyxml2 taglib libssh swig jre openssl gperf tinyxml2 taglib libssh swig jre
@ -84,7 +84,7 @@ stdenv.mkDerivation rec {
postInstall = '' postInstall = ''
for p in $(ls $out/bin/) ; do for p in $(ls $out/bin/) ; do
wrapProgram $out/bin/$p \ wrapProgram $out/bin/$p \
--prefix PATH ":" "${python}/bin" \ --prefix PATH ":" "${pythonFull}/bin" \
--prefix PATH ":" "${glxinfo}/bin" \ --prefix PATH ":" "${glxinfo}/bin" \
--prefix PATH ":" "${xdpyinfo}/bin" \ --prefix PATH ":" "${xdpyinfo}/bin" \
--prefix LD_LIBRARY_PATH ":" "${curl}/lib" \ --prefix LD_LIBRARY_PATH ":" "${curl}/lib" \