Author: cillian
Date: Sun Jan 29 13:39:30 2012
New Revision: 31913
URL: https://nixos.org/websvn/nix/?rev=31913&sc=1

Log:
Patching the prefix, since it is hardcoded. The application seems to work 
correctly now, although it does crash with my current gtk theme (oxygen) when 
adding a stream. Using the gnome gtk-icon-theme does work, but this is probably 
just a bug in the oxygen gtk theme and should be fixed there.

Modified:
   nixpkgs/trunk/pkgs/applications/video/dvswitch/default.nix

Modified: nixpkgs/trunk/pkgs/applications/video/dvswitch/default.nix
==============================================================================
--- nixpkgs/trunk/pkgs/applications/video/dvswitch/default.nix  Sun Jan 29 
13:01:12 2012        (r31912)
+++ nixpkgs/trunk/pkgs/applications/video/dvswitch/default.nix  Sun Jan 29 
13:39:30 2012        (r31913)
@@ -1,5 +1,6 @@
-{ stdenv, fetchurl, alsaLib, boost, cmake, gtkmm, libXau, libXdmcp,
-  libXv, libav, pixman, libpthreadstubs, pkgconfig }:
+{ stdenv, fetchurl, alsaLib, boost, cmake, gtkmm, libXau, libXdmcp
+, libXv, libav, pixman, libpthreadstubs, pkgconfig 
+}:
 
 stdenv.mkDerivation rec {
   name = "dvswitch-${version}";
@@ -15,13 +16,12 @@
     libpthreadstubs pixman pkgconfig
   ];
 
-  installPhase = "
-    ensureDir $out
-    cp src/dv* $out/
-  ";
+  patchPhase = ''
+    sed -e "s@prefix /usr/local@prefix $out@" -i CMakeLists.txt
+  '';
 
   meta =  with stdenv.lib; {
-    description = "digital video mixer intended for interactive live mixing of 
several incoming DV video streams";
+    description = "interactive live video mixer for DV streams";
     homepage = "http://dvswitch.alioth.debian.org";;
     license = licenses.gpl2Plus;
     maintainers = [ maintainers.goibhniu ];
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to