From bcf7932d5683bfc22beefb797dd013969a80f9b3 Mon Sep 17 00:00:00 2001 From: eater <=@eater.me> Date: Sat, 19 Sep 2020 19:30:19 +0200 Subject: [PATCH] picard: update to 2.4.4 --- ...emove-hidpi-scale-factor-rounding-policy.patch | 15 +++++++++++++++ srcpkgs/picard/template | 9 ++++----- 2 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 srcpkgs/picard/patches/remove-hidpi-scale-factor-rounding-policy.patch diff --git a/srcpkgs/picard/patches/remove-hidpi-scale-factor-rounding-policy.patch b/srcpkgs/picard/patches/remove-hidpi-scale-factor-rounding-policy.patch new file mode 100644 index 00000000000..b1c11c114d6 --- /dev/null +++ b/srcpkgs/picard/patches/remove-hidpi-scale-factor-rounding-policy.patch @@ -0,0 +1,15 @@ +--- picard/tagger.py ++++ picard/tagger.py +@@ -916,11 +916,6 @@ def main(localedir=None, autoupdate=True): + # Allow High DPI Support + QtWidgets.QApplication.setAttribute(QtCore.Qt.AA_UseHighDpiPixmaps) + QtWidgets.QApplication.setAttribute(QtCore.Qt.AA_EnableHighDpiScaling) +- # HighDpiScaleFactorRoundingPolicy is available since Qt 5.14. This is +- # required to support fractional scaling properly. +- if hasattr(QtGui.QGuiApplication, 'setHighDpiScaleFactorRoundingPolicy'): +- QtGui.QGuiApplication.setHighDpiScaleFactorRoundingPolicy( +- QtCore.Qt.HighDpiScaleFactorRoundingPolicy.PassThrough) + + # Enable mnemonics on all platforms, even macOS + QtGui.qt_set_sequence_auto_mnemonic(True) + diff --git a/srcpkgs/picard/template b/srcpkgs/picard/template index ca1f29c11de..fa7f68b9b21 100644 --- a/srcpkgs/picard/template +++ b/srcpkgs/picard/template @@ -1,19 +1,18 @@ # Template file for 'picard' pkgname=picard -version=2.3.2 +version=2.4.4 revision=1 -archs=noarch wrksrc="${pkgname}-release-${version}" build_style=python3-module make_install_args="--disable-autoupdate" hostmakedepends="gettext python3-setuptools" makedepends="python3-devel" -depends="python3-PyQt5 chromaprint python3-mutagen - desktop-file-utils hicolor-icon-theme" +depends="python3-PyQt5 python3-PyQt5-multimedia chromaprint python3-mutagen + desktop-file-utils hicolor-icon-theme python3-discid" short_desc="MusicBrainz's audio tagger" maintainer="Michael Aldridge " license="GPL-2.0-or-later" homepage="https://picard.musicbrainz.org/" changelog="https://picard.musicbrainz.org/changelog/" distfiles="http://ftp.musicbrainz.org/pub/musicbrainz/${pkgname}/${pkgname}-${version%.0}.tar.gz" -checksum=a91d9f11f2e5a6a0c579e0749e3a3919694ddeef0f251c1dded32e9331b1b0b7 +checksum=3e6a1abb886c859a20c164bec76e65a90b6b8d5a0c303a39d1432a39483cb4b0