diff options
Diffstat (limited to 'app-dicts/gwaei')
-rw-r--r-- | app-dicts/gwaei/Manifest | 2 | ||||
-rw-r--r-- | app-dicts/gwaei/gwaei-3.6.2.ebuild | 49 |
2 files changed, 23 insertions, 28 deletions
diff --git a/app-dicts/gwaei/Manifest b/app-dicts/gwaei/Manifest index 74ec58caf0e0..9c3f97e16ff2 100644 --- a/app-dicts/gwaei/Manifest +++ b/app-dicts/gwaei/Manifest @@ -1,3 +1,3 @@ DIST gwaei-3.6.2.tar.xz 547592 BLAKE2B 0a0f90639b81158ef6bfc69f0f74ad70af65ae9462c93f6e507d6a1087c424da9689f2308300c5d4b8090143d8d9e2f7fe183719e37fa463ffe2b937714b7463 SHA512 96876f7e15ff5e166dcd116e2286294b7b375e55723684e4e3dec31aba46d1c89ccd70007fc01cab97a5fd5e671ec073c3f69525ff7e68126851e587d4f20c3b -EBUILD gwaei-3.6.2.ebuild 1357 BLAKE2B f610b5b3bde56cc03cc234b5fa9e2dfb5877af594c1dfb30a782576db59b9cbe24261310319f3f3aa22597321ef75a1bdcc16e5ee1f64f2f3628ccce2407a5a6 SHA512 9dec52d67c23c133df858aeab12200a6ac91dc9a332f45b58bcd4664bc6285cd74c2a4de6a52e06f05dde03b34debcd55b5a0fa71fbc399d8adec3ee68a81154 +EBUILD gwaei-3.6.2.ebuild 1275 BLAKE2B 8f8ec4f8939a39fc050a67740fee1181039fa0c09a8fc1c9725e7070977afcebfef737982d2707d901b9f926b9bc5a017cddfa8b1a1a242d62054a0518b093f5 SHA512 a5c7a67dbb50914488f4fd5d6e9cea144ada517fae71fd5dbb8c838265b60ffcd05552b3b782e618281fe3d7d924d6076a58cb2a00ac6238af15fb2038df7baa MISC metadata.xml 762 BLAKE2B 96509839f9438ea2d387e73790629af5db6f7307dd7dc009489ee9aac1520ac53efb6cf855ceaa3a272cb128b60e2bd068f61e0375c104985d30198c10a1995a SHA512 2fade949182ab7d2a48a98f24c45f806cc84fdb481c8357c282fffc44c7a02a36dcb58f3c7ec586ee87c7a98b04522c33cc01135bfddeb49044ee2791b8b820b diff --git a/app-dicts/gwaei/gwaei-3.6.2.ebuild b/app-dicts/gwaei/gwaei-3.6.2.ebuild index 760d43ab9b63..045d9d6ad1f2 100644 --- a/app-dicts/gwaei/gwaei-3.6.2.ebuild +++ b/app-dicts/gwaei/gwaei-3.6.2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="4" +EAPI=7 -inherit gnome2-utils eutils +inherit gnome2-utils DESCRIPTION="Japanese-English Dictionary for GNOME" HOMEPAGE="http://gwaei.sourceforge.net/" @@ -12,10 +12,11 @@ SRC_URI="mirror://sourceforge/gwaei/${P}.tar.xz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="gtk hunspell nls test mecab" +IUSE="gtk hunspell nls mecab test" RESTRICT="!test? ( test )" -RDEPEND=">=net-misc/curl-7.20.0 +RDEPEND=" + >=net-misc/curl-7.20.0 >=dev-libs/glib-2.31 gtk? ( x11-libs/gtk+:3 @@ -25,50 +26,44 @@ RDEPEND=">=net-misc/curl-7.20.0 nls? ( virtual/libintl ) mecab? ( app-text/mecab )" DEPEND="${RDEPEND} - test? ( - app-text/docbook-xml-dtd:4.1.2 - app-text/scrollkeeper-dtd - ) gtk? ( x11-themes/gnome-icon-theme-symbolic >=app-text/gnome-doc-utils-0.14.0 - ) - nls? ( >=sys-devel/gettext-0.17 ) + )" +BDEPEND=" app-text/rarian dev-util/intltool - virtual/pkgconfig" + virtual/pkgconfig + nls? ( >=sys-devel/gettext-0.17 ) + test? ( + app-text/docbook-xml-dtd:4.1.2 + app-text/scrollkeeper-dtd + )" src_configure() { econf \ + --disable-static \ $(use_with gtk gnome) \ $(use_enable nls) \ $(use_with hunspell) \ - $(use_with mecab) \ - --disable-static \ - --docdir=/usr/share/doc/${PF} + $(use_with mecab) } src_install() { - emake DESTDIR="${D}" install - find "${D}" -name '*.la' -delete + default - dodoc AUTHORS README + # no static archives + find "${ED}" -name '*.la' -delete || die } pkg_preinst() { - if use gtk ; then - gnome2_schemas_savelist - fi + use gtk && gnome2_schemas_savelist } pkg_postinst() { - if use gtk ; then - gnome2_schemas_update - fi + use gtk && gnome2_schemas_update } pkg_postrm() { - if use gtk ; then - gnome2_schemas_update - fi + use gtk && gnome2_schemas_update } |