app-i18n/fcitx-skin-material: new package, add 0.5

This commit is contained in:
Linerre 2024-11-15 08:30:37 +08:00 committed by peeweep
parent 6fe9b01b96
commit 4e04d0f6cd
4 changed files with 48 additions and 0 deletions

View File

@ -189,6 +189,13 @@ use_latest_release = true
prefix = "v"
github_account = "yamader"
["app-i18n/fcitx-skin-material"]
source = "github"
github = "hrko/fcitx-skin-material"
use_latest_release = true
prefix = "v"
github_account = "Linerre"
# live package only
#["app-i18n/fcitx-gtk"]

View File

@ -0,0 +1 @@
DIST fcitx-skin-material-0.5.tar.gz 170062 BLAKE2B c62c724f359513fa7bf9f3f58fa4b3aa794828907082ae4d39635ac996a6c5e1a07568ae6c8aa191cfeba7055c9271fbf9698337fcc7894bc7519555a72609f4 SHA512 25a221d33eaab06633e2d38da823497bd60dcc097ebcc7c5c33d3f9c99a851d7c42ab63a68ae057a1f9fb1368a167756b0c1c56efa2e115e52f9a39f10d2369d

View File

@ -0,0 +1,29 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="A Material Design-like skin for Fcitx"
HOMEPAGE="https://github.com/hrko99/fcitx-skin-material"
SRC_URI="https://github.com/hrko99/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${P}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="app-i18n/fcitx"
src_install() {
insinto /usr/share/fcitx5/themes/material
doins material/*
}
pkg_postinst() {
elog "To use the theme, you'll need to create '~/.config/fcitx5/conf/classicui.conf'"
elog "with the following content: "
elog " Theme=material"
elog " # depends on your preference"
elog " Vertical Candidate List=True"
elog " Font=\"Sans Serif 12\""
elog "Restart fcitx5 to make the config take effect"
}

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>leon.errelin@outlook.com</email>
<name>Noel Errelin</name>
</maintainer>
<upstream>
<remote-id type="github">hrko/fcitx-skin-material</remote-id>
</upstream>
</pkgmetadata>