From e731acf39e2d81617b73703e1c4f46fffd69d0fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Tue, 4 Sep 2012 19:22:38 -0300 Subject: kdenetwork-kopete-libre-4.9.1-1: KDE 4.9.1 --- libre-testing/kdenetwork-kopete-libre/PKGBUILD | 54 ++++++++++++++++++++++ .../kdenetwork-kopete.install | 12 +++++ .../kdenetwork-kopete-libre/kdenetwork.install | 11 +++++ 3 files changed, 77 insertions(+) create mode 100644 libre-testing/kdenetwork-kopete-libre/PKGBUILD create mode 100644 libre-testing/kdenetwork-kopete-libre/kdenetwork-kopete.install create mode 100644 libre-testing/kdenetwork-kopete-libre/kdenetwork.install (limited to 'libre-testing') diff --git a/libre-testing/kdenetwork-kopete-libre/PKGBUILD b/libre-testing/kdenetwork-kopete-libre/PKGBUILD new file mode 100644 index 000000000..0ec26edcd --- /dev/null +++ b/libre-testing/kdenetwork-kopete-libre/PKGBUILD @@ -0,0 +1,54 @@ +# $Id: PKGBUILD 165994 2012-09-03 21:52:07Z andrea $ +# Maintainer: Andrea Scarpino +# Contributor: Pierre Schmitz +# Maintainer (Parabola): André Silva + +pkgbase=kdenetwork +pkgname=('kdenetwork-kopete-libre') +pkgver=4.9.1 +pkgrel=1 +arch=('i686' 'x86_64') +url='http://www.kde.org' +license=('GPL' 'LGPL' 'FDL') +groups=('kde' 'kdenetwork') +makedepends=('cmake' 'automoc4' 'boost' 'speex' 'ortp' 'libotr' 'ppp' + 'qca-ossl' 'kdebase-workspace' 'kdebase-lib' 'libvncserver' + 'v4l-utils' 'libidn' 'qimageblitz' 'libxdamage' 'libgadu' 'libmsn' + 'libktorrent' 'libmms' 'mediastreamer' 'telepathy-qt') +source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz") +sha1sums=('22f8cde8b5617ba7e401d82b0669a06899b17320') + +build() { + cd "${srcdir}" +# 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}/doc/kopete/index.docbook" + + mkdir build + cd build + cmake ../${pkgbase}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -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 +} + +package_kdenetwork-kopete-libre() { + pkgdesc='Instant Messenger (without skype support)' + depends=('kdebase-runtime' 'kdepimlibs' 'qca-ossl' 'libotr' 'libmsn' + 'libidn' 'qimageblitz' 'libgadu' 'mediastreamer') + 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/doc/kopete + make DESTDIR=$pkgdir install +} diff --git a/libre-testing/kdenetwork-kopete-libre/kdenetwork-kopete.install b/libre-testing/kdenetwork-kopete-libre/kdenetwork-kopete.install new file mode 100644 index 000000000..5495fb1b5 --- /dev/null +++ b/libre-testing/kdenetwork-kopete-libre/kdenetwork-kopete.install @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/libre-testing/kdenetwork-kopete-libre/kdenetwork.install b/libre-testing/kdenetwork-kopete-libre/kdenetwork.install new file mode 100644 index 000000000..e70c054ec --- /dev/null +++ b/libre-testing/kdenetwork-kopete-libre/kdenetwork.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} -- cgit v1.2.3