gtk-server: 2.3.1 -> 2.4.5

Also bumped gtk version from gtk2 to gtk3
This commit is contained in:
Jonathan Ringer 2019-12-14 01:22:20 -08:00 committed by Jon
parent c8c30fac9b
commit 4b1c34cac6

View File

@ -1,28 +1,34 @@
{ stdenv, fetchurl, libffcall, gtk2, pkgconfig }: { stdenv, fetchurl
, glib
, gtk3
, libffcall
, pkgconfig
, wrapGAppsHook
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
v = "2.3.1"; pname = "gtk-server";
name = "gtk-server-${v}"; version = "2.4.5";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/gtk-server/${name}-sr.tar.gz"; url = "https://www.gtk-server.org/stable/gtk-server-${version}.tar.gz";
sha256 = "0z8ng5rhxc7fpsj3d50h25wkgcnxjfy030jm8r9w9m729w2c9hxb"; sha256 = "0vlx5ibvc7hyc8yipjgvrx1azvmh42i9fv1khg3dvn09nrdkrc7f";
}; };
nativeBuildInputs = [ pkgconfig ]; preConfigure = ''
buildInputs = [ libffcall gtk2 ]; cd src
'';
configureOptions = [ "--with-gtk2" ]; nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
buildInputs = [ libffcall glib gtk3 ];
NIX_LDFLAGS = [ configureOptions = [ "--with-gtk3" ];
"-ldl"
];
meta = { meta = with stdenv.lib; {
description = "gtk-server for interpreted GUI programming"; description = "gtk-server for interpreted GUI programming";
homepage = http://www.gtk-server.org/; homepage = "http://www.gtk-server.org/";
license = stdenv.lib.licenses.gpl2Plus; license = licenses.gpl2Plus;
maintainers = [stdenv.lib.maintainers.tohl]; maintainers = [ maintainers.tohl ];
platforms = stdenv.lib.platforms.linux; platforms = platforms.linux;
}; };
} }