Add catppucin theme and disable aggresive GC

This commit is contained in:
Alex D. 2024-07-23 17:41:52 +00:00
parent e2f1072676
commit 86e089a03c
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
4 changed files with 43 additions and 7 deletions

View File

@ -3,7 +3,7 @@
. ../APKBUILD-config.template
pkgver=2024.07.10.01
pkgver=2024.07.15.02
pkgrel=0
depends="
redxen-data-gitea-theme
@ -38,6 +38,6 @@ package() {
}
sha512sums="
a44bf0eeeb839411808a0f73eca80d911fcd113a2f2b165db71c30ae425a672561abaf167fe294c0cfdabae813a5c781bbadeb2b4c0e3f7f2ba804ac411e345a redxen.ini
325c0dec3f544ca2b6d514b2bdc7cf79f9dcf0a8e16d46e9962413bfa37401a5ad6cfe310dd602f1fd5dc71d936aff5ece032278c0c7cb5ea93e373af584ad03 redxen.ini
012d489c5d71864cda4b99ec16b3d6edbf83d18ea14d2104afe70e320937f4dd223572e384fba040cb3d43ced8ca7267e434756e4a1cd8bd41bb6f9092ad4b9d secret
"

View File

@ -38,8 +38,8 @@ USER = gitea
PASSWD = POSTGRESQL_GITEA_PASSWORD
[ui]
THEMES = auto,arc-green,catppuccin-mocha-red
DEFAULT_THEME = catppuccin-mocha-red
THEMES = auto,arc-green,catppuccin-mocha-flamingo
DEFAULT_THEME = catppuccin-mocha-flamingo
USE_SERVICE_WORKER = true
[ui.meta]
@ -115,7 +115,10 @@ ENABLED = true
[git]
ENABLED = true
GC_ARGS = --aggressive --auto
GC_ARGS = --auto
[git.timeout]
MIGRATE = 1800
[metrics]
ENABLED = false

View File

@ -4,7 +4,7 @@
. ../APKBUILD-data.template
pkgver=0.4.1
pkgrel=0
pkgrel=4
makedepends="
deno
npm
@ -28,7 +28,7 @@ build() {
}
package() {
rx_install dist/theme-catppuccin-mocha-red.css
rx_install dist/theme-catppuccin-mocha-flamingo.css
}
sha512sums="

View File

@ -0,0 +1,33 @@
# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
. ../APKBUILD-data.template
pkgver=0.4.1
pkgrel=4
makedepends="
deno
npm
"
url="https://gitea.catppuccin.com/catppuccin/gitea"
source="
$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz
"
_customroot="/usr/share/gitea/custom"
_rx_installdir="$_customroot/public/assets/css"
_rx_fperm=444 # Public, static resources
builddir="$srcdir/gitea"
prepare() {
default_prepare
mkdir -p node_modules
}
build() {
deno task build
}
package() {
rx_install dist/theme-catppuccin-mocha-flamingo.css
}