add needed patch for cairo-compmgr to build
This commit is contained in:
parent
018409ce0d
commit
591dd757b7
1 changed files with 13 additions and 3 deletions
|
@ -17,21 +17,31 @@ depends=("gtk2>=2.16.0" "vala>=0.22" libsm libgl)
|
||||||
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'
|
||||||
md5sums=('SKIP')
|
'https://github.com/gandalfn/Cairo-Composite-Manager/pull/4.diff'
|
||||||
|
)
|
||||||
|
md5sums=('SKIP'
|
||||||
|
'011074cd9687475ebf9ac93fc1f535aa')
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
cd "$srcdir"/cairocompmgr
|
cd "$srcdir"/cairocompmgr
|
||||||
git describe --tags | sed 's|-|.|g'
|
git describe --tags | sed 's|-|.|g'
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
prepare() {
|
||||||
cd "$srcdir"/cairocompmgr
|
cd "$srcdir"/cairocompmgr
|
||||||
|
|
||||||
#patch for compatibility with vala 0.22
|
#patch for compatibility with vala 0.22
|
||||||
sed -i 's!libvala-0.18!libvala-0.22!' configure.ac
|
sed -i 's!libvala-0.18!libvala-0.22!' configure.ac
|
||||||
sed -i 's!libvala-0.18!libvala-0.22!' vapi/cairo-compmgr.deps
|
sed -i 's!libvala-0.18!libvala-0.22!' vapi/cairo-compmgr.deps
|
||||||
|
|
||||||
|
#patch needed to build with newer deps version
|
||||||
|
patch -p1 < ../4.diff
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$srcdir"/cairocompmgr
|
||||||
|
|
||||||
./autogen.sh --prefix=/usr LIBS="-ldl -lgmodule-2.0 -lm -lz"
|
./autogen.sh --prefix=/usr LIBS="-ldl -lgmodule-2.0 -lm -lz"
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
Loading…
Reference in a new issue