summaryrefslogtreecommitdiff
path: root/nonprism/pidgin/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'nonprism/pidgin/PKGBUILD')
-rw-r--r--nonprism/pidgin/PKGBUILD28
1 files changed, 16 insertions, 12 deletions
diff --git a/nonprism/pidgin/PKGBUILD b/nonprism/pidgin/PKGBUILD
index 884acc1a2..8bd8211ae 100644
--- a/nonprism/pidgin/PKGBUILD
+++ b/nonprism/pidgin/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 246551 2015-09-17 23:00:49Z foutrelis $
+# $Id: PKGBUILD 248318 2015-10-03 23:12:21Z foutrelis $
# Maintainer (Arch): Evangelos Foutras <evangelos@foutrelis.com>
# Contributor (Arch): Ionut Biru <ibiru@archlinux.org>
# Contributor (Arch): Andrea Scarpino <andrea@archlinux.org>
@@ -10,27 +10,35 @@
pkgname=pidgin
pkgname=('pidgin' 'libpurple' 'finch')
pkgver=2.10.11
-pkgrel=3.nonprism1
+pkgrel=4.nonprism1
arch=('i686' 'x86_64')
url="http://pidgin.im/"
license=('GPL')
makedepends=('startup-notification' 'gtkspell' 'libxss' 'nss' 'libsasl' 'libsm'
- 'libidn' 'python2' 'hicolor-icon-theme' 'farstream-0.1'
+ 'libidn' 'python2' 'hicolor-icon-theme' 'farstream'
'avahi' 'tk' 'ca-certificates' 'intltool' 'networkmanager')
source=(https://downloads.sourceforge.net/project/$pkgname/Pidgin/$pkgver/$pkgname-$pkgver.tar.bz2
+ pidgin-2.10.11-gstreamer1.patch
nonprism.patch)
sha256sums=('f2ae211341fc77efb9945d40e9932aa535cdf3a6c8993fe7919fca8cc1c04007'
+ '0b083115c4cc05e6da1d1e66fd1b9c33167417a43c12d932f664e6d87dc0afbe'
'f720dc9aca3191b65cd89828ab7266e06d93203b7f0de9ac6b506227b00b0bc0')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
- msg 'remove Google Talk and Facebook protocols'
+ # Backport support for GStreamer 1.0
+ patch -Np1 -i ../pidgin-2.10.11-gstreamer1.patch
+
+ msg "Remove Google Talk and Facebook protocols"
patch -Np1 -i "$srcdir/nonprism.patch"
- msg 'remove wrong OS term'
+
+ msg "Remove wrong OS term"
sed -i 's|on Linux|on GNU/Linux|' libpurple/valgrind.h
sed -i 's|On Linux|On GNU/Linux|' libpurple/connection.h
+ autoreconf -vi
+
# Use Python 2
sed -i 's/env python$/&2/' */plugins/*.py \
libpurple/purple-{remote,notifications-example,url-handler}
@@ -57,7 +65,7 @@ build() {
package_pidgin(){
pkgdesc="Multi-protocol instant messaging client, without support for unsafe and dangerous for privacy protocols"
depends=('libpurple' 'startup-notification' 'gtkspell' 'libxss' 'libsm'
- 'hicolor-icon-theme')
+ 'gst-plugins-base' 'gst-plugins-good' 'hicolor-icon-theme')
optdepends=('aspell: for spelling correction')
conflicts=(${pkgname}-nonprism)
replaces=(${pkgname}-nonprism)
@@ -83,7 +91,7 @@ package_pidgin(){
rm -v "$pkgdir"/usr/share/pixmaps/pidgin/protocols/{16,22,48}/{aim,facebook,gadu-gadu,icq,meanwhile,msn,mxit,myspace,novell,yahoo}.png
rm -v "$pkgdir"/usr/share/pixmaps/pidgin/protocols/scalable/{aim,gadu-gadu,google-talk,icq,meanwhile,msn,mxit,novell,yahoo}.svg
- msg "patch pidgin desktop"
+ msg "Pidgin desktop patching"
sed -i "\|Comment\[|d
s|Supports AIM, Google Talk, Jabber/XMPP, MSN, Yahoo and more|Supports Jabber/XMPP and more|
" "$pkgdir"/usr/share/applications/pidgin.desktop
@@ -91,7 +99,7 @@ package_pidgin(){
package_libpurple(){
pkgdesc="IM library extracted from Pidgin, without support for unsafe and dangerous for privacy protocols"
- depends=('farstream-0.1' 'libsasl' 'libidn' 'dbus-glib' 'nss')
+ depends=('farstream' 'libsasl' 'libidn' 'dbus-glib' 'nss')
optdepends=('avahi: Bonjour protocol support'
'ca-certificates: SSL CA certificates'
'python2-dbus: for purple-remote and purple-url-handler'
@@ -104,10 +112,6 @@ package_libpurple(){
for _dir in libpurple share/sounds share/ca-certs m4macros po; do
make -C "$_dir" DESTDIR="$pkgdir" install
done
-
- # Remove GConf schema file
- rm "$pkgdir/etc/gconf/schemas/purple.schemas"
- rmdir "$pkgdir"/etc{/gconf{/schemas,},}
}
package_finch(){