3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

8 commits

Author SHA1 Message Date
jalr 298035ada6 chatterino2: 2.2.2 -> 2.3.0 2021-04-25 23:19:32 -04:00
Ben Siraphob 5d566c43b4 pkgs/applications: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
Bruno Bigras d8bc3fa196 chatterino2: 2.1.7 -> 2.2.2
Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com>
2020-09-14 23:10:03 -04:00
Milan Pässler a11a629fcc chatterino2: unstable-2019-05-11 -> 2.1.7 2020-07-31 18:50:58 +02:00
Matthew Glazar 1221a6b096 chatterino2: fix: Could not find the Qt platform plugin "cocoa" in ""
wrapQtAppsHook ignores Mach-O binaries [1]. Additionally, wrapQtAppsHook
doesn't look inside $out/Applications [2], which is where chatterino2 is
installed. This means chatterino2 for Darwin/macOS is not wrapped
properly, causing the following error when launched:

> qt.qpa.plugin: Could not find the Qt platform plugin "cocoa" in ""
>
> This application failed to start because no Qt platform plugin could
> be initialized. Reinstalling the application may fix this problem.

On macOS, explicitly wrap chatterino2's executable.

[1] pkgs/development/libraries/qt-5/hooks/wrap-qt-apps-hook.sh line 85
[2] pkgs/development/libraries/qt-5/hooks/wrap-qt-apps-hook.sh line 76
2020-02-01 19:59:08 -08:00
Matthew Glazar cdd1c216ff chatterino2: fix install on macOS
On Darwin/macOS, chatterino2's install phase copies no files into the
output. `make install` does not copy chatterino2.app. Copy the .app
manually, fixing the installation.

With this patch, chatterino2 almost works on macOS. Issue #42893
applies, so to make chatterino2 work, you must install qtbase in your
environment. For example:

    $ nix-env -iA nixpkgs.qt5.qtbase
    $ open ~/.nix-profile/Applications/chatterino.app
2020-02-01 19:15:05 -08:00
Andrew Childs 7e0dd3833d chatterino2: use mkDerivation from qt 2020-01-23 01:00:34 +09:00
rexim 79586cae40 chatterino2: init at unstable-2019-05-11 2019-05-10 21:03:48 -04:00