qupzilla: update to 1.6.4

This commit is contained in:
Bruce Liu 2014-04-15 17:36:49 +00:00
parent 79733d0a5a
commit d805840161
2 changed files with 20 additions and 4 deletions

View File

@ -2,8 +2,8 @@
# Maintainer: Bruce Liu <brli@users.sourceforge.net>
pkgname=qupzilla
pkgver=1.6.3
pkgrel=3
pkgver=1.6.4
pkgrel=1
pkgdesc="A very fast open source browser based on WebKit core"
url="http://www.qupzilla.com"
arch=('x86_64')
@ -15,14 +15,17 @@ install=${pkgname}.install
screenshot='http://www.qupzilla.com/screens/kde.png'
source=("https://github.com/QupZilla/qupzilla/archive/v${pkgver}.tar.gz"
'qupzilla.patch'
'theme-app-icon.patch'
'start-white.png')
sha256sums=('884cd5fb971450fa5363101859fc7306583d5ec4839858956e6900c305d4be3a'
sha256sums=('05f543ba78171e9280809cd3f309dda6a835c5ac128341830cd7b9b0a6010d0f'
'f37afa5b9a3d52dfe640991fd28061a9ddcba895c649bc97bfb49aef29f3703c'
'8a5d93463a7e78d9d5f048a51a240703a4ea97b23ce0d66b27992b007f961687'
'5bdac9f329c5d240e9aa58d7960f5f8b4c372e8908e2cf1080a02619a4695f09')
prepare() {
cd "${pkgname}-${pkgver}/src/lib"
patch -uNp1 -i $srcdir/qupzilla.patch
patch -uNp1 -i ${srcdir}/qupzilla.patch
patch -p3 -i ${srcdir}/theme-app-icon.patch
}
build() {

View File

@ -0,0 +1,13 @@
diff --git a/src/lib/app/mainapplication.cpp b/src/lib/app/mainapplication.cpp
index 7bd4ec8..e3d3cac 100644
--- a/src/lib/app/mainapplication.cpp
+++ b/src/lib/app/mainapplication.cpp
@@ -130,7 +130,7 @@ MainApplication::MainApplication(int &argc, char** argv)
DATADIR = qApp->applicationDirPath() + "/";
#endif
- setWindowIcon(QIcon(":icons/exeicons/qupzilla-window.png"));
+ setWindowIcon(QIcon::fromTheme("qupzilla", QIcon(":icons/exeicons/qupzilla-window.png")));
bool noAddons = false;
bool newInstance = false;
QUrl startUrl;