chatterino7: build with qt6

This commit is contained in:
notohh 2024-04-22 15:56:51 -04:00
parent f52b461aa1
commit ebc5105079
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -4,31 +4,36 @@
cmake, cmake,
pkg-config, pkg-config,
fetchFromGitHub, fetchFromGitHub,
qtbase, qt6,
qtsvg,
qtmultimedia,
qtimageformats,
qttools,
boost, boost,
openssl, openssl,
wrapQtAppsHook,
libsecret, libsecret,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "chatterino7"; pname = "chatterino7";
version = "7.4.6"; version = "7.5.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "SevenTV"; owner = "SevenTV";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-6F27GVknSwFDYARdkgE31Oufz557vBKrcDLo9csRWPA="; sha256 = "sha256-/L6X0/03e5wSa+cVlh1Tynz90sMEjSeJm4Ca07f7s18=";
fetchSubmodules = true; fetchSubmodules = true;
}; };
nativeBuildInputs = [cmake pkg-config wrapQtAppsHook]; nativeBuildInputs = [cmake pkg-config qt6.wrapQtAppsHook];
buildInputs = [qtbase qtsvg qtmultimedia qtimageformats qttools boost openssl libsecret]; buildInputs = [
qt6.qtbase
qt6.qtsvg
qt6.qtimageformats
qt6.qttools
qt6.qt5compat
qt6.qtwayland
boost
openssl
libsecret
];
cmakeFlags = ["-DBUILD_WITH_QT6=ON"];
postInstall = postInstall =
'' ''
mkdir -p "$out/bin" mkdir -p "$out/bin"