summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nonprism/kdenetwork-kopete-libre-nonprism/PKGBUILD46
1 files changed, 24 insertions, 22 deletions
diff --git a/nonprism/kdenetwork-kopete-libre-nonprism/PKGBUILD b/nonprism/kdenetwork-kopete-libre-nonprism/PKGBUILD
index 363970604..167f2a659 100644
--- a/nonprism/kdenetwork-kopete-libre-nonprism/PKGBUILD
+++ b/nonprism/kdenetwork-kopete-libre-nonprism/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 212682 2014-05-14 20:07:22Z svenstaro $
+# $Id: PKGBUILD 214073 2014-06-03 09:46:26Z andrea $
# Maintainer (Arch): Andrea Scarpino <andrea@archlinux.org>
# Maintainer: André Silva <emulatorman@parabola.nu>
_pkgname=kdenetwork-kopete
pkgname=kdenetwork-kopete-libre-nonprism
pkgver=4.13.1
-pkgrel=1
+pkgrel=3
pkgdesc='Instant Messenger, without nonfree Skype support and support for unsafe and dangerous for privacy protocols'
url='http://kde.org/applications/internet/kopete/'
arch=('i686' 'x86_64' 'mips64el')
@@ -16,7 +16,7 @@ conflicts=($_pkgname)
provides=($_pkgname=$pkgver)
depends=('kdebase-runtime' 'kdepimlibs' 'qca-ossl' 'libotr' 'libidn'
'qimageblitz' 'mediastreamer' 'jsoncpp')
-makedepends=('cmake' 'automoc4' 'boost')
+makedepends=('cmake' 'automoc4' 'boost' 'kdepim-libkdepim')
install=${_pkgname}.install
source=("http://download.kde.org/stable/${pkgver}/src/kopete-${pkgver}.tar.xz"
'libre-nonprism.patch')
@@ -26,25 +26,15 @@ sha1sums=('99e47bba25606fdccbe1ac04346e9c3acad254d1'
prepare() {
cd kopete-${pkgver}
# 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' protocols/CMakeLists.txt
- rm -rf protocols/skype
+ rm -rv protocols/skype
# remove unsafe/dangerous services
- sed -i 's/Oscar (ICQ and AIM) protocol" ON/Oscar (ICQ and AIM) protocol" OFF/g' protocols/CMakeLists.txt
- rm -rf protocols/oscar
- sed -i 's/Yahoo protocol" ON/Yahoo protocol" OFF/g' protocols/CMakeLists.txt
- rm -rf protocols/yahoo
- sed -i 's/QQ protocol" ON/QQ protocol" OFF/g' protocols/CMakeLists.txt
- rm -rf protocols/qq
- sed -i 's/Novell GroupWise Messenger protocol" ON/Novell GroupWise Messenger protocol" OFF/g' protocols/CMakeLists.txt
- rm -rf protocols/groupwise
- sed -i 's/Gadu-Gadu protocol" ON/Gadu-Gadu protocol" OFF/g' protocols/CMakeLists.txt
- rm -rf protocols/gadu
- sed -i 's/Google Talk support" ON/Google Talk support" OFF/g' protocols/CMakeLists.txt
- sed -i 's/Window Live Messenger support" ON/Window Live Messenger support" OFF/g' protocols/CMakeLists.txt
- rm -rf protocols/wlm
- sed -i 's/Windows Live Messenger voice clip support" ON/Windows Live Messenger voice clip support" OFF/g' protocols/CMakeLists.txt
- sed -i 's/meanwhile protocol" ON/meanwhile protocol" OFF/g' protocols/CMakeLists.txt
- rm -rf protocols/meanwhile
+ rm -rv protocols/oscar
+ rm -rv protocols/yahoo
+ rm -rv protocols/qq
+ rm -rv protocols/groupwise
+ rm -rv protocols/gadu
+ rm -rv protocols/wlm
+ rm -rv protocols/meanwhile
patch -p1 -i "${srcdir}"/libre-nonprism.patch
cd ..
mkdir build
@@ -56,7 +46,19 @@ build() {
-DCMAKE_BUILD_TYPE=Release \
-DKDE4_BUILD_TESTS=OFF \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_SKIP_RPATH=ON
+ -DCMAKE_SKIP_RPATH=ON \
+ -DWITH_Libmsn=OFF \
+ -DWITH_Libgadu=OFF \
+ -DWITH_skype=OFF \
+ -DWITH_oscar=OFF \
+ -DWITH_yahoo=OFF \
+ -DWITH_qq=OFF \
+ -DWITH_groupwise=OFF \
+ -DWITH_gadu=OFF \
+ -DWITH_GOOGLETALK=OFF \
+ -DWITH_wlm=OFF \
+ -DWITH_WLM_MEDIASTREAMER=OFF \
+ -DWITH_meanwhile=OFF
make
}