upgpkg: sbcl 2.2.11-1
[arch-packages.git] / ekiga / trunk / PKGBUILD
blob299870a41999a2cc684a6aaf7709434ce1c21b26
1 # Maintainer: Jan de Groot <jgc@archlinux.org>
2 # Contributor: Tom K <tomk@runbox.com>
4 pkgname=ekiga
5 pkgver=4.0.1
6 pkgrel=33
7 pkgdesc="VOIP/Videoconferencing app with full SIP and H.323 support (GnomeMeeting expanded and renamed)"
8 url="https://www.ekiga.org"
9 license=(GPL)
10 arch=(x86_64)
11 depends=('opal' 'boost-libs' 'libxv' 'libnotify' 'avahi' 'gtk2' 'gconf' 'gnome-icon-theme')
12 makedepends=('intltool' 'gnome-doc-utils' 'evolution-data-server' 'boost' 'python')
13 optdepends=('evolution-data-server: Evolution integration')
14 options=(!emptydirs)
15 source=(https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
16         ekiga-4.0.1-boost-signals2.patch
17         ekiga-4.0.1-libresolv.patch)
18 sha256sums=('5f4f491c9496cf65ba057a9345d6bb0278f4eca07bcda5baeecf50bfcd9a4a3b'
19             '940da15bd16f2ca32637033e91138048b3d1bb4e02a0033a9096f93d0f3b6d7a'
20             '5b0e4a8fd7d575f620ff1cbaaf126fcb5d9a48da948b032526084911ed41b63f')
22 prepare() {
23   cd $pkgname-$pkgver
24   patch -Np1 -i ../ekiga-4.0.1-boost-signals2.patch
25   patch -Np1 -i ../ekiga-4.0.1-libresolv.patch
26   autoreconf -fi
29 build() {
30   cd "$pkgname-$pkgver"
31   ./configure --prefix=/usr --sysconfdir=/etc \
32       --localstatedir=/var --disable-schemas-install \
33       --disable-scrollkeeper --enable-dbus --enable-avahi
34   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
35   make
38 package() {
39   cd "$pkgname-$pkgver"
40   make DESTDIR="$pkgdir" GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 install
42   install -m755 -d "$pkgdir/usr/share/gconf/schemas"
43   gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/$pkgname.schemas" --domain ekiga "$pkgdir"/etc/gconf/schemas/*.schemas
44   rm -f "$pkgdir"/etc/gconf/schemas/*.schemas