cairo-compmgr: fix for vala 0.18

This commit is contained in:
Cedric Girard 2012-11-04 21:26:37 +01:00
parent a6ac1f634d
commit e50e6070c1

View file

@ -9,14 +9,14 @@
pkgname=cairo-compmgr pkgname=cairo-compmgr
pkgver=0.3.1 pkgver=0.3.1
pkgrel=1 pkgrel=2
epoch=2 epoch=2
pkgdesc="A Cairo based composite manager" pkgdesc="A Cairo based composite manager"
arch=(i686 x86_64) arch=(i686 x86_64)
url="https://github.com/gandalfn/Cairo-Composite-Manager" url="https://github.com/gandalfn/Cairo-Composite-Manager"
license=(LGPL) license=(LGPL)
makedepends=(gettext gtk-doc "intltool>=0.41" git) makedepends=(gettext gtk-doc "intltool>=0.41" git)
depends=("gtk2>=2.16.0" "vala>=0.16" libsm gconf) depends=("gtk2>=2.16.0" "vala>=0.18" libsm gconf)
install=cairo-compmgr.install install=cairo-compmgr.install
options=(!libtool) options=(!libtool)
source=(https://github.com/downloads/gandalfn/Cairo-Composite-Manager/$pkgname-$pkgver.tar.bz2) source=(https://github.com/downloads/gandalfn/Cairo-Composite-Manager/$pkgname-$pkgver.tar.bz2)
@ -26,8 +26,12 @@ md5sums=('4ef285e0735b1a61b5db2205a2d8f8b3')
build() { build() {
cd "$srcdir/$pkgname-$pkgver" cd "$srcdir/$pkgname-$pkgver"
#patch for compatibility with vala 0.18 (extra)
sed -i 's!libvala-0.16!libvala-0.18!' configure.ac
sed -i 's!libvala-0.16!libvala-0.18!' vapi/cairo-compmgr.deps
./autogen.sh --prefix=/usr LIBS="-ldl -lgmodule-2.0" ./autogen.sh --prefix=/usr LIBS="-ldl -lgmodule-2.0"
make -j1 make
} }