summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorpetres2015-06-14 19:25:30 +0200
committerpetres2015-06-14 19:25:30 +0200
commit07fc3dca2db4e553a453cb7363eea57ac082086b (patch)
treed95a1ce7bfa888f21cfce0f8d4d2b2e3d0feea4b
downloadaur-07fc3dca2db4e553a453cb7363eea57ac082086b.tar.gz
Initial import
-rw-r--r--.SRCINFO25
-rw-r--r--PKGBUILD78
2 files changed, 103 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d60453e6548
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,25 @@
+pkgbase = libpurple-meanwhile
+ pkgdesc = Pidgin Instant Messenger plugin for Sametime support
+ pkgver = 2.10.11
+ pkgrel = 1
+ url = http://pidgin.im/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = make
+ makedepends = libtool
+ makedepends = pkg-config
+ makedepends = glib2
+ makedepends = libxml2
+ makedepends = meanwhile
+ makedepends = libpurple
+ depends = glib2
+ depends = meanwhile
+ depends = libpurple
+ provides = libpurple-meanwhile
+ options = !libtool
+ source = http://downloads.sourceforge.net/pidgin/pidgin-2.10.11.tar.bz2
+ sha256sums = f2ae211341fc77efb9945d40e9932aa535cdf3a6c8993fe7919fca8cc1c04007
+
+pkgname = libpurple-meanwhile
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2afc4ef3e7f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,78 @@
+# 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>
+
+
+pkgname=libpurple-meanwhile
+pkgver=2.10.11
+pkgrel=1
+arch=('i686' 'x86_64')
+url="http://pidgin.im/"
+license=('GPL')
+pkgdesc="Pidgin Instant Messenger plugin for Sametime support"
+makedepends=('make' 'libtool' 'pkg-config' 'glib2' 'libxml2'
+ 'meanwhile' 'libpurple')
+depends=('glib2' 'meanwhile' 'libpurple')
+provides=('libpurple-meanwhile')
+options=('!libtool')
+source=(http://downloads.sourceforge.net/pidgin/pidgin-$pkgver.tar.bz2)
+sha256sums=('f2ae211341fc77efb9945d40e9932aa535cdf3a6c8993fe7919fca8cc1c04007')
+
+build() {
+ cd "$srcdir/pidgin-$pkgver"
+
+ # Override all the defaults, the plugin only needs the basics - this
+ # prevents all sorts of extra libraries being linked to the finished
+ # libsametime.so that a user may have installed, as well as avoiding
+ # auto-detection of TCL/TK and so forth.
+ PKG_CONFIG="" \
+ 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 \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --with-python=/usr/bin/python2 \
+ --with-dynamic-prpls=sametime \
+ --enable-silent-rules \
+ --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"
+ make
+}
+
+package(){
+ cd "$srcdir/pidgin-$pkgver"
+ make -C "libpurple/protocols/sametime" DESTDIR="$pkgdir" install
+}
+