2021-05-08 00:55:17 +03:00
|
|
|
{ lib, stdenv, fetchbzr, gettext
|
2021-01-17 05:04:36 +03:00
|
|
|
, gtk2, wrapGAppsHook, autoreconfHook, pkg-config
|
2019-04-30 20:34:45 +03:00
|
|
|
, libmikmod, librsvg, libcanberra-gtk2, hicolor-icon-theme }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gweled";
|
2021-05-08 00:55:17 +03:00
|
|
|
version = "unstable-2021-02-11";
|
2019-04-30 20:34:45 +03:00
|
|
|
|
|
|
|
src = fetchbzr {
|
|
|
|
url = "lp:gweled";
|
2021-05-08 00:55:17 +03:00
|
|
|
rev = "108";
|
|
|
|
sha256 = "sha256-rM4dgbYfSrVqZwi+xzKuEtmtjK3HVvqeutmni1vleLo=";
|
2019-04-30 20:34:45 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-05-08 00:55:17 +03:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace configure.ac --replace "AM_GNU_GETTEXT_VERSION([0.19.8])" "AM_GNU_GETTEXT_VERSION([${gettext.version}])"
|
|
|
|
'';
|
|
|
|
|
|
|
|
nativeBuildInputs = [ wrapGAppsHook gettext autoreconfHook pkg-config ];
|
2019-04-30 20:34:45 +03:00
|
|
|
|
|
|
|
buildInputs = [ gtk2 libmikmod librsvg hicolor-icon-theme libcanberra-gtk2 ];
|
|
|
|
|
|
|
|
configureFlags = [ "--disable-setgid" ];
|
|
|
|
|
2021-01-11 10:54:33 +03:00
|
|
|
meta = with lib; {
|
2019-04-30 20:34:45 +03:00
|
|
|
description = "Bejeweled clone game";
|
|
|
|
homepage = "https://gweled.org";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
2020-11-17 19:50:53 +03:00
|
|
|
maintainers = [ ];
|
2019-04-30 20:34:45 +03:00
|
|
|
};
|
|
|
|
}
|