diff options
-rw-r--r-- | misc/Makefile | 1 | ||||
-rw-r--r-- | misc/alpaca/Makefile | 30 | ||||
-rw-r--r-- | misc/alpaca/distinfo | 3 | ||||
-rw-r--r-- | misc/alpaca/pkg-descr | 3 | ||||
-rw-r--r-- | misc/alpaca/pkg-plist | 25 |
5 files changed, 62 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile index c7728cbd8c79..246769ca9f23 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -8,6 +8,7 @@ SUBDIR += adios2 SUBDIR += aichat SUBDIR += air + SUBDIR += alpaca SUBDIR += amanda-client SUBDIR += amanda-perl-wrapper SUBDIR += amanda-server diff --git a/misc/alpaca/Makefile b/misc/alpaca/Makefile new file mode 100644 index 000000000000..7e8ef9536239 --- /dev/null +++ b/misc/alpaca/Makefile @@ -0,0 +1,30 @@ +PORTNAME= alpaca +DISTVERSION= 1.0.6 +CATEGORIES= misc + +MAINTAINER= nivit@FreeBSD.org +COMMENT= Ollama client made with GTK4 and Adwaita +WWW= https://github.com/Jeffser/Alpaca + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libgtksourceview-5.so:x11-toolkits/gtksourceview5 +RUN_DEPENDS= ${PY_PILLOW} \ + ${PYTHON_PKGNAMEPREFIX}gobject3>=3.42.2:devel/py-gobject3@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}html2text>=2.2.3:textproc/py-html2text@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pypdf>=4.3.1:print/py-pypdf@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytube>=15.0.0:multimedia/py-pytube@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=2.32.3:www/py-requests@${PY_FLAVOR} \ + ollama:misc/ollama + +USES= meson python +USE_GITHUB= yes +GH_ACCOUNT= Jeffser +GH_PROJECT= Alpaca + +post-patch: + @${REINPLACE_CMD} \ + -e 's/python3/${PYTHON_VERSION}/1' ${WRKSRC}/src/meson.build + +.include <bsd.port.mk> diff --git a/misc/alpaca/distinfo b/misc/alpaca/distinfo new file mode 100644 index 000000000000..4217fedd1cbc --- /dev/null +++ b/misc/alpaca/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1723016383 +SHA256 (Jeffser-Alpaca-1.0.6_GH0.tar.gz) = a75ba86855cd6c29ccd7787258c5a554a3065f80792b9fb87f0a6a352e76d72c +SIZE (Jeffser-Alpaca-1.0.6_GH0.tar.gz) = 289795 diff --git a/misc/alpaca/pkg-descr b/misc/alpaca/pkg-descr new file mode 100644 index 000000000000..0cdc1d5836a7 --- /dev/null +++ b/misc/alpaca/pkg-descr @@ -0,0 +1,3 @@ +Alpaca is an Ollama client where you can manage and chat with multiple models, +Alpaca provides an easy and beginner friendly way of interacting with local AI, +everything is open source and powered by Ollama. diff --git a/misc/alpaca/pkg-plist b/misc/alpaca/pkg-plist new file mode 100644 index 000000000000..cfdd9ba8211e --- /dev/null +++ b/misc/alpaca/pkg-plist @@ -0,0 +1,25 @@ +bin/alpaca +share/Alpaca/alpaca.gresource +share/Alpaca/alpaca/__init__.py +share/Alpaca/alpaca/available_models.json +share/Alpaca/alpaca/available_models_descriptions.py +share/Alpaca/alpaca/connection_handler.py +share/Alpaca/alpaca/dialogs.py +share/Alpaca/alpaca/internal.py +share/Alpaca/alpaca/local_instance.py +share/Alpaca/alpaca/main.py +share/Alpaca/alpaca/table_widget.py +share/Alpaca/alpaca/window.py +share/applications/com.jeffser.Alpaca.desktop +share/glib-2.0/schemas/com.jeffser.Alpaca.gschema.xml +share/icons/hicolor/512x512/apps/com.jeffser.Alpaca.png +share/icons/hicolor/scalable/apps/com.jeffser.Alpaca.svg +share/icons/hicolor/symbolic/apps/com.jeffser.Alpaca-symbolic.svg +share/locale/bn/LC_MESSAGES/alpaca.mo +share/locale/es/LC_MESSAGES/alpaca.mo +share/locale/fr/LC_MESSAGES/alpaca.mo +share/locale/nb_NO/LC_MESSAGES/alpaca.mo +share/locale/pt_BR/LC_MESSAGES/alpaca.mo +share/locale/ru/LC_MESSAGES/alpaca.mo +share/locale/zh_CN/LC_MESSAGES/alpaca.mo +share/metainfo/com.jeffser.Alpaca.metainfo.xml |