From 3df99a43c7d1bd708b15bb00091754e4e894a07a Mon Sep 17 00:00:00 2001 From: Philipp Wolfer Date: Fri, 19 Jul 2019 11:10:02 +0200 Subject: [PATCH] picard: add patch to use Haiku Qt style (#4018) --- .../picard/patches/picard-2.1.3.patchset | 25 +++++++++++++++++++ media-sound/picard/picard-2.1.3.recipe | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/media-sound/picard/patches/picard-2.1.3.patchset b/media-sound/picard/patches/picard-2.1.3.patchset index 6feb6126d..347e23b9d 100644 --- a/media-sound/picard/patches/picard-2.1.3.patchset +++ b/media-sound/picard/patches/picard-2.1.3.patchset @@ -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 +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 diff --git a/media-sound/picard/picard-2.1.3.recipe b/media-sound/picard/picard-2.1.3.recipe index a2403408a..f8cbb3fa5 100644 --- a/media-sound/picard/picard-2.1.3.recipe +++ b/media-sound/picard/picard-2.1.3.recipe @@ -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"