summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2020-08-14 04:28:51 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2020-08-14 04:28:51 +0300
commit7382e9d8ad56ec8a9cf8f42221a4ed82bf4099cb (patch)
tree4632089ec36c710bbd8a859058406c164f6f01e2
parent1fd6c49296d6b656216eca28119ae851b538aa64 (diff)
psi: install plugin sdk
added psi-stopspam
-rw-r--r--packages/net-im/psi-stopspam/psi-stopspam-scm.exheres-08
-rw-r--r--packages/net-im/psi/files/disable_plugins.patch15
-rw-r--r--packages/net-im/psi/psi-scm.exheres-04
3 files changed, 11 insertions, 16 deletions
diff --git a/packages/net-im/psi-stopspam/psi-stopspam-scm.exheres-0 b/packages/net-im/psi-stopspam/psi-stopspam-scm.exheres-0
new file mode 100644
index 0000000..c5eb37f
--- /dev/null
+++ b/packages/net-im/psi-stopspam/psi-stopspam-scm.exheres-0
@@ -0,0 +1,8 @@
+# Distributed under the terms of the GNU General Public License v2
+# Copyright 2020 Gluzskiy Alexandr <sss@sss.chaoslab.ru>
+
+require psi-plugin
+
+PLATFORMS="~amd64 ~x86"
+
+SUMMARY="Psi plugin for spam blocking"
diff --git a/packages/net-im/psi/files/disable_plugins.patch b/packages/net-im/psi/files/disable_plugins.patch
deleted file mode 100644
index ae21e80..0000000
--- a/packages/net-im/psi/files/disable_plugins.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff --git a/generic/CMakeLists.txt b/generic/CMakeLists.txt
-index 61524bb..b7090b1 100644
---- a/generic/CMakeLists.txt
-+++ b/generic/CMakeLists.txt
-@@ -24,10 +24,7 @@ set( plugins_list
- imageplugin
- imagepreviewplugin
- jabberdiskplugin
-- juickplugin
- messagefilterplugin
-- omemoplugin
-- otrplugin
- pepchangenotifyplugin
- qipxstatusesplugin
- screenshotplugin
diff --git a/packages/net-im/psi/psi-scm.exheres-0 b/packages/net-im/psi/psi-scm.exheres-0
index 59dd451..f2f12e4 100644
--- a/packages/net-im/psi/psi-scm.exheres-0
+++ b/packages/net-im/psi/psi-scm.exheres-0
@@ -1,6 +1,6 @@
# Distributed under the terms of the GNU General Public License v2
# Copyright 1999-2018 Gentoo Foundation
-# Copyright 2018 Gluzskiy Alexandr <sss@sss.chaoslab.ru>
+# Copyright 2018-2020 Gluzskiy Alexandr <sss@sss.chaoslab.ru>
SCM_REPOSITORY="https://github.com/psi-im/psi.git"
@@ -43,6 +43,7 @@ SLOT="0"
PLATFORMS="~amd64 ~x86"
SUMMARY="Qt XMPP client"
HOMEPAGE="http://psi-im.org/"
+LICENCES="GPL-2"
LANGS="be bg ca cs de en eo es et fa fi fr he hu it ja kk mk nl pl pt pt_BR ru sk sl sr@latin sv sw uk ur_PK vi zh_CN zh_TW"
MYOPTIONS="
crypt
@@ -114,6 +115,7 @@ CMAKE_SRC_CONFIGURE_PARAMS+=(
-DBUILD_PSIMEDIA=OFF
-DCHAT_TYPE=BASIC
-DPSI_PLUS=ON
+ -DINSTALL_PLUGINS_SDK=1
)
pkg_setup() {