diff options
author | Sam James <sam@gentoo.org> | 2022-11-23 08:04:34 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-11-23 08:28:40 +0000 |
commit | ddab4e54c7c46466f951d49e25101187001a1dd4 (patch) | |
tree | 3eecf23b521d82062e66246863d4c58682c247c8 /app-i18n | |
parent | net-im/synapse: add 1.72.0 (diff) | |
download | gentoo-ddab4e54c7c46466f951d49e25101187001a1dd4.tar.gz gentoo-ddab4e54c7c46466f951d49e25101187001a1dd4.tar.bz2 gentoo-ddab4e54c7c46466f951d49e25101187001a1dd4.zip |
app-i18n/nabi: add 1.0.1
Closes: https://bugs.gentoo.org/875716
Bug: https://bugs.gentoo.org/854597
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-i18n')
-rw-r--r-- | app-i18n/nabi/Manifest | 1 | ||||
-rw-r--r-- | app-i18n/nabi/nabi-1.0.1.ebuild | 62 |
2 files changed, 63 insertions, 0 deletions
diff --git a/app-i18n/nabi/Manifest b/app-i18n/nabi/Manifest index e8804ae80f77..7275f9d7c976 100644 --- a/app-i18n/nabi/Manifest +++ b/app-i18n/nabi/Manifest @@ -1 +1,2 @@ DIST nabi-1.0.0.tar.gz 868761 BLAKE2B 125028a4a3a6c51edfeee45de42868c5c0397d8545fdaaffc8a305282ea7d8af102487ad86016e1d6e7275cf7e8a5cd0111bd7f8b9c38470021b94585c1cbf1d SHA512 cd093fc54fc4a40eaa85f9973999b9fe2e37344c1004b56fe9a2102bb0747294ba2af76aca2be234ce4fe07a5e8175d1bab7423dd2cee92ab88af865cd856005 +DIST nabi-1.0.1.tar.gz 927009 BLAKE2B b53e3131e2998499f4004c07272bd1715905fbf26c8e524299bc1a4a80d8cada6d6368f372619893f5edec3b5c1595afe4c25756f171df88a2b805644c9d115b SHA512 8113b31df792ff1b31b1e063671a30e21c312e27627c0e15d9de872bb644eeaea4ebb65ef399dea2d75563d81941990f59adbe1e4c584026e02dcdafe389e9c1 diff --git a/app-i18n/nabi/nabi-1.0.1.ebuild b/app-i18n/nabi/nabi-1.0.1.ebuild new file mode 100644 index 000000000000..7d7d5f22192f --- /dev/null +++ b/app-i18n/nabi/nabi-1.0.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Simple Hanguk X Input Method" +HOMEPAGE="https://github.com/libhangul/nabi" +SRC_URI="https://github.com/libhangul/nabi/archive/refs/tags/${P}.tar.gz" +S="${WORKDIR}"/${PN}-${P} + +LICENSE="GPL-2" +SLOT="0" +IUSE="debug nls" +KEYWORDS="~amd64 ~ppc ~x86" + +RDEPEND=" + >=app-i18n/libhangul-0.1 + dev-libs/glib:2 + x11-libs/gtk+:2 + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + virtual/libintl +" +DEPEND="${RDEPEND}" +BDEPEND=" + sys-devel/gettext + virtual/pkgconfig +" + +DOCS=( AUTHORS ChangeLog.0 NEWS README TODO ) + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + local myconf=() + + # Broken configure: --disable-debug also enables debug + use debug && myconf+=( --enable-debug ) + + econf "${myconf[@]}" +} + +src_install() { + default + + insinto /etc/X11/xinit/xinput.d + sed -e "s:@EPREFIX@:${EPREFIX}:g" "${FILESDIR}"/xinput-${PN} | newins - ${PN}.conf +} + +pkg_postinst() { + elog "You MUST add environment variable..." + elog + elog "export XMODIFIERS=\"@im=nabi\"" + elog +} |