Update Cairo-compmgr-git to use newer branch

This commit is contained in:
Cedric Girard 2015-05-04 12:22:57 +02:00
parent 151ec4523e
commit b3e4645627

View file

@ -4,8 +4,8 @@
pkgname=cairo-compmgr-git pkgname=cairo-compmgr-git
epoch=1 epoch=1
pkgver=0.3.1.35.g719a997 pkgver=0.3.1.57.g416ae1a
pkgrel=4 pkgrel=1
pkgdesc="Cairo based composite manager - Git version" pkgdesc="Cairo based composite manager - Git version"
arch=(i686 x86_64) arch=(i686 x86_64)
url="http://cairo-compmgr.tuxfamily.org/" url="http://cairo-compmgr.tuxfamily.org/"
@ -13,17 +13,12 @@ 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>=0.26" libsm libgl) depends=("gtk2>=2.16.0" libsm)
options=(!makeflags options=(!makeflags
!libtool) !libtool)
source=('cairocompmgr::git+https://github.com/gandalfn/Cairo-Composite-Manager.git' source=('cairocompmgr::git+https://github.com/gandalfn/Cairo-Composite-Manager.git#branch=light')
'https://github.com/gandalfn/Cairo-Composite-Manager/pull/4.diff' md5sums=('SKIP')
'bfd_ansidecl.patch'
)
md5sums=('SKIP'
'011074cd9687475ebf9ac93fc1f535aa'
'b316779ffe9f86ada7ed601ae433789b')
pkgver() { pkgver() {
cd "$srcdir"/cairocompmgr cd "$srcdir"/cairocompmgr
@ -33,15 +28,10 @@ pkgver() {
prepare() { prepare() {
cd "$srcdir"/cairocompmgr cd "$srcdir"/cairocompmgr
#patch for compatibility with vala 0.26 #fix broken Clone plugin
sed -i 's!libvala-0.18!libvala-0.26!' configure.ac sed -i '/^.*clone.*/d' configure.ac
sed -i 's!libvala-0.18!libvala-0.26!' vapi/cairo-compmgr.deps sed -i '/^.*clone.*/d' plugins/Makefile.am
rm -rf plugins/clone
#patch needed to build with newer deps version
patch -p1 < ../4.diff
#bfd.h should include ansidecl.h
patch -p2 < ../bfd_ansidecl.patch
} }