5 pkgdesc="Client for the SPICE virtual desktop protocol (RHEV)"
7 url="http://www.spice-space.org"
9 depends=(log4cpp celt051 qcairo qffmpeg-libs alsa-utils glut libxrandr boost)
10 makedepends=('rpmextract')
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 )
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
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')