updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / qspice-client / PKGBUILD
blob70714102da61a7aa62e58b29a5ffc81e85751061
1 pkgname=qspice-client
2 pkgver=0.3.0
3 _rpmrel=4
4 pkgrel=5.3
5 pkgdesc="Client for the SPICE virtual desktop protocol (RHEV)"
6 arch=('i686' 'x86_64')
7 url="http://www.spice-space.org"
8 license=('GPL')
9 depends=(log4cpp celt051 qcairo qffmpeg-libs alsa-utils glut libxrandr boost)
10 makedepends=('rpmextract')
11 conflicts=(spice)
12 install=
13 _tarballname=spice_0_4
14 source=(ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Client/en/os/SRPMS/${pkgname}-${pkgver}-${_rpmrel}.el5_5.src.rpm new-openssl.patch fix-gcc-4.4.patch fix-gcc-4.6.patch )
15 noextract=()
18 build() {
19     cd $srcdir
20     rpmextract.sh ${pkgname}-${pkgver}-${_rpmrel}.el5_5.src.rpm
21     tar xjf $pkgname-$pkgver.tar.bz2
22   cd "$srcdir/${pkgname}-${pkgver}"
23   patch -p1 -i ../qspice-client-0.3.0-1-logger-ini-help-msg.patch
24   patch -p1 -i ../qspice-client-0.3.0-2-fixed-help-windows-crash.patch
25   patch -p1 -i ../qspice-client-0.3.0-3-fix-unsafe-guest-data-accessing.patch
26   patch -p1 -i ../qspice-client-0.3.0-socket.patch
27   patch -p1 -i ../new-openssl.patch
28   patch -p1 -i ../fix-gcc-4.4.patch
29   patch -p1 -i ../fix-gcc-4.6.patch
30 #  patch -p1 -i ../use-libpng12.patch
31 #  ./configure --prefix=/usr || return 1
32   ./autogen.sh --prefix=/usr || return 1
33   # remove rpath from libtool
34   sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
35   sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
36   make || return 1
37   make DESTDIR="$pkgdir/" install || return 1
40 # vim:set ts=2 sw=2 et:
41 md5sums=('db9bb1287bf4e056717bdd7baac8d191'
42          'c13f36d428411b1032dd47a09b81f295'
43          '8986500f2640644a1fba345a6b9e20c9')
44 md5sums=('db9bb1287bf4e056717bdd7baac8d191'
45          'c13f36d428411b1032dd47a09b81f295'
46          '8986500f2640644a1fba345a6b9e20c9'
47          'a25ef3d366e5458a79826cea2996ae27')
48 md5sums=('db9bb1287bf4e056717bdd7baac8d191'
49          'c13f36d428411b1032dd47a09b81f295'
50          '8986500f2640644a1fba345a6b9e20c9'
51          'a8206f84f5c4ebddc1c232d14bea7e07')
52 md5sums=('db9bb1287bf4e056717bdd7baac8d191'
53          'c13f36d428411b1032dd47a09b81f295'
54          '8986500f2640644a1fba345a6b9e20c9'
55          'a4bf93febe660e32feebc893faa4f722')
56 md5sums=('db9bb1287bf4e056717bdd7baac8d191'
57          'c13f36d428411b1032dd47a09b81f295'
58          '8986500f2640644a1fba345a6b9e20c9'
59          'be66ca1446dd8fd82768f19103a3031f')