q4wine: 1.0_r3

This commit is contained in:
Neophytos 2013-10-19 22:07:13 +00:00
parent 46f86b46dc
commit 4336a4ae79

View File

@ -1,33 +1,28 @@
#
# Apps Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): Giuseppe calà <jiveaxe@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=q4wine
pkgver=0.121
pkgver=1.0_r3
pkgrel=1
pkgdesc="A Qt4 GUI for Wine"
arch=("i686" "x86_64")
arch=("x86_64")
url="http://sourceforge.net/projects/${pkgname}/"
license=("GPL3")
depends=("qt" "wine" "sqlite3" "which" "icoutils")
makedepends=("cmake")
optdepends=("winetricks")
options=('!emptydirs' 'force')
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver/_/-}.tar.bz2
q4wine-gcc47.patch)
md5sums=('2de5de62f57ba6b26247198df339d81a'
'd2d4ee8abbd21edca9b0fe2a8f7c9297')
options=('!emptydirs')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver/_/-}.tar.bz2")
# q4wine-gcc47.patch)
md5sums=('29bb4b51334a78191611f49c050950d1')
# 'd2d4ee8abbd21edca9b0fe2a8f7c9297')
build() {
cd ${srcdir}/${pkgname}-${pkgver/_/-}
patch -Np1 -i ${srcdir}/q4wine-gcc47.patch
# patch -Np1 -i ${srcdir}/q4wine-gcc47.patch
cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_WINETRIKS=ON .
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DWITH_WINETRIKS=ON \
-DLIBS_ENTRY_PATH=/usr/lib/$pkgname .
make
}