summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xchat-im/profanity/BUILD3
-rwxr-xr-xchat-im/profanity/CONFIGURE9
-rwxr-xr-xchat-im/profanity/DEPENDS15
-rwxr-xr-xchat-im/profanity/DETAILS10
-rw-r--r--chat-im/profanity/HISTORY6
5 files changed, 34 insertions, 9 deletions
diff --git a/chat-im/profanity/BUILD b/chat-im/profanity/BUILD
new file mode 100755
index 0000000000..9a94f3c541
--- /dev/null
+++ b/chat-im/profanity/BUILD
@@ -0,0 +1,3 @@
+OPTS="${PROFANITY_OPTS} ${OPTS}" &&
+
+default_build
diff --git a/chat-im/profanity/CONFIGURE b/chat-im/profanity/CONFIGURE
new file mode 100755
index 0000000000..ff1f7b0715
--- /dev/null
+++ b/chat-im/profanity/CONFIGURE
@@ -0,0 +1,9 @@
+config_query_option PROFANITY_OPTS "Enable plugins?" y \
+ "--enable-plugins" \
+ "--disable-plugins" &&
+
+if list_find "${PROFANITY_OPTS}" "--enable-plugins"; then
+ config_query_option PROFANITY_OPTS "Enable C plugins?" y \
+ "--enable-c-plugins" \
+ "--disable-c-plugins"
+fi
diff --git a/chat-im/profanity/DEPENDS b/chat-im/profanity/DEPENDS
index 644e8acec2..afd79ba86b 100755
--- a/chat-im/profanity/DEPENDS
+++ b/chat-im/profanity/DEPENDS
@@ -18,10 +18,17 @@ optional_depends libotr \
"--disable-otr" \
"for OTR support" &&
-optional_depends python \
- "--enable-python-plugins" \
- "--disable-python-plugins" \
- "for Python plugins support" &&
+optional_depends libsignal \
+ "--enable-omemo" \
+ "--disable-omemo" \
+ "for OMEMO support" &&
+
+if list_find "${PROFANITY_OPTS}" "--enable-plugins"; then
+ optional_depends python \
+ "--enable-python-plugins" \
+ "--disable-python-plugins" \
+ "for Python plugins support"
+fi &&
optional_depends libxscrnsaver \
"--with-xscreensaver" \
diff --git a/chat-im/profanity/DETAILS b/chat-im/profanity/DETAILS
index 956b8b0bb0..78fa388ad1 100755
--- a/chat-im/profanity/DETAILS
+++ b/chat-im/profanity/DETAILS
@@ -3,18 +3,18 @@
if [[ ${PROFANITY_BRANCH} == scm ]]; then
VERSION=$(get_scm_version)
SOURCE=${SPELL}-${VERSION}.tar.bz2
- SOURCE_URL[0]=git://github.com/boothj5/${SPELL}.git
+ SOURCE_URL[0]=git://github.com/profanity-im/${SPELL}.git
SOURCE_IGNORE=volatile
FORCE_DOWNLOAD=on
else
- VERSION=0.6.0
+ VERSION=0.7.0
SOURCE=${SPELL}-${VERSION}.tar.gz
- SOURCE_URL[0]=http://www.profanity.im/${SPELL}-${VERSION}.tar.gz
- SOURCE_HASH=sha512:c7d8e74b764276f59fccfa029d45271032db315cdbf6e00deccbd611f202983a0930fed99021202333047acee9f3f0d7779cd9bb3628d2e5c4757e3de8c3629e
+ SOURCE_URL[0]=https://profanity-im.github.io/${SPELL}-${VERSION}.tar.gz
+ SOURCE_HASH=sha512:d4be02ad560f53ba59f6d814b6489fe8b7fe59a9c26e72867e23aa33d8badadfd518bc27a1f63266cb5f651f422a5de70f474ff551f5e97f5eab7b643f3a9106
fi
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
DOC_DIRS=""
- WEB_SITE="http://www.profanity.im/"
+ WEB_SITE=https://profanity-im.github.io/
LICENSE[0]=GPL
ENTERED=20131013
SHORT="Ncurses based XMPP client"
diff --git a/chat-im/profanity/HISTORY b/chat-im/profanity/HISTORY
index 4ad78919cd..2eba7e913c 100644
--- a/chat-im/profanity/HISTORY
+++ b/chat-im/profanity/HISTORY
@@ -1,3 +1,9 @@
+2019-08-02 Vlad Glagolev <stealth@sourcemage.org>
+ * DETAILS: updated spell to 0.7.0; updated source URLs, website
+ * BUILD: added, to use PROFANITY_OPTS
+ * CONFIGURE: added, for options
+ * DEPENDS: corrected python flags; added OMEMO support
+
2019-04-18 Vlad Glagolev <stealth@sourcemage.org>
* DETAILS: updated spell to 0.6.0
* DEPENDS: rewritten