diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2017-08-20 17:20:10 +0200 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2017-08-20 20:18:13 +0200 |
commit | 075b5f709e2f2bc71a4bcdfe1c16e5e77189b8fe (patch) | |
tree | 6027b8bafbab20399b067c46be0722163ccd5beb /app-dicts/verbiste/verbiste-0.1.44.ebuild | |
parent | app-emulation/xen-{tools,pvgrub}: x86 stable (bug #624128) (diff) | |
download | gentoo-075b5f709e2f2bc71a4bcdfe1c16e5e77189b8fe.tar.gz gentoo-075b5f709e2f2bc71a4bcdfe1c16e5e77189b8fe.tar.bz2 gentoo-075b5f709e2f2bc71a4bcdfe1c16e5e77189b8fe.zip |
app-dicts/verbiste: version bump 0.1.41 → 0.1.44
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'app-dicts/verbiste/verbiste-0.1.44.ebuild')
-rw-r--r-- | app-dicts/verbiste/verbiste-0.1.44.ebuild | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/app-dicts/verbiste/verbiste-0.1.44.ebuild b/app-dicts/verbiste/verbiste-0.1.44.ebuild new file mode 100644 index 000000000000..c9a1c7a067d7 --- /dev/null +++ b/app-dicts/verbiste/verbiste-0.1.44.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit eutils gnome2-utils xdg-utils + +DESCRIPTION="French conjugation system" +HOMEPAGE="http://sarrazip.com/dev/verbiste.html" +SRC_URI="http://sarrazip.com/dev/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~x86" + +IUSE="gtk" + +RDEPEND=" + >=dev-libs/libxml2-2.4.0:2 + gtk? ( >=x11-libs/gtk+-2.6:2 ) +" +DEPEND="${RDEPEND} + sys-devel/gettext + virtual/pkgconfig +" + +src_configure() { + econf \ + --with-console-app \ + --without-gnome-app \ + --without-gnome-applet \ + $(use_with gtk gtk-app) +} + +src_install() { + default + prune_libtool_files + 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 + insinto usr/share/applications + doins src/gnome/verbiste.desktop + fi +} + +pkg_preinst() { + if use gtk; then + gnome2_icon_savelist + fi +} + +pkg_postinst() { + if use gtk; then + xdg_desktop_database_update + gnome2_icon_cache_update + fi +} + +pkg_postrm() { + if use gtk; then + xdg_desktop_database_update + gnome2_icon_cache_update + fi +} |