Skip to content

Commit af6cd22

Browse files
authored
lomiri.morph-browser: 1.99.2 -> 1.99.3 (#493830)
2 parents ddb7921 + 8d8592c commit af6cd22

File tree

1 file changed

+2
-24
lines changed
  • pkgs/desktops/lomiri/applications/morph-browser

1 file changed

+2
-24
lines changed

pkgs/desktops/lomiri/applications/morph-browser/default.nix

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ let
3131
in
3232
stdenv.mkDerivation (finalAttrs: {
3333
pname = "morph-browser";
34-
version = "1.99.2";
34+
version = "1.99.3";
3535

3636
src = fetchFromGitLab {
3737
owner = "ubports";
3838
repo = "development/core/morph-browser";
3939
tag = finalAttrs.version;
40-
hash = "sha256-pi9tot6F9Kfpv4AN2kDnkVZRo310w/iEWJ5f7aJl1iE=";
40+
hash = "sha256-zSpgcOiudt1UIsW5tRGA5AmguJn2q4+XR/G8UCqxePk=";
4141
};
4242

4343
outputs = [
@@ -49,20 +49,12 @@ stdenv.mkDerivation (finalAttrs: {
4949
substituteInPlace src/Morph/CMakeLists.txt \
5050
--replace-fail '/usr/lib/''${CMAKE_LIBRARY_ARCHITECTURE}/qt''${QT_VERSION_MAJOR}/qml' "\''${CMAKE_INSTALL_PREFIX}/${qtbase.qtQmlPrefix}"
5151
52-
substituteInPlace src/Ubuntu/CMakeLists.txt \
53-
--replace-fail '/usr/lib/''${CMAKE_LIBRARY_ARCHITECTURE}/qt5/qml' "\''${CMAKE_INSTALL_PREFIX}/${qtbase.qtQmlPrefix}"
54-
5552
substituteInPlace src/app/webbrowser/morph-browser.desktop.in.in \
5653
--replace-fail 'Icon=@CMAKE_INSTALL_FULL_DATADIR@/morph-browser/morph-browser.svg' 'Icon=morph-browser' \
5754
--replace-fail 'X-Lomiri-Splash-Image=@CMAKE_INSTALL_FULL_DATADIR@/morph-browser/morph-browser-splash.svg' 'X-Lomiri-Splash-Image=lomiri-app-launch/splash/morph-browser.svg'
5855
5956
substituteInPlace doc/CMakeLists.txt \
6057
--replace-fail 'COMMAND ''${QDOC_BIN} -qt5' 'COMMAND ''${QDOC_BIN}'
61-
''
62-
# Being worked on upstream and temporarily disabled, but they still mostly work fine right now
63-
+ lib.optionalString (finalAttrs.finalPackage.doCheck) ''
64-
substituteInPlace CMakeLists.txt \
65-
--replace-fail '#add_subdirectory(tests)' 'add_subdirectory(tests)'
6658
'';
6759

6860
strictDeps = true;
@@ -110,9 +102,6 @@ stdenv.mkDerivation (finalAttrs: {
110102
# Don't care about linter failures
111103
"flake8"
112104

113-
# Temporarily broken while upstream is working on porting to Qt6
114-
"tst_QmlTests"
115-
116105
# Flaky
117106
"tst_HistoryModelTests"
118107
];
@@ -139,17 +128,6 @@ stdenv.mkDerivation (finalAttrs: {
139128
140129
ln -s $out/share/{morph-browser,icons/hicolor/scalable/apps}/morph-browser.svg
141130
ln -s $out/share/{morph-browser/morph-browser-splash.svg,lomiri-app-launch/splash/morph-browser.svg}
142-
''
143-
# This got broken when QML files got duplicated & split into Qt version-specific subdirs in source tree
144-
# Symlinks get installed as-is, and they currently point relatively to the versioned subdirs
145-
+ ''
146-
for link in $(find $out/${qtbase.qtQmlPrefix}/Ubuntu -type l); do
147-
ln -vfs "$(readlink "$link" | sed -e 's|/qml-qt5||g')" "$link"
148-
done
149-
''
150-
# Link target for this one just doesn't get installed ever it seems, yeet it
151-
+ ''
152-
rm -v $out/${qtbase.qtQmlPrefix}/Ubuntu/Web/handle@27.png
153131
'';
154132

155133
passthru = {

0 commit comments

Comments
 (0)