summaryrefslogtreecommitdiff
path: root/net-im/tuba
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/tuba')
-rw-r--r--net-im/tuba/Makefile48
-rw-r--r--net-im/tuba/distinfo6
-rw-r--r--net-im/tuba/pkg-plist28
3 files changed, 44 insertions, 38 deletions
diff --git a/net-im/tuba/Makefile b/net-im/tuba/Makefile
index 36d327cae6a7..110e7525cc92 100644
--- a/net-im/tuba/Makefile
+++ b/net-im/tuba/Makefile
@@ -1,7 +1,6 @@
PORTNAME= Tuba
DISTVERSIONPREFIX= v
-DISTVERSION= 0.9.2
-PORTREVISION= 1
+DISTVERSION= 0.10.2
CATEGORIES= net-im
MAINTAINER= nxjoseph@protonmail.com
@@ -18,26 +17,49 @@ LIB_DEPENDS= libgee-0.8.so:devel/libgee \
libjson-glib-1.0.so:devel/json-glib \
libsecret-1.so:security/libsecret \
libsoup-3.0.so:devel/libsoup3
-RUN_DEPENDS= gnome-keyring>=0:security/gnome-keyring
-USES= desktop-file-utils gettext-tools gnome gstreamer meson \
- pkgconfig vala:build
+USES= desktop-file-utils gettext-tools gnome meson pkgconfig \
+ vala:build
USE_GITHUB= yes
GH_ACCOUNT= GeopJr
USE_GNOME= cairo gdkpixbuf glib20 gtk40 gtksourceview5 libadwaita libxml2
GLIB_SCHEMAS= dev.geopjr.Tuba.gschema.xml
-OPTIONS_DEFINE= SPELLCHECK
-OPTIONS_DEFAULT= SPELLCHECK
+OPTIONS_DEFAULT= CLAPPER GNOMEKEYRING GSTREAMER SPELLING WEBP
+OPTIONS_GROUP= FEATURES
+OPTIONS_GROUP_FEATURES= BROWSER CLAPPER EXIV2 GSTREAMER SPELLING WEBP
+OPTIONS_SINGLE= KEYRING
+OPTIONS_SINGLE_KEYRING= GNOMEKEYRING
-SPELLCHECK_DESC= Enable spell-checking support
-SPELLCHECK_LIB_DEPENDS= libspelling-1.so:x11-toolkits/libspelling
+BROWSER_DESC= Enable in-app WebKit Browser
+CLAPPER_DESC= Install the default video player
+SPELLING_DESC= Install spellcheck library
+WEBP_DESC= Enable WebP support
-USE_GSTREAMER1+= yes
+BROWSER_BUILD_DEPENDS= webkit2-gtk_60>0:www/webkit2-gtk@60
+BROWSER_RUN_DEPENDS= webkit2-gtk_60>0:www/webkit2-gtk@60
+BROWSER_MESON_ENABLED= in-app-browser
+CLAPPER_LIB_DEPENDS= libclapper-0.0.so:multimedia/clapper \
+ libclapper-gtk-0.0.so:multimedia/clapper
+CLAPPER_MESON_ENABLED= clapper
+EXIV2_LIB_DEPENDS= libgexiv2.so:graphics/gexiv2
+EXIV2_MESON_ENABLED= gexiv2
+GNOMEKEYRING_RUN_DEPENDS= gnome-keyring:security/gnome-keyring
+GSTREAMER_USES= gstreamer
+GSTREAMER_USE= GSTREAMER=fdkaac,good
+GSTREAMER_MESON_ENABLED= gstreamer
+SPELLING_LIB_DEPENDS= libspelling-1.so:x11-toolkits/libspelling
+SPELLING_MESON_ENABLED= spelling
+WEBP_RUN_DEPENDS= webp-pixbuf-loader>=0:graphics/webp-pixbuf-loader
+
+post-patch:
+ @${REINPLACE_CMD} '176,190d' ${WRKSRC}/meson.build
post-install:
- @(cd ${WRKSRC}/_build && \
- ${STRIP_CMD} dev.geopjr.Tuba && \
- ${LN} dev.geopjr.Tuba ${STAGEDIR}${PREFIX}/bin/tuba)
+ (cd ${BUILD_WRKSRC} && \
+ ${STRIP_CMD} dev.geopjr.${PORTNAME} && \
+ ${LN} dev.geopjr.${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME:tl} && \
+ ${INSTALL_MAN} data/dev.geopjr.${PORTNAME}.1 \
+ ${STAGEDIR}${PREFIX}/share/man/man1/${PORTNAME:tl}.1)
.include <bsd.port.mk>
diff --git a/net-im/tuba/distinfo b/net-im/tuba/distinfo
index ce3e2bd75655..3dae7ecff87e 100644
--- a/net-im/tuba/distinfo
+++ b/net-im/tuba/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1741033738
-SHA256 (GeopJr-Tuba-v0.9.2_GH0.tar.gz) = 1fb45cec1cb72a189e88f8b291f63d56ddb4835fbfb3efbcb21c27ef5663a99c
-SIZE (GeopJr-Tuba-v0.9.2_GH0.tar.gz) = 2190160
+TIMESTAMP = 1756668888
+SHA256 (GeopJr-Tuba-v0.10.2_GH0.tar.gz) = 2adc7921ede1d6d1a8b3e6395e12235e8acbe5d9a1957e9419317101bd1c5b8a
+SIZE (GeopJr-Tuba-v0.10.2_GH0.tar.gz) = 2846919
diff --git a/net-im/tuba/pkg-plist b/net-im/tuba/pkg-plist
index 2adb0f555bec..52e9bd4002b7 100644
--- a/net-im/tuba/pkg-plist
+++ b/net-im/tuba/pkg-plist
@@ -1,27 +1,7 @@
bin/dev.geopjr.Tuba
bin/tuba
share/applications/dev.geopjr.Tuba.desktop
-share/gtksourceview-5/language-specs/fedi-basic.lang
-share/gtksourceview-5/language-specs/fedi-html.lang
-share/gtksourceview-5/language-specs/fedi-markdown.lang
-share/gtksourceview-5/styles/fedi-blue-dark.xml
-share/gtksourceview-5/styles/fedi-blue.xml
-share/gtksourceview-5/styles/fedi-green-dark.xml
-share/gtksourceview-5/styles/fedi-green.xml
-share/gtksourceview-5/styles/fedi-orange-dark.xml
-share/gtksourceview-5/styles/fedi-orange.xml
-share/gtksourceview-5/styles/fedi-pink-dark.xml
-share/gtksourceview-5/styles/fedi-pink.xml
-share/gtksourceview-5/styles/fedi-purple-dark.xml
-share/gtksourceview-5/styles/fedi-purple.xml
-share/gtksourceview-5/styles/fedi-red-dark.xml
-share/gtksourceview-5/styles/fedi-red.xml
-share/gtksourceview-5/styles/fedi-slate-dark.xml
-share/gtksourceview-5/styles/fedi-slate.xml
-share/gtksourceview-5/styles/fedi-teal-dark.xml
-share/gtksourceview-5/styles/fedi-teal.xml
-share/gtksourceview-5/styles/fedi-yellow-dark.xml
-share/gtksourceview-5/styles/fedi-yellow.xml
+share/dbus-1/services/dev.geopjr.Tuba.service
share/icons/hicolor/scalable/apps/dev.geopjr.Tuba.svg
share/icons/hicolor/symbolic/apps/dev.geopjr.Tuba-symbolic.svg
share/locale/ar/LC_MESSAGES/dev.geopjr.Tuba.mo
@@ -29,6 +9,7 @@ share/locale/be/LC_MESSAGES/dev.geopjr.Tuba.mo
share/locale/bg/LC_MESSAGES/dev.geopjr.Tuba.mo
share/locale/ca/LC_MESSAGES/dev.geopjr.Tuba.mo
share/locale/cs/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/locale/cy/LC_MESSAGES/dev.geopjr.Tuba.mo
share/locale/da/LC_MESSAGES/dev.geopjr.Tuba.mo
share/locale/de_DE/LC_MESSAGES/dev.geopjr.Tuba.mo
share/locale/el/LC_MESSAGES/dev.geopjr.Tuba.mo
@@ -40,6 +21,7 @@ share/locale/fa/LC_MESSAGES/dev.geopjr.Tuba.mo
share/locale/fi/LC_MESSAGES/dev.geopjr.Tuba.mo
share/locale/fr/LC_MESSAGES/dev.geopjr.Tuba.mo
share/locale/gl/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/locale/he/LC_MESSAGES/dev.geopjr.Tuba.mo
share/locale/hi/LC_MESSAGES/dev.geopjr.Tuba.mo
share/locale/hu/LC_MESSAGES/dev.geopjr.Tuba.mo
share/locale/ia/LC_MESSAGES/dev.geopjr.Tuba.mo
@@ -58,9 +40,11 @@ share/locale/pt_BR/LC_MESSAGES/dev.geopjr.Tuba.mo
share/locale/ru/LC_MESSAGES/dev.geopjr.Tuba.mo
share/locale/sk/LC_MESSAGES/dev.geopjr.Tuba.mo
share/locale/sv/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/locale/ta/LC_MESSAGES/dev.geopjr.Tuba.mo
share/locale/th/LC_MESSAGES/dev.geopjr.Tuba.mo
share/locale/tr/LC_MESSAGES/dev.geopjr.Tuba.mo
share/locale/uk/LC_MESSAGES/dev.geopjr.Tuba.mo
-share/locale/zh_Hans/LC_MESSAGES/dev.geopjr.Tuba.mo
+share/locale/zh_CN/LC_MESSAGES/dev.geopjr.Tuba.mo
share/man/man1/dev.geopjr.Tuba.1.gz
+share/man/man1/tuba.1.gz
share/metainfo/dev.geopjr.Tuba.metainfo.xml