commit: 6b481293b759eb7c98765cb13f6c0ef7817fac1a
parent af52e506df44effd2360fd53c3f72a9d55e23db8
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Wed, 21 Sep 2022 08:29:33 +0200
app-i18n/fcitx-anthy: New package, based on ::gentoo
Diffstat:
3 files changed, 45 insertions(+), 0 deletions(-)
diff --git a/app-i18n/fcitx-anthy/Manifest b/app-i18n/fcitx-anthy/Manifest
@@ -0,0 +1 @@
+DIST fcitx5-anthy-5.0.12.tar.xz 78672 BLAKE2B 3911ce2da80ed86a5db044fa16edd21351d5c36bca8b89446b23578235f72b2609a865547ddcb7f81721c0ee1cdff4845e1dce2077f0071d09d88cba26f984a2 SHA512 9c842bc2b298b56c23d96015b32288ffea7b66413be6689de8f04a705a3dd83581718b0c66b0bad74e4799b554bf90eddb45852d7ad118c7fc82f17a7b35b8d7
diff --git a/app-i18n/fcitx-anthy/fcitx-anthy-5.0.12.ebuild b/app-i18n/fcitx-anthy/fcitx-anthy-5.0.12.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2013-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake xdg-utils
+
+MY_P="fcitx5-anthy-${PV}"
+
+DESCRIPTION="Japanese Anthy input methods for Fcitx5"
+HOMEPAGE="https://fcitx-im.org/ https://github.com/fcitx/fcitx5-anthy"
+# verify-sig? ( https://download.fcitx-im.org/fcitx5/fcitx5-anthy/fcitx5-anthy-${PV}.tar.xz.sig )
+SRC_URI="https://download.fcitx-im.org/fcitx5/fcitx5-anthy/${MY_P}.tar.xz"
+S="${WORKDIR}/${MY_P}"
+LICENSE="GPL-2+"
+SLOT="4"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~riscv ~x86"
+IUSE=""
+
+BDEPEND="virtual/pkgconfig"
+DEPEND="
+ >=app-i18n/fcitx-5.0.6:5
+ app-i18n/anthy:=
+ sys-devel/gettext
+ virtual/libintl
+"
+RDEPEND="${DEPEND}"
+
+DOCS=()
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/app-i18n/fcitx-anthy/metadata.xml b/app-i18n/fcitx-anthy/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <upstream>
+ <remote-id type="github">fcitx/fcitx5-anthy</remote-id>
+ </upstream>
+</pkgmetadata>