gtk-server: 2.3.1 -> 2.4.5
Also bumped gtk version from gtk2 to gtk3
This commit is contained in:
parent
c8c30fac9b
commit
4b1c34cac6
1 changed files with 22 additions and 16 deletions
|
@ -1,28 +1,34 @@
|
|||
{ stdenv, fetchurl, libffcall, gtk2, pkgconfig }:
|
||||
{ stdenv, fetchurl
|
||||
, glib
|
||||
, gtk3
|
||||
, libffcall
|
||||
, pkgconfig
|
||||
, wrapGAppsHook
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
v = "2.3.1";
|
||||
name = "gtk-server-${v}";
|
||||
pname = "gtk-server";
|
||||
version = "2.4.5";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/gtk-server/${name}-sr.tar.gz";
|
||||
sha256 = "0z8ng5rhxc7fpsj3d50h25wkgcnxjfy030jm8r9w9m729w2c9hxb";
|
||||
url = "https://www.gtk-server.org/stable/gtk-server-${version}.tar.gz";
|
||||
sha256 = "0vlx5ibvc7hyc8yipjgvrx1azvmh42i9fv1khg3dvn09nrdkrc7f";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ libffcall gtk2 ];
|
||||
preConfigure = ''
|
||||
cd src
|
||||
'';
|
||||
|
||||
configureOptions = [ "--with-gtk2" ];
|
||||
nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
|
||||
buildInputs = [ libffcall glib gtk3 ];
|
||||
|
||||
NIX_LDFLAGS = [
|
||||
"-ldl"
|
||||
];
|
||||
configureOptions = [ "--with-gtk3" ];
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
description = "gtk-server for interpreted GUI programming";
|
||||
homepage = http://www.gtk-server.org/;
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
maintainers = [stdenv.lib.maintainers.tohl];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
homepage = "http://www.gtk-server.org/";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = [ maintainers.tohl ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue