diff options
| author | Polarian <polarian@polarian.dev> | 2026-05-09 16:47:42 +0000 |
|---|---|---|
| committer | Ashish SHUKLA <ashish@FreeBSD.org> | 2026-05-10 16:56:38 +0000 |
| commit | 8ae39a556644271953f1c1bd10a69663d1795986 (patch) | |
| tree | acb1007a1af85bf17947cdb804a996c943ce9e60 | |
| parent | efaffca6dea405df8d28ec1fcd96547ea526de54 (diff) | |
net-im/profanity: Update to 0.18.0
- Migrated from gmake to meson
- Added OPTIONS for optional features
- Added DEFAULT_OPTIONS reflect commonly used features
PR: 295126
Co-authored-by: Ashish SHUKLA <ashish@FreeBSD.org>
| -rw-r--r-- | net-im/profanity/Makefile | 95 | ||||
| -rw-r--r-- | net-im/profanity/distinfo | 6 | ||||
| -rw-r--r-- | net-im/profanity/pkg-plist | 13 |
3 files changed, 82 insertions, 32 deletions
diff --git a/net-im/profanity/Makefile b/net-im/profanity/Makefile index da2f9b2e0d53..e79a8f5319da 100644 --- a/net-im/profanity/Makefile +++ b/net-im/profanity/Makefile @@ -1,7 +1,6 @@ PORTNAME= profanity -DISTVERSION= 0.15.1 +DISTVERSION= 0.18.0 CATEGORIES= net-im -MASTER_SITES= https://profanity-im.github.io/tarballs/ MAINTAINER= ashish@FreeBSD.org COMMENT= Console based XMPP client @@ -11,38 +10,86 @@ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libcurl.so:ftp/curl \ - libotr.so:security/libotr \ - libuuid.so:misc/libuuid \ - libgpgme.so:security/gpgme \ - libassuan.so:security/libassuan \ - libgpg-error.so:security/libgpg-error \ - libgcrypt.so:security/libgcrypt \ - libsignal-protocol-c.so:net/libsignal-protocol-c \ - libstrophe.so:net-im/libstrophe \ - libqrencode.so:graphics/libqrencode - -USES= cpe gmake gnome libtool ncurses pkgconfig python \ - readline sqlite:3 + libstrophe.so:net-im/libstrophe + +USES= cpe gnome meson ncurses pkgconfig readline sqlite:3 CPE_VENDOR= ${PORTNAME}_project -GNU_CONFIGURE= yes USE_GNOME= glib20 USE_LDCONFIG= yes +USE_GITHUB= yes +GH_ACCOUNT= profanity-im INSTALL_TARGET= install-strip -CONFIGURE_ARGS= --enable-otr --enable-python-plugins --enable-c-plugins \ - --enable-plugins --enable-pgp --disable-icons-and-clipboard \ - --without-xscreensaver --disable-gdk-pixbuf \ - --enable-omemo --enable-omemo-qrcode --enable-year2038 - -OPTIONS_DEFINE= NOTIFY +OPTIONS_DEFINE= NOTIFY PYTHON C OTR PGP OMEMO QRCODE CLIPBOARD \ + AVATAR SCREENSAVER SPELLCHECK MIME +OPTIONS_SINGLE= OMEMO-BACKEND +OPTIONS_SINGLE_OMEMO-BACKEND= LIBSIGNAL \ + LIBOMEMO +OPTIONS_DEFAULT= NOTIFY PYTHON C OMEMO LIBOMEMO QRCODE SPELLCHECK \ + CLIPBOARD MIME +OPTIONS_SUB= C NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify -NOTIFY_CONFIGURE_ENABLE=notifications +NOTIFY_MESON_ENABLED= notifications +NOTIFY_DESC= Enables desktop notifications + +PYTHON_USES= python +PYTHON_MESON_ENABLED= python-plugins +PYTHON_DESC= Enables support for Python plugins + +C_MESON_ENABLED= c-plugins +C_DESC= Enables support for C plugins + +OTR_LIB_DEPENDS= libotr.so:security/libotr +OTR_MESON_ENABLED= otr +OTR_DESC= Enables support for Off The Record (OTR) encryption + +PGP_LIB_DEPENDS= libgpgme.so:security/gpgme \ + libassuan.so:security/libassuan \ + libgpg-error.so:security/libgpg-error +PGP_MESON_ENABLED= pgp +PGP_DESC= Enables support for PGP encryption + +OMEMO_MESON_ENABLED= omemo +OMEMO_LIB_DEPENDS= libgcrypt.so:security/libgcrypt +OMEMO_DESC= Enables support for OMEMO encryption + +LIBSIGNAL_MESON_ON= -Domemo-backend=libsignal +LIBSIGNAL_LIB_DEPENDS= libsignal-protocol-c.so:net/libsignal-protocol-c +LIBSIGNAL_DESC= Use libsignal-protocol-c as the OMEMO backend + +LIBOMEMO_MESON_ON= -Domemo-backend=libomemo-c +LIBOMEMO_LIB_DEPENDS= libomemo-c.so:security/libomemo-c +LIBOMEMO_DESC= Use libomemo-c as the OMEMO backend + +QRCODE_MESON_ENABLED= omemo-qrcode +QRCODE_LIB_DEPENDS= libqrencode.so:graphics/libqrencode +QRCODE_DESC= Enables support for generating OMEMO QR codes + +CLIPBOARD_MESON_ENABLED= icons-and-clipboard +CLIPBOARD_USE= GNOME=gtk30 +CLIPBOARD_DESC= Enables support for tray icons and clipboard + +AVATAR_MESON_ENABLED= gdk-pixbuf +AVATAR_LIB_DEPENDS= libgdk_pixbuf-2.0.so:graphics/gdk-pixbuf2 +AVATAR_DESC= Enables support for avatar scaling + +SCREENSAVER_MESON_ENABLED= xscreensaver +SCREENSAVER_DESC= Enables support for idle detection +SCREENSAVER_USES= xorg +SCREENSAVER_USE= XORG=xscrnsaver + +SPELLCHECK_MESON_ENABLED= spellcheck +SPELLCHECK_DESC= Enables support for spell checking +SPELLCHECK_LIB_DEPENDS= libenchant-2.so:textproc/enchant2 + +MIME_RUN_DEPENDS= update-mime-database:misc/shared-mime-info +MIME_DESC= Use the correct MIME types for uploads post-patch: - ${REINPLACE_CMD} "s,python3-embed,python-${PYTHON_VER}-embed,g" \ - ${WRKSRC}/configure + ${REINPLACE_CMD} -e 's,python3-embed,python-${PYTHON_VER}-embed,' \ + ${WRKSRC}/meson.build post-install: cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/man/man1 "-name *\.1" diff --git a/net-im/profanity/distinfo b/net-im/profanity/distinfo index dd6b1b96c5b2..721adb687e31 100644 --- a/net-im/profanity/distinfo +++ b/net-im/profanity/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1756031813 -SHA256 (profanity-0.15.1.tar.gz) = c1e28a849aa178fd1ec5f384b0f8bdd244bce453dc4ef7bb76d0830382fec304 -SIZE (profanity-0.15.1.tar.gz) = 988721 +TIMESTAMP = 1778336416 +SHA256 (profanity-im-profanity-0.18.0_GH0.tar.gz) = 6d5571ba15968bbc010c43d4f31a2274718cbfe431cc309f3838c8012c1c54d7 +SIZE (profanity-im-profanity-0.18.0_GH0.tar.gz) = 603959 diff --git a/net-im/profanity/pkg-plist b/net-im/profanity/pkg-plist index 051189f7a724..bd8126520085 100644 --- a/net-im/profanity/pkg-plist +++ b/net-im/profanity/pkg-plist @@ -1,8 +1,8 @@ bin/profanity -include/profapi.h -lib/libprofanity.so -lib/libprofanity.so.0 -lib/libprofanity.so.0.0.0 +%%C%%include/profapi.h +%%C%%lib/libprofanity.so +%%C%%lib/libprofanity.so.0 +%%C%%lib/libprofanity.so.0.0.0 share/man/man1/profanity-about.1.gz share/man/man1/profanity-account.1.gz share/man/man1/profanity-affiliation.1.gz @@ -18,6 +18,7 @@ share/man/man1/profanity-bookmark.1.gz share/man/man1/profanity-caps.1.gz share/man/man1/profanity-carbons.1.gz share/man/man1/profanity-changepassword.1.gz +share/man/man1/profanity-changes.1.gz share/man/man1/profanity-charset.1.gz share/man/man1/profanity-clear.1.gz share/man/man1/profanity-close.1.gz @@ -59,6 +60,7 @@ share/man/man1/profanity-omemo.1.gz share/man/man1/profanity-otr.1.gz share/man/man1/profanity-outtype.1.gz share/man/man1/profanity-ox-setup.1.gz +share/man/man1/profanity-ox.1.gz share/man/man1/profanity-paste.1.gz share/man/man1/profanity-pgp.1.gz share/man/man1/profanity-ping.1.gz @@ -70,8 +72,8 @@ share/man/man1/profanity-privacy.1.gz share/man/man1/profanity-privileges.1.gz share/man/man1/profanity-quit.1.gz share/man/man1/profanity-receipts.1.gz -share/man/man1/profanity-redraw.1.gz share/man/man1/profanity-reconnect.1.gz +share/man/man1/profanity-redraw.1.gz share/man/man1/profanity-register.1.gz share/man/man1/profanity-reload.1.gz share/man/man1/profanity-resource.1.gz @@ -86,6 +88,7 @@ share/man/man1/profanity-serversoftware.1.gz share/man/man1/profanity-silence.1.gz share/man/man1/profanity-slashguard.1.gz share/man/man1/profanity-software.1.gz +share/man/man1/profanity-spellcheck.1.gz share/man/man1/profanity-splash.1.gz share/man/man1/profanity-stamp.1.gz share/man/man1/profanity-states.1.gz |
