update to q4wine and qt fix

This commit is contained in:
Neophytos 2012-05-27 20:30:54 +00:00
parent 1f2d632551
commit 20682a7702
3 changed files with 22 additions and 10 deletions

View File

@ -19,10 +19,8 @@ depends=(lib32-{fontconfig,sqlite3,alsa-lib,glib2,dbus-core,openssl}
makedepends=(cups gcc-multilib lib32-{mesa,libcups,libxfixes})
options=('!libtool')
_pkgfqn="${_pkgbasename}-everywhere-opensource-src-${pkgver}"
source=("http://releases.qt-project.org/qt4/source/${_pkgfqn}.tar.gz"
'appmenu.patch')
md5sums=('3c1146ddf56247e16782f96910a8423b'
'7ca519c824d67cfae0281ec50af24ad8')
source=("http://releases.qt-project.org/qt4/source/${_pkgfqn}.tar.gz")
md5sums=('3c1146ddf56247e16782f96910a8423b')
build() {
cd $srcdir/$_pkgfqn

View File

@ -8,7 +8,7 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=q4wine
pkgver=0.120_r1
pkgver=0.121
pkgrel=1
pkgdesc="A Qt4 GUI for Wine"
arch=("i686" "x86_64")
@ -18,14 +18,20 @@ depends=("qt" "wine" "sqlite3" "which" "icoutils")
makedepends=("cmake")
optdepends=("winetricks")
options=('!emptydirs' 'force')
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver/_/-}.tar.bz2 ${pkgname}.desktop)
md5sums=('1ed212026d1f082ac57f12a61694f7bc'
'bd91a0c611fc07ca05288ad6f2beb16e')
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver/_/-}.tar.bz2
q4wine-gcc47.patch)
md5sums=('2de5de62f57ba6b26247198df339d81a'
'd2d4ee8abbd21edca9b0fe2a8f7c9297')
build() {
cd ${srcdir}/${pkgname}-${pkgver/_/-}
patch -Np1 -i ${srcdir}/q4wine-gcc47.patch
cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_WINETRIKS=ON .
make
make DESTDIR=${pkgdir} install
install -D ${startdir}/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
}
package() {
cd ${srcdir}/${pkgname}-${pkgver/_/-}
make DESTDIR=${pkgdir} install
}

View File

@ -0,0 +1,8 @@
+++ /src/qtsingleapplication/qtlocalpeer.cpp
@@ -57,6 +57,8 @@
#endif
#if defined(Q_OS_UNIX)
#include <time.h>
+#include <unistd.h>
+#include <sys/types.h>
#endif