summaryrefslogtreecommitdiff
path: root/libre/kdenetwork-kopete-libre/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-08-19 14:26:05 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-08-19 14:26:05 -0300
commit5fa644227cb2c395249d843dc0a814c1b9982a50 (patch)
tree04a9a675f85cd6087a0ab0b011c6de969c346813 /libre/kdenetwork-kopete-libre/PKGBUILD
parent0e3fa90965b0af932c0372eb51c4ccf273b3d989 (diff)
kde packages: updating libre packages to 4.11.0 version
Diffstat (limited to 'libre/kdenetwork-kopete-libre/PKGBUILD')
-rw-r--r--libre/kdenetwork-kopete-libre/PKGBUILD87
1 files changed, 37 insertions, 50 deletions
diff --git a/libre/kdenetwork-kopete-libre/PKGBUILD b/libre/kdenetwork-kopete-libre/PKGBUILD
index 4f4f0edf9..d1d12c749 100644
--- a/libre/kdenetwork-kopete-libre/PKGBUILD
+++ b/libre/kdenetwork-kopete-libre/PKGBUILD
@@ -1,65 +1,52 @@
-# $Id: PKGBUILD 191752 2013-07-30 08:53:59Z andrea $
+# $Id: PKGBUILD 192541 2013-08-13 18:47:05Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
-# Contributor: Pierre Schmitz <pierre@archlinux.de>
# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
-pkgbase=kdenetwork
-pkgname=('kdenetwork-kopete-libre')
-pkgver=4.10.5
-pkgrel=2
+_pkgname=kdenetwork-kopete
+pkgname=kdenetwork-kopete-libre
+pkgver=4.11.0
+pkgrel=1
+pkgdesc='Instant Messenger, without skype support'
+url='http://kde.org/applications/internet/kopete/'
arch=('i686' 'x86_64' 'mips64el')
-url='http://www.kde.org'
license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdenetwork')
-makedepends=('cmake' 'automoc4' 'boost' 'speex' 'libotr3' 'ppp'
- 'qca-ossl' 'kdebase-workspace' 'kdebase-lib' 'libvncserver'
- 'v4l-utils' 'libidn' 'qimageblitz' 'libxdamage' 'libgadu' 'libmsn'
- 'libktorrent' 'libmms' 'telepathy-qt')
-source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz"
- 'use-libotr3.patch'
- 'giflib5.patch')
-sha1sums=('3ee86a1a227593e9f37881da3c1db1a3c384b2e4'
+depends=('kdebase-runtime' 'kdepimlibs' 'qca-ossl' 'libotr3' 'libmsn' 'libidn'
+ 'qimageblitz' 'libgadu' 'mediastreamer' 'jsoncpp')
+makedepends=('cmake' 'automoc4' 'boost')
+install=${_pkgname}.install
+replaces=$_pkgname
+conflicts=$_pkgname
+provides=$_pkgname=$pkgver
+source=("http://download.kde.org/stable/${pkgver}/src/kopete-${pkgver}.tar.xz"
+ 'libotr3.patch'
+ 'mediastreamer29.patch')
+sha1sums=('a67716f14a07cdbacf3df40983db17f594eb768b'
'9c3b0ee15538fbfa36aa0a4748b1f6b5a7905384'
- '388319373e96e6f44446ea1132c35ae9f660e01c')
+ '317683a5c2acd0a0058c5ab42f6006e9db511ef3')
prepare() {
- cd ${pkgbase}-${pkgver}
- patch -p1 -i "${srcdir}"/use-libotr3.patch
- cd kopete
- patch -p1 -i "${srcdir}"/giflib5.patch
- cd ../../
- # Based on http://bzr.trisquel.info/package-helpers/trunk/annotate/head%3A/helpers/natty/make-kdenetwork, revision 34.
- sed -i 's/Skype protocol" ON/Skype protocol" OFF/g' "${pkgbase}-${pkgver}/kopete/protocols/CMakeLists.txt"
- rm -rf "${pkgbase}-${pkgver}/kopete/protocols/skype"
- sed 's/, Skype//' -i "${pkgbase}-${pkgver}/kopete/doc/index.docbook"
+ cd kopete-${pkgver}
+ patch -p2 -i "${srcdir}"/libotr3.patch
+ patch -p1 -i "${srcdir}"/mediastreamer29.patch
+ # Based on http://bzr.trisquel.info/package-helpers/trunk/annotate/head%3A/helpers/natty/make-kdenetwork, revision 34.
+ sed -i 's/Skype protocol" ON/Skype protocol" OFF/g' "${pkgbase}-${pkgver}/kopete/protocols/CMakeLists.txt"
+ rm -rf "${pkgbase}-${pkgver}/kopete/protocols/skype"
+ sed 's/, Skype//' -i "${pkgbase}-${pkgver}/kopete/doc/index.docbook"
}
build() {
- mkdir build
- cd build
- cmake ../${pkgbase}-${pkgver} \
- -DCMAKE_BUILD_TYPE=Release \
- -DKDE4_BUILD_TESTS=OFF \
- -DCMAKE_SKIP_RPATH=ON \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DMOZPLUGIN_INSTALL_DIR=/usr/lib/mozilla/plugins/ \
- -DWITH_Xmms=OFF \
- -DWITH_LibMeanwhile=OFF \
- -DWITH_qq=OFF
- make
+ mkdir build
+ cd build
+ cmake ../kopete-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_SKIP_RPATH=ON
+ make
}
-package_kdenetwork-kopete-libre() {
- pkgdesc='Instant Messenger, without skype support'
- depends=('kdebase-runtime' 'kdepimlibs' 'qca-ossl' 'libotr3' 'libmsn'
- 'libidn' 'qimageblitz' 'libgadu')
- conflicts=('kdenetwork-kopete')
- provides=("kdenetwork-kopete=${pkgver}")
- replaces=('kdenetwork-kopete')
- url="http://kde.org/applications/internet/kopete/"
- install='kdenetwork-kopete.install'
- cd $srcdir/build/kopete
- make DESTDIR=$pkgdir install
- cd $srcdir/build/kopete/doc
- make DESTDIR=$pkgdir install
+package() {
+ cd build
+ make DESTDIR=$pkgdir install
}