summaryrefslogtreecommitdiff
path: root/libre/kdenetwork-kopete/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/kdenetwork-kopete/PKGBUILD')
-rw-r--r--libre/kdenetwork-kopete/PKGBUILD19
1 files changed, 13 insertions, 6 deletions
diff --git a/libre/kdenetwork-kopete/PKGBUILD b/libre/kdenetwork-kopete/PKGBUILD
index 76b586d99..2a1f4429b 100644
--- a/libre/kdenetwork-kopete/PKGBUILD
+++ b/libre/kdenetwork-kopete/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 232776 2015-03-04 15:56:00Z fyan $
+# $Id: PKGBUILD 233875 2015-03-15 14:51:39Z arojas $
# Maintainer (Arch): Andrea Scarpino <andrea@archlinux.org>
# Maintainer: André Silva <emulatorman@parabola.nu>
pkgname=kdenetwork-kopete
pkgver=14.12.3
-pkgrel=1.parabola1
+pkgrel=2.parabola1
pkgdesc='Instant Messenger, without nonfree Skype support'
url='http://kde.org/applications/internet/kopete/'
arch=('i686' 'x86_64' 'mips64el')
@@ -13,11 +13,14 @@ groups=('kde' 'kdenetwork')
replaces=(${pkgname}-libre)
conflicts=(${pkgname}-libre)
depends=('kdebase-runtime' 'kdepimlibs' 'qca-ossl' 'libotr' 'libidn'
- 'qimageblitz' 'libgadu' 'mediastreamer' 'jsoncpp')
-makedepends=('cmake' 'automoc4' 'boost' 'kdepim-libkdepim')
+ 'qimageblitz' 'libgadu' 'jsoncpp')
+makedepends=('cmake' 'automoc4' 'boost' 'kdepim-libkdepim' 'mediastreamer')
+optdepends=('mediastreamer: jingle support')
install=${pkgname}.install
-source=("http://download.kde.org/stable/applications/${pkgver}/src/kopete-${pkgver}.tar.xz")
-sha1sums=('7582f0ee8198fa62a5f02c6e532b993258df6fd8')
+source=("http://download.kde.org/stable/applications/${pkgver}/src/kopete-${pkgver}.tar.xz"
+ 'mediastreamer-2.11.patch')
+sha1sums=('7582f0ee8198fa62a5f02c6e532b993258df6fd8'
+ '7999bb62c2c228ef1ee9056e4f1b910b8cb02fcf')
prepare() {
cd kopete-${pkgver}
@@ -26,6 +29,10 @@ prepare() {
sed 's/, Skype//' -i doc/index.docbook
cd ..
mkdir build
+
+# fix compilation with mediastreamer 2.11
+ cd kopete-$pkgver
+ patch -p1 -i "$srcdir"/mediastreamer-2.11.patch
}
build() {