From d09b1252610a40454d5f270130489f44e21e8bf6 Mon Sep 17 00:00:00 2001 From: allan Date: Mon, 2 Nov 2015 16:44:32 +0100 Subject: [PATCH] puddletag: fix issue with PyQt4 (close #2882) --- srcpkgs/puddletag/patches/fix-2882.patch | 11 +++++++++++ srcpkgs/puddletag/template | 10 +++++----- 2 files changed, 16 insertions(+), 5 deletions(-) create mode 100644 srcpkgs/puddletag/patches/fix-2882.patch diff --git a/srcpkgs/puddletag/patches/fix-2882.patch b/srcpkgs/puddletag/patches/fix-2882.patch new file mode 100644 index 00000000000..5be32062d0c --- /dev/null +++ b/srcpkgs/puddletag/patches/fix-2882.patch @@ -0,0 +1,11 @@ +--- source/puddlestuff/puddleobjects.py 2015-11-02 15:55:52.830814590 +0100 ++++ source/puddlestuff/puddleobjects.py 2015-11-02 15:55:59.994099731 +0100 +@@ -1418,7 +1418,7 @@ + super(ArtworkLabel, self).__init__(*args, **kwargs) + + pal = self.palette() +- pal.setBrush(self.backgroundRole(), QBrush(QPalette.Window)) ++ pal.setBrush(self.backgroundRole(), QBrush(pal.window())) + self.setAutoFillBackground(True) + self.setPalette(pal) + diff --git a/srcpkgs/puddletag/template b/srcpkgs/puddletag/template index 0df0c5da854..5d53233c558 100644 --- a/srcpkgs/puddletag/template +++ b/srcpkgs/puddletag/template @@ -1,18 +1,18 @@ # Template file for 'puddletag' pkgname=puddletag version=1.0.5 -revision=1 +revision=2 short_desc="MP3 tagging GUI" maintainer="allan " -license="Apache-2" +license="GPL-2" homepage="http://puddletag.sourceforge.net" -distfiles="$SOURCEFORGE_SITE/$pkgname/$pkgname-$version.tar.gz" -checksum="4698d5effe8f265446b356068bad7ced0b29c1f66824dc94a5688f3fffc389e2" +distfiles=https://github.com/keithgg/puddletag/archive/v${version}.tar.gz +checksum=f94ebcc4ed31389574c187197b99256bec1f96e1e7d4dd61730e88f79deeaba2 +build_wrksrc=source noarch=yes build_style=python-module python_versions=2.7 pycompile_module=puddlestuff -makedepends="python-devel" hostmakedepends="python-devel" depends="mutagen python-PyQt4 python-parsing python-configobj"