2010-05-21 07:48:47 +08:00
#
# KDE SC Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${ current_repo } -${ _arch } -cfg.conf
# original name (used for the source and pkgnames)
_origname = libindicate
pkgname = ${ _origname }
pkgbranch = 0.2
pkgver = 0.2.3
2011-09-03 09:46:29 +08:00
pkgrel = 4
2010-05-21 07:48:47 +08:00
pkgdesc = 'A small library for applications to raise "flags" on DBus for other components of the desktop to pick up and visualize. (Canonical Ayatana Project)'
arch = ( 'i686' 'x86_64' )
url = "https://launchpad.net/libindicate"
license = ( 'GPL' )
2010-05-24 23:18:09 +08:00
depends = ( 'glib2' 'dbus-glib' 'libxml2' ) # 'gtk2'
2010-05-21 07:48:47 +08:00
makedepends = ( )
groups = ( "kde-uninstall" "kde-support" )
options = ( '!splitdbg' '!splithdr' )
2010-06-18 22:25:03 +08:00
source = ( http://launchpad.net/${ _origname } /${ pkgbranch } /${ pkgver } /+download/${ _origname } -${ pkgver } .tar.gz
disable-libindicate-gtk-gtk-docs.patch disable-unneeded-stuff.patch)
md5sums = ( 'c32f2cdd85534feea4a5ebd532ede641' # libindicate-0.2.3.tar.gz
'e307519e046c0cdb6a9928128044166e' # disable-libindicate-gtk-gtk-docs.patch
'0f8fe75f84a2f41b4c3ec700c07bb820' ) # disable-unneeded-stuff.patch
2010-05-21 07:48:47 +08:00
build( ) {
cd " $srcdir " /${ _origname } -$pkgver
2010-06-18 22:25:03 +08:00
patch -Np0 -i " ${ srcdir } /../disable-unneeded-stuff.patch " || return 1
patch -Np0 -i " ${ srcdir } /../disable-libindicate-gtk-gtk-docs.patch " || return 1
2010-05-21 07:48:47 +08:00
./configure --prefix= /usr --disable-static --disable-gtk-doc --disable-gobject-introspection || return 1
make || return 1
make DESTDIR = " $pkgdir " install || return 1
# cleanup docs
rm -R " $pkgdir " /usr/share
}