diff options
Diffstat (limited to 'app-dicts')
-rw-r--r-- | app-dicts/verbiste/Manifest | 1 | ||||
-rw-r--r-- | app-dicts/verbiste/verbiste-0.1.48.ebuild | 63 |
2 files changed, 64 insertions, 0 deletions
diff --git a/app-dicts/verbiste/Manifest b/app-dicts/verbiste/Manifest index f8304dddee8e..ccc70cba7a55 100644 --- a/app-dicts/verbiste/Manifest +++ b/app-dicts/verbiste/Manifest @@ -1 +1,2 @@ DIST verbiste-0.1.47.tar.gz 781085 BLAKE2B 39f92bffc2165b49a2cd66ced4337aa4eb4253a1d767f0c26cea0bc10e965a5547158ab0de796b76016fd46bd220b305a14c9be42b76f5a25f0fde85e4ff1b97 SHA512 cc06d3e4a09b9edf2fe3996f527ae05fa50af909cc5ea6ed830d1b4f5706cf9b29028160cff842a211148e13d736f7e2cb74f10b3c5fd84d93a1038e05a26cbf +DIST verbiste-0.1.48.tar.gz 807115 BLAKE2B 666df78baf30ae4fba19e86dc2b812ea6ea6711829d46e6c1e5474f3b500576c992a3338abdbe6c347d154d1f37b696ef59e1e60a8ab79c2ef5b9584d026ac2a SHA512 4d0ac1a1116b51196b1ba72cceed507c56551ed97d2de07dfbf1f6eb48769a7c3c1ee676aa3a2d3f9e3cb512df3808d9bb1da9c7166a820cc3379ff06f4f14f2 diff --git a/app-dicts/verbiste/verbiste-0.1.48.ebuild b/app-dicts/verbiste/verbiste-0.1.48.ebuild new file mode 100644 index 000000000000..b5a0b66f3fe5 --- /dev/null +++ b/app-dicts/verbiste/verbiste-0.1.48.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop xdg-utils + +DESCRIPTION="French conjugation system" +HOMEPAGE="http://sarrazip.com/dev/verbiste.html" +SRC_URI="http://sarrazip.com/dev/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~riscv ~x86" +IUSE="gtk" + +RDEPEND=" + >=dev-libs/libxml2-2.4.0:2 + gtk? ( >=x11-libs/gtk+-2.6:2 ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + sys-devel/gettext + virtual/pkgconfig +" + +src_configure() { + local myeconfargs=( + --with-console-app + --without-gnome-app + --without-gnome-applet + $(use_with gtk gtk-app) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + + dodoc HACKING LISEZMOI + # file is only installed with USE=gnome + if use gtk; then + sed -e 's/Exec=.*/Exec=verbiste-gtk/' \ + -i src/gnome/verbiste.desktop || die + domenu src/gnome/verbiste.desktop + fi + + find "${ED}" -name '*.la' -delete || die +} + +pkg_postinst() { + if use gtk; then + xdg_desktop_database_update + xdg_icon_cache_update + fi +} + +pkg_postrm() { + if use gtk; then + xdg_desktop_database_update + xdg_icon_cache_update + fi +} |