2010-12-22 12:22:10 +01:00
|
|
|
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
|
|
|
|
# Contributor: catalyst <catalyst@xaker.ru>
|
|
|
|
# Contributor: Jacob Winther <jacob.winther@gmail.com>
|
|
|
|
|
|
|
|
pkgname=cairo-compmgr-git
|
2013-04-05 16:10:19 +02:00
|
|
|
epoch=1
|
2015-05-04 12:22:57 +02:00
|
|
|
pkgver=0.3.1.57.g416ae1a
|
2015-06-10 11:04:20 +02:00
|
|
|
pkgrel=2
|
2010-12-22 12:22:10 +01:00
|
|
|
pkgdesc="Cairo based composite manager - Git version"
|
|
|
|
arch=(i686 x86_64)
|
|
|
|
url="http://cairo-compmgr.tuxfamily.org/"
|
2012-02-16 14:44:11 +01:00
|
|
|
license=(LGPL3)
|
2010-12-22 12:22:10 +01:00
|
|
|
conflicts=(cairo-compmgr)
|
|
|
|
provides=(cairo-compmgr)
|
2015-06-10 11:04:20 +02:00
|
|
|
makedepends=(gettext git gtk-doc "intltool>=0.41" gconf vala)
|
2015-05-04 12:22:57 +02:00
|
|
|
depends=("gtk2>=2.16.0" libsm)
|
2010-12-22 12:22:10 +01:00
|
|
|
options=(!makeflags
|
|
|
|
!libtool)
|
|
|
|
|
2015-05-04 12:22:57 +02:00
|
|
|
source=('cairocompmgr::git+https://github.com/gandalfn/Cairo-Composite-Manager.git#branch=light')
|
|
|
|
md5sums=('SKIP')
|
2010-12-22 12:22:10 +01:00
|
|
|
|
2013-04-05 16:10:19 +02:00
|
|
|
pkgver() {
|
|
|
|
cd "$srcdir"/cairocompmgr
|
|
|
|
git describe --tags | sed 's|-|.|g'
|
|
|
|
}
|
2010-12-22 12:22:10 +01:00
|
|
|
|
2014-04-02 15:27:09 +02:00
|
|
|
prepare() {
|
2013-04-05 16:10:19 +02:00
|
|
|
cd "$srcdir"/cairocompmgr
|
2010-12-22 12:22:10 +01:00
|
|
|
|
2015-05-04 12:22:57 +02:00
|
|
|
#fix broken Clone plugin
|
|
|
|
sed -i '/^.*clone.*/d' configure.ac
|
|
|
|
sed -i '/^.*clone.*/d' plugins/Makefile.am
|
|
|
|
rm -rf plugins/clone
|
2014-05-30 14:32:25 +02:00
|
|
|
|
2014-04-02 15:27:09 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir"/cairocompmgr
|
|
|
|
|
2013-01-20 19:24:27 +01:00
|
|
|
./autogen.sh --prefix=/usr LIBS="-ldl -lgmodule-2.0 -lm -lz"
|
2010-12-22 12:22:10 +01:00
|
|
|
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2013-04-05 16:10:19 +02:00
|
|
|
cd "$srcdir"/cairocompmgr
|
2010-12-22 12:22:10 +01:00
|
|
|
|
|
|
|
make DESTDIR="$pkgdir" install
|
2011-03-17 14:46:44 +01:00
|
|
|
install -d "$pkgdir/usr/share/gconf/schemas/"
|
2010-12-22 12:22:10 +01:00
|
|
|
gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/cairo-compmgr.schemas" "$pkgdir/etc/gconf/schemas/*.schemas"
|
|
|
|
rm -rf "$pkgdir/etc/gconf/schemas/"
|
|
|
|
|
|
|
|
}
|
2013-04-05 16:10:19 +02:00
|
|
|
|
|
|
|
# vim:set ts=2 sw=2 et:
|