cairo-compmgr-git: switched to vala from [extra]

added libgl dependency
added linker directive
This commit is contained in:
Cedric Girard 2012-04-30 18:14:37 +02:00
parent e953f5e478
commit be72abb782

View file

@ -3,7 +3,7 @@
# Contributor: Jacob Winther <jacob.winther@gmail.com> # Contributor: Jacob Winther <jacob.winther@gmail.com>
pkgname=cairo-compmgr-git pkgname=cairo-compmgr-git
pkgver=20120403 pkgver=20120430
pkgrel=1 pkgrel=1
pkgdesc="Cairo based composite manager - Git version" pkgdesc="Cairo based composite manager - Git version"
arch=(i686 x86_64) arch=(i686 x86_64)
@ -12,7 +12,7 @@ license=(LGPL3)
conflicts=(cairo-compmgr) conflicts=(cairo-compmgr)
provides=(cairo-compmgr) provides=(cairo-compmgr)
makedepends=(gettext git gtk-doc "intltool>=0.41" gconf) makedepends=(gettext git gtk-doc "intltool>=0.41" gconf)
depends=("gtk2>=2.16.0" "vala-git" libsm) depends=("gtk2>=2.16.0" "vala>=0.16" libsm libgl)
options=(!makeflags options=(!makeflags
!libtool) !libtool)
@ -35,11 +35,11 @@ build() {
cp -r $_gitname $_gitname-build cp -r $_gitname $_gitname-build
cd $_gitname-build cd $_gitname-build
#patch for compatibility with vala 0.18 (git) #patch for compatibility with vala 0.16 (extra)
sed -i 's!libvala-0.14!libvala-0.18!' configure.ac sed -i 's!libvala-0.14!libvala-0.16!' configure.ac
sed -i 's!libvala-0.14!libvala-0.18!' vapi/cairo-compmgr.deps sed -i 's!libvala-0.14!libvala-0.16!' vapi/cairo-compmgr.deps
./autogen.sh --prefix=/usr LIBS=-ldl ./autogen.sh --prefix=/usr LIBS="-ldl -lgmodule-2.0"
make make
} }