update cairo-compmgr* for new vala version

This commit is contained in:
Cedric Girard 2014-10-28 15:40:51 +01:00
parent 84f3cc6375
commit dcd86f0fe6
2 changed files with 10 additions and 10 deletions

View file

@ -5,7 +5,7 @@
pkgname=cairo-compmgr-git
epoch=1
pkgver=0.3.1.35.g719a997
pkgrel=3
pkgrel=4
pkgdesc="Cairo based composite manager - Git version"
arch=(i686 x86_64)
url="http://cairo-compmgr.tuxfamily.org/"
@ -13,7 +13,7 @@ license=(LGPL3)
conflicts=(cairo-compmgr)
provides=(cairo-compmgr)
makedepends=(gettext git gtk-doc "intltool>=0.41" gconf)
depends=("gtk2>=2.16.0" "vala>=0.24" libsm libgl)
depends=("gtk2>=2.16.0" "vala>=0.26" libsm libgl)
options=(!makeflags
!libtool)
@ -33,9 +33,9 @@ pkgver() {
prepare() {
cd "$srcdir"/cairocompmgr
#patch for compatibility with vala 0.24
sed -i 's!libvala-0.18!libvala-0.24!' configure.ac
sed -i 's!libvala-0.18!libvala-0.24!' vapi/cairo-compmgr.deps
#patch for compatibility with vala 0.26
sed -i 's!libvala-0.18!libvala-0.26!' configure.ac
sed -i 's!libvala-0.18!libvala-0.26!' vapi/cairo-compmgr.deps
#patch needed to build with newer deps version
patch -p1 < ../4.diff

View file

@ -9,14 +9,14 @@
pkgname=cairo-compmgr
pkgver=0.3.1
pkgrel=8
pkgrel=9
epoch=2
pkgdesc="A Cairo based composite manager"
arch=(i686 x86_64)
url="https://github.com/gandalfn/Cairo-Composite-Manager"
license=(LGPL)
makedepends=(gettext gtk-doc "intltool>=0.41" git)
depends=("gtk2>=2.16.0" "vala>=0.24" libsm libgl gconf)
depends=("gtk2>=2.16.0" "vala>=0.26" libsm libgl gconf)
install=cairo-compmgr.install
options=(!libtool)
source=(https://github.com/downloads/gandalfn/Cairo-Composite-Manager/$pkgname-$pkgver.tar.bz2
@ -30,9 +30,9 @@ md5sums=('4ef285e0735b1a61b5db2205a2d8f8b3'
prepare() {
cd "$srcdir/$pkgname-$pkgver"
#patch for compatibility with vala 0.24
sed -i 's!libvala-0.16!libvala-0.24!' configure.ac
sed -i 's!libvala-0.16!libvala-0.24!' vapi/cairo-compmgr.deps
#patch for compatibility with vala 0.26
sed -i 's!libvala-0.16!libvala-0.26!' configure.ac
sed -i 's!libvala-0.16!libvala-0.26!' vapi/cairo-compmgr.deps
#patch needed to build with newer deps version
patch -p1 < ../4.diff