summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre')
-rw-r--r--libre/kdenetwork-kopete/PKGBUILD48
1 files changed, 27 insertions, 21 deletions
diff --git a/libre/kdenetwork-kopete/PKGBUILD b/libre/kdenetwork-kopete/PKGBUILD
index 4be5a3e31..0c539fd77 100644
--- a/libre/kdenetwork-kopete/PKGBUILD
+++ b/libre/kdenetwork-kopete/PKGBUILD
@@ -6,22 +6,26 @@
# Contributor (Arch): Andrea Scarpino <andrea@archlinux.org>
pkgname=kdenetwork-kopete
-pkgver=17.08.2
+
+pkgver=17.08.3
pkgrel=1.parabola1
-pkgdesc='Instant Messenger, without nonfree Skype support'
-url='https://kde.org/applications/internet/kopete/'
-arch=('i686' 'x86_64' 'armv7h')
-license=('GPL' 'LGPL' 'FDL')
-groups=('kde-applications' 'kdenetwork')
-depends=('kdebase-runtime' 'libotr' 'qimageblitz' 'kdepimlibs4' 'qca-qt4')
-makedepends=('cmake' 'automoc4' 'boost' 'mediastreamer' 'libgadu' 'jsoncpp' 'openssl-1.0')
+arch=(i686 x86_64 armv7h)
+
+pkgdesc="Instant Messenger, without nonfree Skype support"
+url="https://kde.org/applications/internet/kopete/"
+license=(GPL LGPL FDL)
+
+makedepends=(cmake automoc4 boost mediastreamer libgadu jsoncpp openssl-1.0)
+depends=(kdebase-runtime libotr qimageblitz kdepimlibs4 qca-qt4)
optdepends=('mediastreamer: jingle support'
'libgadu: Gadu-Gadu protocol'
'openssl-1.0: jingle support')
-source=("https://download.kde.org/stable/applications/${pkgver}/src/kopete-${pkgver}.tar.xz"{,.sig}
+groups=(kde-applications kdenetwork)
+
+source=("https://download.kde.org/stable/applications/$pkgver/src/kopete-$pkgver.tar.xz"{,.sig}
'kopete-mediastreamer2.14.patch'
'kopete-pthread-link.patch')
-sha256sums=('ab2ab319cf7806e7336e4964889da6f0aa1fd3b3a4a1b7f4d2e88be034167506'
+sha256sums=('f86ccc1ca809c723d1baf2eed745f158337059263555f6fafa23ea200aacafec'
'SKIP'
'c34a268aaa058e563174581dbe37c15fed91e82326ec704d2a872463139865e0'
'a7ebdd8dd4336b7ec085ef254bf18040f473b73379a8cd84569b28441a6c71df')
@@ -29,25 +33,26 @@ validpgpkeys=('CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7' # Albert Astals Cid <a
'F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87') # Christoph Feck <cfeck@kde.org>
prepare() {
+ mkdir -p build
+
cd kopete-$pkgver
-# Based on http://bzr.trisquel.info/package-helpers/trunk/annotate/head%3A/helpers/natty/make-kdenetwork, revision 34.
+
+ # Based on http://bzr.trisquel.info/package-helpers/trunk/annotate/head%3A/helpers/natty/make-kdenetwork, revision 34.
rm -rv protocols/skype
sed 's/, Skype//' -i doc/index.docbook
- cd ..
- mkdir -p build
-# Fix build with mediastreamer 2.14
- cd kopete-$pkgver
- patch -p1 -i ../kopete-mediastreamer2.14.patch
-# Fix linking to pthread in libjingle-call
- patch -p1 -i ../kopete-pthread-link.patch
-# Fix build with OpenSSL 1.1 (based on Fedora patch for libjingle)
-# cd protocols/jabber/libjingle
-# patch -p1 -i "$srcdir"/kopete-openssl-1.1.patch
+ # Fix build with mediastreamer 2.14
+ patch -p1 -i $srcdir/kopete-mediastreamer2.14.patch
+ # Fix linking to pthread in libjingle-call
+ patch -p1 -i $srcdir/kopete-pthread-link.patch
+ # Fix build with OpenSSL 1.1 (based on Fedora patch for libjingle)
+ # cd protocols/jabber/libjingle
+ # patch -p1 -i $srcdir/kopete-openssl-1.1.patch
}
build() {
cd build
+
cmake ../kopete-$pkgver \
-DCMAKE_BUILD_TYPE=Release \
-DKDE4_BUILD_TESTS=OFF \
@@ -63,5 +68,6 @@ build() {
package() {
cd build
+
make DESTDIR="$pkgdir" install
}