git: 073e2f0c0b14 - main - graphics/gowall: New port: Versatile tool to process images

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Tue, 17 Jun 2025 20:14:20 UTC
The branch main has been updated by tagattie:

URL: https://cgit.FreeBSD.org/ports/commit/?id=073e2f0c0b1432002829ae6c79a47e893f261188

commit 073e2f0c0b1432002829ae6c79a47e893f261188
Author:     Yusuf Yaman <nxjoseph@protonmail.com>
AuthorDate: 2024-11-16 16:38:18 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2025-06-17 20:14:04 +0000

    graphics/gowall: New port: Versatile tool to process images
    
    Gowall is a versatile tool to convert an image (specifically a wallpaper)
    to any color-scheme and/or pallete you like! It also offers a bunch of
    image processing features like image to pixel art, image upscaling, and
    color palette extraction.
    
    WWW: https://github.com/Achno/gowall
    
    PR:             282799
    Reported by:    Yusuf Yaman <nxjoseph@protonmail.com> (new maintainer)
---
 graphics/Makefile         |  1 +
 graphics/gowall/Makefile  | 26 ++++++++++++++++++++++++++
 graphics/gowall/distinfo  |  5 +++++
 graphics/gowall/pkg-descr |  4 ++++
 4 files changed, 36 insertions(+)

diff --git a/graphics/Makefile b/graphics/Makefile
index 5b9972bcfe0b..c7bccc374c6b 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -292,6 +292,7 @@
     SUBDIR += goocanvasmm2
     SUBDIR += goom
     SUBDIR += gource
+    SUBDIR += gowall
     SUBDIR += goxel
     SUBDIR += gpaint
     SUBDIR += gphoto2
diff --git a/graphics/gowall/Makefile b/graphics/gowall/Makefile
new file mode 100644
index 000000000000..3258078e0c19
--- /dev/null
+++ b/graphics/gowall/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	gowall
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.2.1
+CATEGORIES=	graphics
+
+MAINTAINER=	nxjoseph@protonmail.com
+COMMENT=	Versatile tool to process images
+WWW=		https://github.com/Achno/gowall
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	xdg-open:devel/xdg-utils
+
+USES=		go:1.22,modules
+
+GO_MODULE=	github.com/Achno/gowall
+
+PLIST_FILES=	bin/gowall
+
+OPTIONS_DEFINE=		PREVIEW
+OPTIONS_DEFAULT=	PREVIEW
+PREVIEW_DESC=		Enable image preview support using chafa
+PREVIEW_RUN_DEPENDS=	chafa:graphics/chafa
+
+.include <bsd.port.mk>
diff --git a/graphics/gowall/distinfo b/graphics/gowall/distinfo
new file mode 100644
index 000000000000..7e77db9590b9
--- /dev/null
+++ b/graphics/gowall/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1744489937
+SHA256 (go/graphics_gowall/gowall-v0.2.1/v0.2.1.mod) = 9db8b7d9dd21d67a66903acadccb4a0aa2c0d3713c3097be5fd8798da7c21804
+SIZE (go/graphics_gowall/gowall-v0.2.1/v0.2.1.mod) = 515
+SHA256 (go/graphics_gowall/gowall-v0.2.1/v0.2.1.zip) = 4deb2c1b61e31f88dcead48a2f4a31fb4b43ba66085990d60c566c9c78121a2c
+SIZE (go/graphics_gowall/gowall-v0.2.1/v0.2.1.zip) = 3359975
diff --git a/graphics/gowall/pkg-descr b/graphics/gowall/pkg-descr
new file mode 100644
index 000000000000..5877d7bfe03b
--- /dev/null
+++ b/graphics/gowall/pkg-descr
@@ -0,0 +1,4 @@
+Gowall is a versatile tool to convert an image (specifically a wallpaper)
+to any color-scheme and/or pallete you like! It also offers a bunch of
+image processing features like image to pixel art, image upscaling, and
+color palette extraction.