1 # Maintainer: Sergej Pupykin <arch+pub@sergej.pp.ru>
6 pkgdesc="Additional features for Psi"
8 url="https://psi-im.org"
11 makedepends=('libotr' 'tidy')
12 optdepends=('libotr: OTR plugin'
14 source=("$pkgname-$pkgver.tar.gz::https://github.com/psi-im/plugins/archive/$pkgver.tar.gz"
16 sha256sums=('1857b9dc89ef0d548697207b3a56283f2d67c0de75cc66bf863936a58150401e'
17 '2edc9f76e032e25044f0d16376194127c07b3372195482236901222ebec11a75')
20 cp -v psiplugin.pri plugins-$pkgver/
24 diff -wbBur plugins-1.5/generic/screenshotplugin/screenshot.cpp plugins-1.5.q/generic/screenshotplugin/screenshot.cpp
25 --- plugins-1.5/generic/screenshotplugin/screenshot.cpp 2018-11-05 10:55:49.000000000 +0300
26 +++ plugins-1.5.q/generic/screenshotplugin/screenshot.cpp 2021-10-07 22:47:29.239540853 +0300
28 #include <QCloseEvent>
29 #include <QDesktopServices>
31 +#include <QtGui/QPainterPath>
34 #include "screenshot.h"
40 for plugin in generic/* unix/*; do
41 if [ -d "$plugin" ]; then
42 (cd "$plugin" && qmake-qt5 PREFIX="/usr" QMAKE_STRIP= && make)
49 for plugin in generic/* unix/*; do
50 if [ -d "$plugin" ]; then
51 (cd "$plugin" && make INSTALL_ROOT="$pkgdir" install)