1
0
mirror of https://git.freebsd.org/ports.git synced 2026-06-02 11:08:52 +00:00

x11-themes/catppuccin-cursor-theme: add port: Soothing pastel cursors for GTK/Plasma/Hyprland

Soothing pastel cursors for GTK/Plasma/Hyprland.

WWW: https://github.com/catppuccin/cursors
This commit is contained in:
Hiroki Tagato
2025-09-21 13:11:50 +09:00
parent 6a72bf3e77
commit 8273d473e8
6 changed files with 22867 additions and 0 deletions
+1
View File
@@ -14,6 +14,7 @@
SUBDIR += budgie-backgrounds
SUBDIR += canta-gtk-themes
SUBDIR += canta-icon-theme
SUBDIR += catppuccin-cursor-theme
SUBDIR += catppuccin-gtk-theme
SUBDIR += chicago95
SUBDIR += classiclooks
@@ -0,0 +1,70 @@
PORTNAME= catppuccin-cursor-theme
DISTVERSIONPREFIX= v
DISTVERSION= 2.0.0
CATEGORIES= x11-themes
MAINTAINER= tagattie@FreeBSD.org
COMMENT= Soothing pastel cursors for GTK/Plasma/Hyprland
WWW= https://github.com/catppuccin/cursors
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= zip:archivers/zip \
just:deskutils/just \
whiskers:devel/catppuccin-whiskers \
${PYTHON_PKGNAMEPREFIX}pyside6>0:devel/pyside6@${PY_FLAVOR} \
inkscape:graphics/inkscape \
bash:shells/bash \
xcursorgen:x11/xcursorgen
USES= python:build shebangfix
USE_GITHUB= yes
GH_ACCOUNT= catppuccin
GH_PROJECT= cursors
SHEBANG_FILES= build \
scripts/build-cursors \
scripts/generate-metadata
MAKE_ENV= FONTCONFIG_FILE=${WRKDIR}/fonts.conf
NO_ARCH= yes
PORTDOCS= AUTHORS CHANGELOG.md README.md
OPTIONS_DEFINE= DOCS
_FLAVORS= Latte Frappe Macchiato Mocha
_ACCENTS= Blue Dark Flamingo Green Lavender Light Maroon Mauve Peach Pink \
Red Rosewater Sapphire Sky Teal Yellow
post-extract:
@${CP} ${FILESDIR}/fonts.conf ${WRKDIR}
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
${WRKDIR}/fonts.conf
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} just all
do-install:
cd ${WRKSRC}/dist && \
${COPYTREE_SHARE} "*" ${STAGEDIR}${PREFIX}/share/icons
.for flavor in ${_FLAVORS}
. for accent in ${_ACCENTS}
@cd ${STAGEDIR}${PREFIX}/share/icons && \
${MV} catppuccin-${flavor:tl}-${accent:tl}-cursors \
Catppuccin-${flavor}-${accent}
. endfor
.endfor
@${FIND} ${STAGEDIR}${PREFIX}/share/icons \
-type f \( -name AUTHORS -o -name LICENSE \) -delete
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
@@ -0,0 +1,3 @@
TIMESTAMP = 1757400755
SHA256 (catppuccin-cursors-v2.0.0_GH0.tar.gz) = 4b002f8d9c2f124371b76a8b1c05f152e46ef9541254517664db9936e06daba1
SIZE (catppuccin-cursors-v2.0.0_GH0.tar.gz) = 1293023
@@ -0,0 +1,8 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
<!-- disable caching by specifying an invalid directory -->
<cachedir>/dev/null</cachedir>
<!-- import system defaults -->
<include ignore_missing="yes">%%LOCALBASE%%/etc/fonts/fonts.conf</include>
</fontconfig>
@@ -0,0 +1 @@
Soothing pastel cursors for GTK/Plasma/Hyprland.
File diff suppressed because it is too large Load Diff