summaryrefslogtreecommitdiff
path: root/nonprism/empathy
diff options
context:
space:
mode:
Diffstat (limited to 'nonprism/empathy')
-rw-r--r--nonprism/empathy/PKGBUILD41
-rw-r--r--nonprism/empathy/empathy.install16
2 files changed, 57 insertions, 0 deletions
diff --git a/nonprism/empathy/PKGBUILD b/nonprism/empathy/PKGBUILD
new file mode 100644
index 000000000..9b427d666
--- /dev/null
+++ b/nonprism/empathy/PKGBUILD
@@ -0,0 +1,41 @@
+# $Id: PKGBUILD 249326 2015-10-14 14:29:56Z heftig $
+# Maintainer (Arch): Ionut Biru <ibiru@archlinux.org>
+# Maintainer: André Silva <emulatorman@parabola.nu>
+
+pkgname=empathy
+pkgver=3.12.11
+pkgrel=1.nonprism1
+pkgdesc="A GNOME instant messaging client using the Telepathy framework, without geoclue2 support"
+arch=(i686 x86_64)
+url="http://live.gnome.org/Empathy"
+license=(GPL2)
+depends=(clutter-gst2 clutter-gtk folks gcr iso-codes libcanberra libpulse webkitgtk
+ telepathy-farstream telepathy-glib telepathy-logger telepathy-mission-control
+ geocode-glib cheese libchamplain libgudev)
+makedepends=(intltool itstool docbook-xsl python2)
+optdepends=('telepathy-gabble: XMPP/Jabber support'
+ 'telepathy-idle: IRC support'
+ 'telepathy-salut: Link-local XMPP support'
+ 'telepathy-rakia: SIP support'
+ 'telepathy-haze: libpurple support')
+options=('!makeflags')
+groups=(gnome)
+install=empathy.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
+sha256sums=('d1e4ff4e5f502b7f4ca2c6140462bad2a712b82f019aea4e0a2700e77545d487')
+
+build() {
+ cd $pkgname-$pkgver
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib/empathy \
+ --disable-static \
+ --enable-location=no
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
diff --git a/nonprism/empathy/empathy.install b/nonprism/empathy/empathy.install
new file mode 100644
index 000000000..f8d2dfb1f
--- /dev/null
+++ b/nonprism/empathy/empathy.install
@@ -0,0 +1,16 @@
+post_install() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+ echo "To use Empathy you need to install at least one Telepathy connection manager."
+}
+
+post_upgrade() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
+
+post_remove() {
+ post_upgrade
+}