git: e68716488aad - main - finance/favagtk: Add new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 11 Mar 2025 14:10:13 UTC
The branch main has been updated by nivit: URL: https://cgit.FreeBSD.org/ports/commit/?id=e68716488aad477a130ea07f856f4e69afd93d71 commit e68716488aad477a130ea07f856f4e69afd93d71 Author: Nicola Vitale <nivit@FreeBSD.org> AuthorDate: 2025-03-11 14:08:23 +0000 Commit: Nicola Vitale <nivit@FreeBSD.org> CommitDate: 2025-03-11 14:08:23 +0000 finance/favagtk: Add new port Desktop application for Fava and Beancoun. Do your finances using fava and beancount. Favagtk makes it easy to use the Fava and Beancount double-entry bookkeeping software as a GNOME desktop application. Start fava and beancount as you would any other desktop application. Built as a GNOME application, using GTK and webkit. https://gitlab.gnome.org/johannesjh/favagtk --- finance/Makefile | 1 + finance/favagtk/Makefile | 33 +++++++++++++++++++++++++++++++++ finance/favagtk/distinfo | 3 +++ finance/favagtk/pkg-descr | 5 +++++ finance/favagtk/pkg-plist | 17 +++++++++++++++++ 5 files changed, 59 insertions(+) diff --git a/finance/Makefile b/finance/Makefile index 5948f85dd8c1..4814a172f7be 100644 --- a/finance/Makefile +++ b/finance/Makefile @@ -28,6 +28,7 @@ SUBDIR += expense SUBDIR += fabric SUBDIR += fava + SUBDIR += favagtk SUBDIR += fixc SUBDIR += freqtrade SUBDIR += frontaccounting diff --git a/finance/favagtk/Makefile b/finance/favagtk/Makefile new file mode 100644 index 000000000000..16e9bfb05831 --- /dev/null +++ b/finance/favagtk/Makefile @@ -0,0 +1,33 @@ +PORTNAME= favagtk +DISTVERSIONPREFIX= v +DISTVERSION= 1.0.0 +CATEGORIES= finance + +MAINTAINER= nivit@FreeBSD.org +COMMENT= Desktop application for Fava and Beancoun +WWW= https://gitlab.gnome.org/johannesjh/favagtk + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= appstream-util:devel/appstream-glib \ + blueprint-compiler:devel/blueprint-compiler \ + fava:finance/fava \ + git:devel/git \ + WebKitWebDriver-6.0:www/webkit2-gtk@60 +LIB_DEPENDS= libadwaita-1.so:x11-toolkits/libadwaita + +USES= desktop-file-utils gettext-tools gnome meson pkgconfig python \ + shared-mime-info +USE_GITLAB= yes +GL_SITE= https://gitlab.gnome.org +GL_ACCOUNT= johannesjh +USE_GNOME= glib20 pygobject3 + +NO_ARCH= yes + +post-patch: + @${REINPLACE_CMD} -e 's,python3,${PYTHON_CMD},1' \ + ${WRKSRC}/src/meson.build + +.include <bsd.port.mk> diff --git a/finance/favagtk/distinfo b/finance/favagtk/distinfo new file mode 100644 index 000000000000..9986b846003c --- /dev/null +++ b/finance/favagtk/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1740763156 +SHA256 (favagtk-v1.0.0.tar.bz2) = 863d795cb311a92609adfbbe52759f2296a737771f1461e5387645837ef4b248 +SIZE (favagtk-v1.0.0.tar.bz2) = 352008 diff --git a/finance/favagtk/pkg-descr b/finance/favagtk/pkg-descr new file mode 100644 index 000000000000..2e729480c0dc --- /dev/null +++ b/finance/favagtk/pkg-descr @@ -0,0 +1,5 @@ +Do your finances using fava and beancount. Favagtk makes it easy to use the +Fava and Beancount double-entry bookkeeping software as a GNOME desktop +application. +Start fava and beancount as you would any other desktop application. +Built as a GNOME application, using GTK and webkit. diff --git a/finance/favagtk/pkg-plist b/finance/favagtk/pkg-plist new file mode 100644 index 000000000000..ab7d06748d04 --- /dev/null +++ b/finance/favagtk/pkg-plist @@ -0,0 +1,17 @@ +bin/favagtk +share/appdata/org.gnome.gitlab.johannesjh.favagtk.appdata.xml +share/applications/org.gnome.gitlab.johannesjh.favagtk.desktop +%%DATADIR%%/favagtk.gresource +%%DATADIR%%/favagtk/__init__.py +%%DATADIR%%/favagtk/about.py +%%DATADIR%%/favagtk/app.py +%%DATADIR%%/favagtk/file_open_dialog.py +%%DATADIR%%/favagtk/main.py +%%DATADIR%%/favagtk/recents.py +%%DATADIR%%/favagtk/server.py +%%DATADIR%%/favagtk/shortcuts.py +%%DATADIR%%/favagtk/window.py +share/glib-2.0/schemas/org.gnome.gitlab.johannesjh.favagtk.gschema.xml +share/icons/hicolor/scalable/apps/org.gnome.gitlab.johannesjh.favagtk.svg +share/icons/hicolor/symbolic/apps/org.gnome.gitlab.johannesjh.favagtk-symbolic.svg +share/mime/packages/org.gnome.gitlab.johannesjh.favagtk.xml