Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

labwc-tweaks: unstable-2024-04-02 -> 0-unstable-2024-04-27 #306865

Merged
merged 1 commit into from
Apr 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
32 changes: 15 additions & 17 deletions pkgs/by-name/la/labwc-tweaks/package.nix
Original file line number Diff line number Diff line change
@@ -1,44 +1,42 @@
{ lib
, stdenv
, fetchFromGitHub
, meson
, ninja
, cmake
, perl
, pkg-config
, gtk3
, libxml2
, qt6
, xkeyboard_config
, wrapGAppsHook
, unstableGitUpdater
}:

stdenv.mkDerivation (finalAttrs: {
stdenv.mkDerivation {
pname = "labwc-tweaks";
version = "unstable-2024-04-02";
version = "0-unstable-2024-04-27";

src = fetchFromGitHub {
owner = "labwc";
repo = "labwc-tweaks";
rev = "a1a3cfaefd1908de8752d0d6d6b7170b04ee075c";
hash = "sha256-uvUsoqiQBuNMBQWAxl/tCIvWsEYmZ4dQ31TrznI/XcA=";
rev = "9007079640e0f38c1d69ac94899229354a5c67b2";
hash = "sha256-klKPHAhJ6fedFojXPfesjs1dG5NJhBZkzynhka5vD8M=";
};

nativeBuildInputs = [
meson
ninja
cmake
perl
pkg-config
wrapGAppsHook
qt6.qttools
qt6.wrapQtAppsHook
];

buildInputs = [
gtk3
libxml2
qt6.qtbase
qt6.qtwayland
];

strictDeps = true;

postPatch = ''
substituteInPlace stack-lang.c --replace /usr/share/X11/xkb ${xkeyboard_config}/share/X11/xkb
substituteInPlace theme.c --replace /usr/share /run/current-system/sw/share
substituteInPlace tweaks-qt/gen-layout-list --replace-fail /usr/share/X11/xkb ${xkeyboard_config}/share/X11/xkb
'';

passthru.updateScript = unstableGitUpdater { };
Expand All @@ -51,4 +49,4 @@ stdenv.mkDerivation (finalAttrs: {
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ AndersonTorres romildo ];
};
})
}