puddletag: fix issue with PyQt4 (close #2882)
This commit is contained in:
parent
9f7661ca52
commit
d09b125261
2 changed files with 16 additions and 5 deletions
11
srcpkgs/puddletag/patches/fix-2882.patch
Normal file
11
srcpkgs/puddletag/patches/fix-2882.patch
Normal file
|
@ -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)
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
# Template file for 'puddletag'
|
# Template file for 'puddletag'
|
||||||
pkgname=puddletag
|
pkgname=puddletag
|
||||||
version=1.0.5
|
version=1.0.5
|
||||||
revision=1
|
revision=2
|
||||||
short_desc="MP3 tagging GUI"
|
short_desc="MP3 tagging GUI"
|
||||||
maintainer="allan <mail@may.mooo.com>"
|
maintainer="allan <mail@may.mooo.com>"
|
||||||
license="Apache-2"
|
license="GPL-2"
|
||||||
homepage="http://puddletag.sourceforge.net"
|
homepage="http://puddletag.sourceforge.net"
|
||||||
distfiles="$SOURCEFORGE_SITE/$pkgname/$pkgname-$version.tar.gz"
|
distfiles=https://github.com/keithgg/puddletag/archive/v${version}.tar.gz
|
||||||
checksum="4698d5effe8f265446b356068bad7ced0b29c1f66824dc94a5688f3fffc389e2"
|
checksum=f94ebcc4ed31389574c187197b99256bec1f96e1e7d4dd61730e88f79deeaba2
|
||||||
|
build_wrksrc=source
|
||||||
|
|
||||||
noarch=yes
|
noarch=yes
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions=2.7
|
python_versions=2.7
|
||||||
pycompile_module=puddlestuff
|
pycompile_module=puddlestuff
|
||||||
makedepends="python-devel"
|
|
||||||
hostmakedepends="python-devel"
|
hostmakedepends="python-devel"
|
||||||
depends="mutagen python-PyQt4 python-parsing python-configobj"
|
depends="mutagen python-PyQt4 python-parsing python-configobj"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue