summaryrefslogtreecommitdiff
path: root/nonprism/empathy-nonprism
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-08-20 01:03:50 -0300
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-08-20 01:03:50 -0300
commitf6fdbc4ba29f50f77c6ec1cbce249569551c6cfc (patch)
tree64bf1197fd3f13baa8fb1ea30671540cf21c27f7 /nonprism/empathy-nonprism
parent54dc76aa52ec1f0feb46e36604fa7a15fa8062d6 (diff)
downloadabslibre-f6fdbc4ba29f50f77c6ec1cbce249569551c6cfc.tar.gz
abslibre-f6fdbc4ba29f50f77c6ec1cbce249569551c6cfc.tar.bz2
abslibre-f6fdbc4ba29f50f77c6ec1cbce249569551c6cfc.zip
move coherence to nonprism repo
Diffstat (limited to 'nonprism/empathy-nonprism')
-rw-r--r--nonprism/empathy-nonprism/PKGBUILD39
-rw-r--r--nonprism/empathy-nonprism/empathy.install16
2 files changed, 55 insertions, 0 deletions
diff --git a/nonprism/empathy-nonprism/PKGBUILD b/nonprism/empathy-nonprism/PKGBUILD
new file mode 100644
index 000000000..de0eca1e9
--- /dev/null
+++ b/nonprism/empathy-nonprism/PKGBUILD
@@ -0,0 +1,39 @@
+
+_pkgname=empathy
+pkgname=empathy-coherence
+pkgver=3.8.3
+pkgrel=1
+pkgdesc="A GNOME instant messaging client using the Telepathy framework without support for nonfree, unsafe and dangerous for privacy protocols"
+arch=(i686 x86_64)
+url="http://live.gnome.org/Empathy"
+license=(GPL2)
+depends=(clutter-gst clutter-gtk folks gcr iso-codes libcanberra libpulse webkitgtk3 telepathy-farstream telepathy-glib telepathy-logger telepathy-mission-control)
+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')
+options=('!libtool' '!makeflags')
+groups=(gnome)
+install=empathy.install
+replaces=$_pkgname
+conflicts=$_pkgname
+provides=$_pkgname=$pkgver
+source=(http://ftp.gnome.org/pub/GNOME/sources/$_pkgname/${pkgver:0:3}/$_pkgname-$pkgver.tar.xz)
+sha256sums=('61e547c6f0929b3111219349482e2395a32f41bbd0852046405d835acba965c0')
+
+build() {
+ cd $_pkgname-$pkgver
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib/empathy \
+ --disable-static
+ 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-nonprism/empathy.install b/nonprism/empathy-nonprism/empathy.install
new file mode 100644
index 000000000..4c5b64313
--- /dev/null
+++ b/nonprism/empathy-nonprism/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
+} \ No newline at end of file