{lomiri,lomiri-qt6}.lomiri-content-hub: 2.2.2 -> 2.2.3

This commit is contained in:
OPNA2608
2026-04-19 12:09:42 +02:00
parent 601cd88557
commit c320f87d6b
@@ -2,7 +2,6 @@
stdenv,
lib,
fetchFromGitLab,
fetchpatch,
gitUpdater,
nixosTests,
testers,
@@ -37,13 +36,13 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "lomiri-content-hub";
version = "2.2.2";
version = "2.2.3";
src = fetchFromGitLab {
owner = "ubports";
repo = "development/core/lomiri-content-hub";
tag = finalAttrs.version;
hash = "sha256-ukaEur2RgdIVPYm90OUCs0L+F9OQ3zaypreyx33iD5M=";
hash = "sha256-48G17gzvk1ENgZHDjjvuHyyCiUfK8rkyokU2gNJ9KVg=";
};
outputs = [
@@ -55,15 +54,6 @@ stdenv.mkDerivation (finalAttrs: {
"doc"
];
patches = [
# Remove when version > 2.2.2
(fetchpatch {
name = "0001-lomiri-content-hub-Properly-include-lomiri-api-includedirs.patch";
url = "https://gitlab.com/ubports/development/core/lomiri-content-hub/-/commit/dab1854e5ec0a91fd28c9d84f06dcdd0af39518b.patch";
hash = "sha256-aQB8kLL2ZkKUOvFoDQ9rottFsCSNJ66wUjUZxP+kr5k=";
})
];
postPatch = ''
substituteInPlace import/*/Content/CMakeLists.txt \
--replace-fail "\''${CMAKE_INSTALL_LIBDIR}/qt\''${QT_VERSION_MAJOR}/qml" "\''${CMAKE_INSTALL_PREFIX}/${qtbase.qtQmlPrefix}"