New package: spotify-qt-3.4
This commit is contained in:
parent
79df2fe596
commit
fc19f276d9
2 changed files with 39 additions and 0 deletions
26
srcpkgs/spotify-qt/patches/fix-darkmode-toggle.patch
Normal file
26
srcpkgs/spotify-qt/patches/fix-darkmode-toggle.patch
Normal file
|
@ -0,0 +1,26 @@
|
|||
https://github.com/kraxarn/spotify-qt/commit/fe916f8976cca3983030e24d02d65e62893ad88d.patch
|
||||
|
||||
From fe916f8976cca3983030e24d02d65e62893ad88d Mon Sep 17 00:00:00 2001
|
||||
From: kraxarn <me@kraxarn.com>
|
||||
Date: Sun, 7 Feb 2021 22:02:21 +0100
|
||||
Subject: [PATCH] Fix crash when toggling dark theme
|
||||
|
||||
---
|
||||
src/settingspage/interfacepage.cpp | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git src/settingspage/interfacepage.cpp src/settingspage/interfacepage.cpp
|
||||
index d809730..be16455 100644
|
||||
--- src/settingspage/interfacepage.cpp
|
||||
+++ src/settingspage/interfacepage.cpp
|
||||
@@ -215,7 +215,9 @@ void InterfacePage::darkThemeToggle(bool checked)
|
||||
if (checked)
|
||||
{
|
||||
itfStyle->setCurrentText("Fusion");
|
||||
- itfIcFallback->setChecked(true);
|
||||
+
|
||||
+ if (itfIcFallback != nullptr)
|
||||
+ itfIcFallback->setChecked(true);
|
||||
}
|
||||
else
|
||||
{
|
13
srcpkgs/spotify-qt/template
Normal file
13
srcpkgs/spotify-qt/template
Normal file
|
@ -0,0 +1,13 @@
|
|||
# Template file for 'spotify-qt'
|
||||
pkgname=spotify-qt
|
||||
version=3.4
|
||||
revision=1
|
||||
build_style=cmake
|
||||
hostmakedepends="pkg-config qt5-devel"
|
||||
makedepends="qt5-devel qt5-svg-devel"
|
||||
short_desc="Lightweight Spotify client using Qt"
|
||||
maintainer="Andrew Benson <abenson+void@gmail.com>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://github.com/kraxarn/spotify-qt"
|
||||
distfiles="${homepage}/archive/v${version}.tar.gz"
|
||||
checksum=ceae5dec3aa31a3fbf6754a2c481dfc1b32b9f5e131007ec176f64a87a6e516e
|
Loading…
Reference in a new issue