x11-themes/catppuccin-gtk-theme: add port: GTK theme with Catppuccin colour scheme

A GTK theme based on the colours of Catppuccin community.

The theme is more focused on the Gnome Desktop, but supports Cinnamon,
XFCE, Mate, etc. with generic styles. It's great to combine in your
TWMs like: XmonadWM, AwesomeWM, BSPWM, etc...

WWW: https://github.com/Fausto-Korpsvart/Catppuccin-GTK-Theme
This commit is contained in:
Hiroki Tagato 2025-08-31 17:12:06 +09:00
parent 398b3e83cf
commit e181bb2720
4 changed files with 70 additions and 0 deletions

View File

@ -13,6 +13,7 @@
SUBDIR += budgie-backgrounds
SUBDIR += canta-gtk-themes
SUBDIR += canta-icon-theme
SUBDIR += catppuccin-gtk-theme
SUBDIR += chicago95
SUBDIR += classiclooks
SUBDIR += claws-mail-themes

View File

@ -0,0 +1,61 @@
PORTNAME= catppuccin-gtk-theme
DISTVERSION= g20250828
CATEGORIES= x11-themes
MAINTAINER= tagattie@FreeBSD.org
COMMENT= GTK theme with Catppuccin colour scheme
WWW= https://github.com/Fausto-Korpsvart/Catppuccin-GTK-Theme
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= bash:shells/bash \
gsed:textproc/gsed \
sassc:textproc/sassc \
gnome-shell:x11/gnome-shell
RUN_DEPENDS= gnome-themes-extra>0:x11-themes/gnome-themes-extra \
gtk-murrine-engine>0:x11-themes/gtk-murrine-engine
USES= shebangfix
USE_GITHUB= yes
GH_ACCOUNT= Fausto-Korpsvart
GH_PROJECT= Catppuccin-GTK-Theme
GH_TAGNAME= 7b94b62bdc15596c0fc0ae1a711d0f733575c64f
SHEBANG_FILES= themes/build.sh \
themes/install.sh
BINARY_ALIAS= sed=gsed
NO_ARCH= yes
BUILD_WRKSRC= ${WRKSRC}/themes
PORTDOCS= README.md
OPTIONS_DEFINE= DOCS
INSTALL_FLAGS= --dest ${STAGEDIR}${PREFIX}/share/themes \
--theme all \
--color light dark \
--size standard compact
do-build:
cd ${BUILD_WRKSRC} && \
${SETENV} ${MAKE_ENV} ./build.sh
do-install:
cd ${BUILD_WRKSRC} && \
${SETENV} ${MAKE_ENV} ./install.sh ${INSTALL_FLAGS}
.for colorscheme in frappe macchiato
cd ${BUILD_WRKSRC} && \
${SETENV} ${MAKE_ENV} ./install.sh ${INSTALL_FLAGS} --tweaks ${colorscheme}
.endfor
@cd ${STAGEDIR}${PREFIX} && \
${FIND} share/themes -type f -o -type l >> ${TMPPLIST}
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1756522476
SHA256 (Fausto-Korpsvart-Catppuccin-GTK-Theme-g20250828-7b94b62bdc15596c0fc0ae1a711d0f733575c64f_GH0.tar.gz) = 8a1fb702f9bda054b822a0b83d79ea4852a390887d5457e51f8543de88fdff1c
SIZE (Fausto-Korpsvart-Catppuccin-GTK-Theme-g20250828-7b94b62bdc15596c0fc0ae1a711d0f733575c64f_GH0.tar.gz) = 76865848

View File

@ -0,0 +1,5 @@
A GTK theme based on the colours of Catppuccin community.
The theme is more focused on the Gnome Desktop, but supports Cinnamon,
XFCE, Mate, etc. with generic styles. It's great to combine in your
TWMs like: XmonadWM, AwesomeWM, BSPWM, etc...