summaryrefslogtreecommitdiff
path: root/libre/libpurple-bridgin
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2021-06-04 14:07:58 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2021-06-04 18:18:32 -0400
commit6051e1bb3bcda859daea265c76694c1934d4fdb3 (patch)
tree83a03e4b450704639e41bdd0ea5c4c8a343f113c /libre/libpurple-bridgin
parent324d13791ba20b49d7831cb3a1c6c664482372f6 (diff)
downloadabslibre-6051e1bb3bcda859daea265c76694c1934d4fdb3.tar.gz
abslibre-6051e1bb3bcda859daea265c76694c1934d4fdb3.tar.bz2
abslibre-6051e1bb3bcda859daea265c76694c1934d4fdb3.zip
[pidgin-bridgin]: rename to libpurple-bridgin
Diffstat (limited to 'libre/libpurple-bridgin')
-rw-r--r--libre/libpurple-bridgin/PKGBUILD74
1 files changed, 74 insertions, 0 deletions
diff --git a/libre/libpurple-bridgin/PKGBUILD b/libre/libpurple-bridgin/PKGBUILD
new file mode 100644
index 000000000..7e2250107
--- /dev/null
+++ b/libre/libpurple-bridgin/PKGBUILD
@@ -0,0 +1,74 @@
+# Maintainer (arch): Evangelos Foutras <evangelos@foutrelis.com>
+# Contributor: Ionut Biru <ibiru@archlinux.org>
+# Contributor: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Alexander Fehr <pizzapunk gmail com>
+# Contributor: Lucien Immink <l.immink@student.fnt.hvu.nl>
+# Contributor: André Silva <emulatorman@hyperbola.info>
+# Contributor: Márcio Silva <coadde@hyperbola.info>
+# Contributor: bill-auger <bill-auger@programmer.net>
+
+
+# parabola changes and rationale:
+# - in [libre] for pbot
+# NOTE: this PKGBUILD is actually 'pidgin'
+
+
+pkgname='libpurple-bridgin'
+pkgver=0.5.1
+_pidginname=pidgin
+_pidginver=2.14.4
+pkgrel=1
+pkgdesc="pidgin/finch plugin, to bridge chat conversations"
+arch=('x86_64')
+arch+=('armv7h' 'i686')
+url="https://pidgin.im/"
+license=('GPL')
+makedepends=('startup-notification' 'gtkspell' 'libxss' 'nss' 'libsasl' 'libsm'
+ 'libidn' 'libgadu' 'python' 'hicolor-icon-theme' 'farstream' 'tk'
+ 'libnsl' 'avahi' 'ca-certificates' 'intltool' 'libnm' 'dbus-glib'
+ 'libgnt' 'libxcrypt')
+depends=('libpurple')
+options=('!emptydirs')
+source=(https://downloads.sourceforge.net/project/pidgin/Pidgin/$_pidginver/$_pidginname-$_pidginver.tar.bz2{,.asc})
+source+=(bridgin-$pkgver.tar.gz::https://github.com/bill-auger/bridgin/archive/v$pkgver.tar.gz)
+sha256sums=('67c1a0104b0624a50100c6d73cd5504d53c9d221922b1b28fa86020531a9904e'
+ 'SKIP')
+sha256sums+=('c9c3b9824def963d7c3bee9c7d1e5684cc67f747ca4791ba93e55b667352d965')
+validpgpkeys=('40DE1DC7288FE3F50AB938C548F66AFFD9BDB729') # Gary Kramlich <grim@reaperworld.com>
+
+
+prepare() {
+ cd ${_pidginname}-${_pidginver}
+
+ # copy bridgin sources into plugins/ workdir
+ cp "${srcdir}"/bridgin-$pkgver/* libpurple/plugins/
+}
+
+build() {
+ cd ${_pidginname}-${_pidginver}
+
+ # compile libpurple/pidgin/finch
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --disable-schemas-install \
+ --disable-gevolution \
+ --disable-meanwhile \
+ --disable-gnutls \
+ --enable-cyrus-sasl \
+ --disable-doxygen \
+ --enable-nm \
+ --with-system-ssl-certs=/etc/ssl/certs
+ make
+
+ # compile bridgin plugin
+ cd libpurple/plugins/
+ make ./bridgin.so
+}
+
+package()
+{
+ cd ${_pidginname}-${_pidginver}
+
+ install -Dm644 libpurple/plugins/bridgin.so "${pkgdir}"/usr/lib/purple-2/bridgin.so
+}