Merge #15809: xxkb: Split into multiple outputs
This commit is contained in:
commit
405493e411
1 changed files with 5 additions and 2 deletions
|
@ -18,12 +18,14 @@ stdenv.mkDerivation rec {
|
|||
libX11 libXt libXext libXpm
|
||||
] ++ stdenv.lib.optional svgSupport [ librsvg glib gdk_pixbuf pkgconfig ];
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
|
||||
configurePhase = ''
|
||||
xmkmf ${stdenv.lib.optionalString svgSupport "-DWITH_SVG_SUPPORT"}
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
makeFlagsArray=( BINDIR=$out/bin PIXMAPDIR=$out/share/xxkb XAPPLOADDIR=$out/etc/X11/app-defaults MANDIR=$out/man )
|
||||
makeFlagsArray=( BINDIR=$out/bin PIXMAPDIR=$out/share/xxkb XAPPLOADDIR=$out/etc/X11/app-defaults MANDIR=$man/share/man )
|
||||
'';
|
||||
|
||||
installTargets = "install install.man";
|
||||
|
@ -32,6 +34,7 @@ stdenv.mkDerivation rec {
|
|||
description = "A keyboard layout indicator and switcher";
|
||||
homepage = "http://xxkb.sourceforge.net/";
|
||||
license = stdenv.lib.licenses.artistic2;
|
||||
maintainers = with stdenv.lib.maintainers; [ rasendubi ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue