Updating fbterm
svn path=/nixpkgs/trunk/; revision=17981
This commit is contained in:
parent
cd04c58fe2
commit
ab85fbeec4
@ -2,17 +2,14 @@ a :
|
|||||||
let
|
let
|
||||||
fetchurl = a.fetchurl;
|
fetchurl = a.fetchurl;
|
||||||
|
|
||||||
version = a.lib.attrByPath ["version"] "1.2" a;
|
|
||||||
buildInputs = with a; [
|
buildInputs = with a; [
|
||||||
gpm fontconfig freetype pkgconfig
|
gpm freetype fontconfig pkgconfig ncurses
|
||||||
];
|
];
|
||||||
|
s = import ./src-for-default.nix;
|
||||||
in
|
in
|
||||||
rec {
|
rec {
|
||||||
src = fetchurl {
|
src = a.fetchUrlFromSrcInfo s;
|
||||||
url = "http://fbterm.googlecode.com/files/fbterm-${version}.tar.gz";
|
inherit(s) name;
|
||||||
sha256 = "0q4axmnpwlpjlpaj19iw7nyxkqsvwq767szdkzsgancq99afwqyd";
|
|
||||||
};
|
|
||||||
|
|
||||||
inherit buildInputs;
|
inherit buildInputs;
|
||||||
configureFlags = [];
|
configureFlags = [];
|
||||||
|
|
||||||
@ -20,10 +17,19 @@ rec {
|
|||||||
sed -e '/ifdef SYS_signalfd/atypedef long long loff_t;' -i src/fbterm.cpp
|
sed -e '/ifdef SYS_signalfd/atypedef long long loff_t;' -i src/fbterm.cpp
|
||||||
'') ["doUnpack" "minInit"];
|
'') ["doUnpack" "minInit"];
|
||||||
|
|
||||||
/* doConfigure should be removed if not needed */
|
fixMakeInstall = a.fullDepEntry (''
|
||||||
phaseNames = ["fixInc" "doConfigure" "doMakeInstall"];
|
sed -e '/install-exec-hook:/,/^[^\t]/{d}; /.NOEXPORT/iinstall-exec-hook:\
|
||||||
|
' -i src/Makefile.in
|
||||||
|
'') ["doUnpack" "minInit"];
|
||||||
|
|
||||||
|
setVars = a.noDepEntry (''
|
||||||
|
export HOME=$PWD;
|
||||||
|
export NIX_LDFLAGS="$NIX_LDFLAGS -lfreetype"
|
||||||
|
'') ;
|
||||||
|
|
||||||
|
/* doConfigure should be removed if not needed */
|
||||||
|
phaseNames = ["setVars" "fixInc" "fixMakeInstall" "doConfigure" "doMakeInstall"];
|
||||||
|
|
||||||
name = "fbterm-" + version;
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Framebuffer terminal emulator";
|
description = "Framebuffer terminal emulator";
|
||||||
maintainers = [a.lib.maintainers.raskin];
|
maintainers = [a.lib.maintainers.raskin];
|
||||||
|
9
pkgs/os-specific/linux/fbterm/src-for-default.nix
Normal file
9
pkgs/os-specific/linux/fbterm/src-for-default.nix
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
rec {
|
||||||
|
version="1.5";
|
||||||
|
name="fbterm-1.5";
|
||||||
|
hash="05qzc6g9a79has3cy7dlw70n4pn13r552a2i1g4xy23acnpvvjsb";
|
||||||
|
url="http://fbterm.googlecode.com/files/fbterm-${version}.tar.gz";
|
||||||
|
advertisedUrl="http://fbterm.googlecode.com/files/fbterm-1.5.tar.gz";
|
||||||
|
|
||||||
|
|
||||||
|
}
|
4
pkgs/os-specific/linux/fbterm/src-info-for-default.nix
Normal file
4
pkgs/os-specific/linux/fbterm/src-info-for-default.nix
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
downloadPage = "http://code.google.com/p/fbterm/";
|
||||||
|
baseName = "fbterm";
|
||||||
|
}
|
@ -5278,7 +5278,7 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
fbterm = builderDefsPackage (import ../os-specific/linux/fbterm) {
|
fbterm = builderDefsPackage (import ../os-specific/linux/fbterm) {
|
||||||
inherit fontconfig gpm freetype pkgconfig;
|
inherit fontconfig gpm freetype pkgconfig ncurses;
|
||||||
};
|
};
|
||||||
|
|
||||||
fuse = import ../os-specific/linux/fuse {
|
fuse = import ../os-specific/linux/fuse {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user