2012-02-23 00:36:26 +01:00
|
|
|
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
|
|
|
# Contributor: Florian Pritz <flo@xinu.at>
|
|
|
|
# Contributor: Adam Hani Schakaki (krzd) <krzd@krzd.net>
|
|
|
|
# Contributor: Det <nimetonmaili at gmail a-dot com>
|
|
|
|
# Contributor: catalyst <catalyst@xaker.ru>
|
|
|
|
# Contributor: Devin Cofer <ranguvar{AT]archlinux[DOT}us>
|
|
|
|
# Contributor: jackobw
|
|
|
|
# Contributor: Gianni Vialetto <g dot vialetto at gmail dot com>
|
|
|
|
|
|
|
|
pkgname=cairo-compmgr
|
2012-10-29 12:08:24 +01:00
|
|
|
pkgver=0.3.1
|
2013-04-22 14:23:25 +02:00
|
|
|
pkgrel=4
|
2012-10-29 12:08:24 +01:00
|
|
|
epoch=2
|
2012-02-23 00:36:26 +01:00
|
|
|
pkgdesc="A Cairo based composite manager"
|
|
|
|
arch=(i686 x86_64)
|
2012-10-29 12:08:24 +01:00
|
|
|
url="https://github.com/gandalfn/Cairo-Composite-Manager"
|
2012-02-23 00:36:26 +01:00
|
|
|
license=(LGPL)
|
|
|
|
makedepends=(gettext gtk-doc "intltool>=0.41" git)
|
2013-04-22 14:23:25 +02:00
|
|
|
depends=("gtk2>=2.16.0" "vala>=0.20" libsm libgl gconf)
|
2012-02-23 00:36:26 +01:00
|
|
|
install=cairo-compmgr.install
|
|
|
|
options=(!libtool)
|
2012-10-29 12:08:24 +01:00
|
|
|
source=(https://github.com/downloads/gandalfn/Cairo-Composite-Manager/$pkgname-$pkgver.tar.bz2)
|
|
|
|
md5sums=('4ef285e0735b1a61b5db2205a2d8f8b3')
|
2012-02-23 00:36:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
build() {
|
2012-10-29 12:08:24 +01:00
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
2012-02-23 00:36:26 +01:00
|
|
|
|
2012-11-04 21:26:37 +01:00
|
|
|
#patch for compatibility with vala 0.18 (extra)
|
2013-04-22 14:23:25 +02:00
|
|
|
sed -i 's!libvala-0.16!libvala-0.20!' configure.ac
|
|
|
|
sed -i 's!libvala-0.16!libvala-0.20!' vapi/cairo-compmgr.deps
|
2012-11-04 21:26:37 +01:00
|
|
|
|
2013-01-20 19:19:36 +01:00
|
|
|
./autogen.sh --prefix=/usr LIBS="-ldl -lgmodule-2.0 -lz"
|
2012-11-04 21:26:37 +01:00
|
|
|
make
|
2012-10-29 12:08:24 +01:00
|
|
|
|
2012-02-23 00:36:26 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2012-10-29 12:08:24 +01:00
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
2012-02-23 00:36:26 +01:00
|
|
|
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
mkdir -p "$pkgdir/usr/share/gconf/schemas/"
|
|
|
|
gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/cairo-compmgr.schemas" "$pkgdir/etc/gconf/schemas/*.schemas"
|
|
|
|
rm -rf "$pkgdir/etc/gconf/schemas/"
|
|
|
|
}
|