[arch-commits] Commit in ekiga/repos (3 files)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sat Dec 30 23:43:04 UTC 2017


    Date: Saturday, December 30, 2017 @ 23:43:03
  Author: bpiotrowski
Revision: 313821

archrelease: copy trunk to staging-x86_64

Added:
  ekiga/repos/staging-x86_64/
  ekiga/repos/staging-x86_64/PKGBUILD
    (from rev 313820, ekiga/trunk/PKGBUILD)
  ekiga/repos/staging-x86_64/ekiga-4.0.1-libresolv.patch
    (from rev 313820, ekiga/trunk/ekiga-4.0.1-libresolv.patch)

-----------------------------+
 PKGBUILD                    |   43 ++++++++++++++++++++++++++++++++++++++++++
 ekiga-4.0.1-libresolv.patch |   13 ++++++++++++
 2 files changed, 56 insertions(+)

Copied: ekiga/repos/staging-x86_64/PKGBUILD (from rev 313820, ekiga/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2017-12-30 23:43:03 UTC (rev 313821)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Tom K <tomk at runbox.com>
+
+pkgname=ekiga
+pkgver=4.0.1
+pkgrel=28
+pkgdesc="VOIP/Videoconferencing app with full SIP and H.323 support (GnomeMeeting expanded and renamed)"
+url="http://www.ekiga.org"
+license=(GPL)
+arch=(x86_64)
+depends=('opal' 'boost-libs' 'libxv' 'libnotify' 'avahi' 'gtk2' 'gconf' 'gnome-icon-theme')
+makedepends=('intltool' 'gnome-doc-utils' 'evolution-data-server' 'boost' 'python')
+optdepends=('evolution-data-server: Evolution integration')
+options=(!emptydirs)
+source=(https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
+        ekiga-4.0.1-libresolv.patch)
+sha256sums=('5f4f491c9496cf65ba057a9345d6bb0278f4eca07bcda5baeecf50bfcd9a4a3b'
+            '5b0e4a8fd7d575f620ff1cbaaf126fcb5d9a48da948b032526084911ed41b63f')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i ../ekiga-4.0.1-libresolv.patch
+  autoreconf -fi
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var --disable-schemas-install \
+      --disable-scrollkeeper --enable-dbus --enable-avahi
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 install
+
+  install -m755 -d "$pkgdir/usr/share/gconf/schemas"
+  gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/$pkgname.schemas" --domain ekiga "$pkgdir"/etc/gconf/schemas/*.schemas
+  rm -f "$pkgdir"/etc/gconf/schemas/*.schemas
+}

Copied: ekiga/repos/staging-x86_64/ekiga-4.0.1-libresolv.patch (from rev 313820, ekiga/trunk/ekiga-4.0.1-libresolv.patch)
===================================================================
--- staging-x86_64/ekiga-4.0.1-libresolv.patch	                        (rev 0)
+++ staging-x86_64/ekiga-4.0.1-libresolv.patch	2017-12-30 23:43:03 UTC (rev 313821)
@@ -0,0 +1,13 @@
+diff -up ekiga-4.0.1/configure.ac.libresolv ekiga-4.0.1/configure.ac
+--- ekiga-4.0.1/configure.ac.libresolv	2017-02-23 02:30:42.051227852 -0600
++++ ekiga-4.0.1/configure.ac	2017-02-23 02:32:04.609519837 -0600
+@@ -324,7 +324,8 @@ if test "x$enable_ldap" = "xyes"; then
+ 
+   dnl Checking for libresolv
+   if test ${gm_platform} = "linux" ; then
+-  	AC_CHECK_LIB(resolv, res_gethostbyaddr, [LIBS="-lresolv $LIBS"], AC_MSG_ERROR([You need the libresolv library to compile Ekiga]), -lresolv)
++  	# AC_CHECK_LIB(resolv, res_gethostbyaddr, [LIBS="-lresolv $LIBS"], AC_MSG_ERROR([You need the libresolv library to compile Ekiga]), -lresolv)
++	AC_WARNING([Just adding libresolv to LDAP_LIBS, without checking anything])
+   	LDAP_LIBS="${LDAP_LIBS} -lresolv"
+   fi
+   found_ldap="yes"



More information about the arch-commits mailing list