rewrite build, update to 2.10.10-1
This commit is contained in:
parent
6ba56bbb22
commit
9187f1bcf4
1 changed files with 50 additions and 29 deletions
|
|
@ -1,50 +1,71 @@
|
||||||
|
# Maintainer: Troy Engel <troyengel+arch@gmail.com>
|
||||||
|
# Contributor: William Overstreet <william.ab.overstreet@gmail.com>
|
||||||
# Contributor: Vinicius de Avila Jorge <vinicius.avila.jorge@gmail.com>
|
# Contributor: Vinicius de Avila Jorge <vinicius.avila.jorge@gmail.com>
|
||||||
# Maintainer: William Overstreet <william.ab.overstreet@gmail.com>
|
|
||||||
|
|
||||||
|
|
||||||
pkgname=libpurple-meanwhile
|
pkgname=libpurple-meanwhile
|
||||||
pkgver=2.10.9
|
pkgver=2.10.10
|
||||||
pkgrel=1.1
|
pkgrel=1
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
url="http://pidgin.im/"
|
url="http://pidgin.im/"
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
pkgdesc="Plugin for Sametime Protocol. No longer replacing pidgin package."
|
pkgdesc="Pidgin Instant Messenger plugin for Sametime support"
|
||||||
makedepends=('startup-notification' 'libxss' 'nss' 'libsasl' 'libsm'
|
makedepends=('make' 'libtool' 'pkg-config' 'glib2' 'libxml2'
|
||||||
'libidn' 'python2' 'hicolor-icon-theme' 'ca-certificates'
|
'meanwhile' 'libpurple')
|
||||||
'intltool' 'networkmanager')
|
depends=('glib2' 'meanwhile' 'libpurple')
|
||||||
depends=('dbus-glib' 'nss' 'meanwhile' 'pidgin')
|
|
||||||
optdepends=('avahi: Bonjour protocol support'
|
|
||||||
'dbus-python: for purple-remote and purple-url-handler'
|
|
||||||
'telepathy-haze: Empathy support'
|
|
||||||
'telepathy-salut: Empathy support')
|
|
||||||
provides=('libpurple-meanwhile')
|
provides=('libpurple-meanwhile')
|
||||||
options=('!libtool')
|
options=('!libtool')
|
||||||
source=(http://downloads.sourceforge.net/pidgin/pidgin-$pkgver.tar.bz2)
|
source=(http://downloads.sourceforge.net/pidgin/pidgin-$pkgver.tar.bz2)
|
||||||
sha256sums=('dc362ed8577f623eea4554a79e917073aa726825074fea402f2e515f0f51f319')
|
sha256sums=('dc6b95512eaec75aef170aabce471491fc70584932599dfead20f1f1c45c822d')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/pidgin-$pkgver"
|
cd "$srcdir/pidgin-$pkgver"
|
||||||
|
|
||||||
# The farstream patch changes configure.ac
|
# Override all the defaults, the plugin only needs the basics - this
|
||||||
autoreconf -vi
|
# prevents all sorts of extra libraries being linked to the finished
|
||||||
|
# libsametime.so that a user may have installed, as well as avoiding
|
||||||
# Use Python 2
|
# auto-detection of TCL/TK and so forth.
|
||||||
sed -i 's/env python$/&2/' */plugins/*.py \
|
PKG_CONFIG="" \
|
||||||
libpurple/purple-{remote,notifications-example,url-handler}
|
GLIB_CFLAGS="$(pkg-config --cflags 'glib-2.0 >= 2.16.0 gobject-2.0 gmodule-2.0 gthread-2.0')" \
|
||||||
|
GLIB_LIBS="$(pkg-config --libs 'glib-2.0 >= 2.16.0 gobject-2.0 gmodule-2.0 gthread-2.0')" \
|
||||||
|
LIBXML_CFLAGS="$(pkg-config --cflags 'libxml-2.0 >= 2.6.0')" \
|
||||||
|
LIBXML_LIBS="$(pkg-config --libs 'libxml-2.0 >= 2.6.0')" \
|
||||||
|
MEANWHILE_CFLAGS="$(pkg-config --cflags 'meanwhile >= 1.0.0 meanwhile < 2.0.0')" \
|
||||||
|
MEANWHILE_LIBS="$(pkg-config --libs 'meanwhile >= 1.0.0 meanwhile < 2.0.0')" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--with-dynamic-prpls=sametime \
|
|
||||||
--disable-schemas-install \
|
|
||||||
--disable-gnutls \
|
|
||||||
--enable-cyrus-sasl \
|
|
||||||
--disable-doxygen \
|
|
||||||
--enable-nm \
|
|
||||||
--with-python=/usr/bin/python2 \
|
--with-python=/usr/bin/python2 \
|
||||||
--with-system-ssl-certs=/etc/ssl/certs \
|
--with-dynamic-prpls=sametime \
|
||||||
--enable-silent-rules \
|
--enable-silent-rules \
|
||||||
--enable-shared
|
--enable-shared \
|
||||||
|
--disable-gtkui \
|
||||||
|
--disable-consoleui \
|
||||||
|
--disable-screensaver \
|
||||||
|
--disable-sm \
|
||||||
|
--disable-startup-notification \
|
||||||
|
--disable-gtkspell \
|
||||||
|
--disable-gestures \
|
||||||
|
--disable-schemas-install \
|
||||||
|
--disable-gstreamer \
|
||||||
|
--disable-gstreamer-interfaces \
|
||||||
|
--disable-farstream \
|
||||||
|
--disable-vv \
|
||||||
|
--disable-idn \
|
||||||
|
--disable-avahi \
|
||||||
|
--disable-fortify \
|
||||||
|
--disable-dbus \
|
||||||
|
--disable-nls \
|
||||||
|
--disable-nm \
|
||||||
|
--disable-nss \
|
||||||
|
--disable-perl \
|
||||||
|
--disable-gnutls \
|
||||||
|
--disable-tcl \
|
||||||
|
--disable-tk \
|
||||||
|
--disable-pixmaps-install \
|
||||||
|
--disable-doxygen \
|
||||||
|
--disable-dot \
|
||||||
|
--disable-devhelp
|
||||||
|
|
||||||
cd "$srcdir/pidgin-$pkgver/libpurple/protocols/sametime"
|
cd "$srcdir/pidgin-$pkgver/libpurple/protocols/sametime"
|
||||||
make
|
make
|
||||||
|
|
@ -52,6 +73,6 @@ build() {
|
||||||
|
|
||||||
package(){
|
package(){
|
||||||
cd "$srcdir/pidgin-$pkgver"
|
cd "$srcdir/pidgin-$pkgver"
|
||||||
make -C "libpurple/protocols" DESTDIR="$pkgdir" install
|
make -C "libpurple/protocols/sametime" DESTDIR="$pkgdir" install
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue