diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-08-20 04:42:28 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-08-20 04:42:28 -0300 |
commit | f47d70789def071ce501505d51c90099121aef9c (patch) | |
tree | 1c083455cf51166dfebdb426b188e1cebf860bdf /nonprism/kdenetwork-kopete-libre-nonprism/PKGBUILD | |
parent | 97161d7676a9268aa73ee18c51fb3d45afad19db (diff) | |
download | abslibre-f47d70789def071ce501505d51c90099121aef9c.tar.gz abslibre-f47d70789def071ce501505d51c90099121aef9c.tar.bz2 abslibre-f47d70789def071ce501505d51c90099121aef9c.zip |
kdenetwork-kopete-libre-nonprism: add new package to nonprism repo
Diffstat (limited to 'nonprism/kdenetwork-kopete-libre-nonprism/PKGBUILD')
-rw-r--r-- | nonprism/kdenetwork-kopete-libre-nonprism/PKGBUILD | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/nonprism/kdenetwork-kopete-libre-nonprism/PKGBUILD b/nonprism/kdenetwork-kopete-libre-nonprism/PKGBUILD new file mode 100644 index 000000000..d41efa232 --- /dev/null +++ b/nonprism/kdenetwork-kopete-libre-nonprism/PKGBUILD @@ -0,0 +1,71 @@ +# $Id: PKGBUILD 192541 2013-08-13 18:47:05Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> +# Maintainer (Parabola): André Silva <emulatorman@lavabit.com> + +_pkgname=kdenetwork-kopete +pkgname=kdenetwork-kopete-libre-nonprism +pkgver=4.11.0 +pkgrel=1 +pkgdesc='Instant Messenger, without skype and unsafe/dangerous protocols support' +url='http://kde.org/applications/internet/kopete/' +arch=('i686' 'x86_64' 'mips64el') +license=('GPL' 'LGPL' 'FDL') +groups=('kde' 'kdenetwork') +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' + 'libre-nonprism.patch') +sha1sums=('a67716f14a07cdbacf3df40983db17f594eb768b' + '9c3b0ee15538fbfa36aa0a4748b1f6b5a7905384' + '317683a5c2acd0a0058c5ab42f6006e9db511ef3' + '3c46e5c80ef0cd3f6fe9fb6d5cb8c252c6792208') + +prepare() { + 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' protocols/CMakeLists.txt + rm -rf 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 + patch -p1 -i "${srcdir}"/libre-nonprism.patch +} + +build() { + 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() { + cd build + make DESTDIR=$pkgdir install +} |