picard: add patch to use Haiku Qt style (#4018)

This commit is contained in:
Philipp Wolfer
2019-07-19 11:10:02 +02:00
committed by Sergei Reznikov
parent ddec328241
commit 3df99a43c7
2 changed files with 26 additions and 1 deletions

View File

@@ -73,3 +73,28 @@ index 7d003ccf..bacd8a13 100644
webbrowser.open(url)
--
2.21.0
From b9e96ea8fd0907c797b2424986023941ee8e1474 Mon Sep 17 00:00:00 2001
From: Philipp Wolfer <ph.wolfer@gmail.com>
Date: Fri, 19 Jul 2019 10:37:17 +0000
Subject: [PATCH 4/4] Haiku: use Haiku Qt style
---
picard/tagger.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/picard/tagger.py b/picard/tagger.py
index f3f0ff85..daf76a41 100644
--- a/picard/tagger.py
+++ b/picard/tagger.py
@@ -130,7 +130,7 @@ class Tagger(QtWidgets.QApplication):
# Use the new fusion style from PyQt5 for a modern and consistent look
# across all OSes.
- if sys.platform != "darwin":
+ if sys.platform not in ("darwin", "haiku1"):
self.setStyle('Fusion')
# Set the WM_CLASS to 'MusicBrainz-Picard' so desktop environments
--
2.21.0

View File

@@ -4,7 +4,7 @@ HOMEPAGE="https://picard.musicbrainz.org/"
COPYRIGHT="2004-2019 Robert Kaye, Lukas Lalinsky, Laurent Monin, \
Sambhav Kothari, Philipp Wolfer and others"
LICENSE="GNU GPL v2"
REVISION="2"
REVISION="3"
SOURCE_URI="ftp://ftp.eu.metabrainz.org/pub/musicbrainz/picard/picard-$portVersion.tar.gz"
CHECKSUM_SHA256="8e044fe68c44d345c19f98952c3c7f20c72da74dbac9ce7c7b0621e2d69885a7"
SOURCE_DIR="picard-release-$portVersion"