Skip to content

Commit

Permalink
app-i18n/fcitx-skin-material: new package, add 0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Linerre authored and peeweep committed Nov 15, 2024
1 parent 6fe9b01 commit 4e04d0f
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/overlay.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
1 change: 1 addition & 0 deletions app-i18n/fcitx-skin-material/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST fcitx-skin-material-0.5.tar.gz 170062 BLAKE2B c62c724f359513fa7bf9f3f58fa4b3aa794828907082ae4d39635ac996a6c5e1a07568ae6c8aa191cfeba7055c9271fbf9698337fcc7894bc7519555a72609f4 SHA512 25a221d33eaab06633e2d38da823497bd60dcc097ebcc7c5c33d3f9c99a851d7c42ab63a68ae057a1f9fb1368a167756b0c1c56efa2e115e52f9a39f10d2369d
29 changes: 29 additions & 0 deletions app-i18n/fcitx-skin-material/fcitx-skin-material-0.5.ebuild
Original file line number Diff line number Diff line change
@@ -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"
}
11 changes: 11 additions & 0 deletions app-i18n/fcitx-skin-material/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit 4e04d0f

Please sign in to comment.