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.

svn path=/nixpkgs/trunk/; revision=31913
This commit is contained in:
Cillian de Roiste 2012-01-29 13:39:30 +00:00
parent a819ccf030
commit 467722ad1a

View File

@ -1,5 +1,6 @@
{ stdenv, fetchurl, alsaLib, boost, cmake, gtkmm, libXau, libXdmcp, { stdenv, fetchurl, alsaLib, boost, cmake, gtkmm, libXau, libXdmcp
libXv, libav, pixman, libpthreadstubs, pkgconfig }: , libXv, libav, pixman, libpthreadstubs, pkgconfig
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "dvswitch-${version}"; name = "dvswitch-${version}";
@ -15,13 +16,12 @@ stdenv.mkDerivation rec {
libpthreadstubs pixman pkgconfig libpthreadstubs pixman pkgconfig
]; ];
installPhase = " patchPhase = ''
ensureDir $out sed -e "s@prefix /usr/local@prefix $out@" -i CMakeLists.txt
cp src/dv* $out/ '';
";
meta = with stdenv.lib; { 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"; homepage = "http://dvswitch.alioth.debian.org";
license = licenses.gpl2Plus; license = licenses.gpl2Plus;
maintainers = [ maintainers.goibhniu ]; maintainers = [ maintainers.goibhniu ];