Unverified Commit 9681f23e authored by Masum Reza's avatar Masum Reza Committed by GitHub
Browse files

libxklavier: enable strictDeps, modernize (#509583)

parents 022e19fa 4feb588e
Loading
Loading
Loading
Loading
+10 −4
Original line number Diff line number Diff line
@@ -20,14 +20,14 @@
  withDoc ? (stdenv.buildPlatform == stdenv.hostPlatform),
}:

stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
  pname = "libxklavier";
  version = "5.4";

  src = fetchgit {
    url = "https://gitlab.freedesktop.org/archived-projects/libxklavier.git";
    rev = "${pname}-${version}";
    sha256 = "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a";
    tag = "libxklavier-${finalAttrs.version}";
    hash = "sha256-6uzfuVaQlnMMURIke+ZLqL0PhPEmCzx4bFR4+nItPfA=";
  };

  patches = [
@@ -58,6 +58,10 @@ stdenv.mkDerivation rec {
    isocodes
  ];

  depsBuildBuild = [
    pkg-config
  ];

  nativeBuildInputs = [
    autoreconfHook
    pkg-config
@@ -66,6 +70,8 @@ stdenv.mkDerivation rec {
    gobject-introspection
  ];

  strictDeps = true;

  preAutoreconf = ''
    export NOCONFIGURE=1
    gtkdocize
@@ -84,4 +90,4 @@ stdenv.mkDerivation rec {
    license = lib.licenses.lgpl2Plus;
    platforms = lib.platforms.unix;
  };
}
})