Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-dicts/verbiste/
Date: Sun, 27 Dec 2015 17:14:43
Message-Id: 1451236465.a8bcb20d3246eda710c11a1c8371641799370693.eva@gentoo
1 commit: a8bcb20d3246eda710c11a1c8371641799370693
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 27 17:10:10 2015 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 27 17:14:25 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8bcb20d
7
8 app-dicts/verbiste: version bump to 0.1.41
9
10 Package-Manager: portage-2.2.26
11
12 app-dicts/verbiste/Manifest | 1 +
13 app-dicts/verbiste/verbiste-0.1.41.ebuild | 67 +++++++++++++++++++++++++++++++
14 2 files changed, 68 insertions(+)
15
16 diff --git a/app-dicts/verbiste/Manifest b/app-dicts/verbiste/Manifest
17 index a2cf3d6..2895fdf 100644
18 --- a/app-dicts/verbiste/Manifest
19 +++ b/app-dicts/verbiste/Manifest
20 @@ -1 +1,2 @@
21 DIST verbiste-0.1.38.tar.gz 706222 SHA256 7be13f0cc5c415ea5382ed2ee4391c21c700910eef2771086a28e44ff32817ff SHA512 b5d99d08a9d1a7c91c1dbb86e0d4465a46403db881cd28d2abaf8d376adef6b4d4f5ac93e528d45beb639b77aff7e1730dbb436624674ff21c1f5781173db787 WHIRLPOOL 9e7558e36c33eb7cd89f0cb888c01fb6040292ff7cdaeecd6f9ee51c7354939d5b9d23f769c67462be613abf0e275ab5580539a10fb5d0d8e8eca3489f16b027
22 +DIST verbiste-0.1.41.tar.gz 751059 SHA256 b4490d99dc768c8947536c01a5fbbecf71d067f472c0bd4d79b828df45d79f9f SHA512 f89bb1074cd8c65f8516004c89aae50c65b5bd426d78a01b5e6b7418d86b5c348d2c554ab202c9f34cc9c5586a54518160fc225afa237cdb140ff99f78563702 WHIRLPOOL 8a3d6a29f0bf428f2ec5f9852bf4381abb02eb4aac16153cd95fda367e1227cca3035a00de02f3d00757b254fba9dcc2d19a0f91454f82097ce4026d84ab83aa
23
24 diff --git a/app-dicts/verbiste/verbiste-0.1.41.ebuild b/app-dicts/verbiste/verbiste-0.1.41.ebuild
25 new file mode 100644
26 index 0000000..4155f64
27 --- /dev/null
28 +++ b/app-dicts/verbiste/verbiste-0.1.41.ebuild
29 @@ -0,0 +1,67 @@
30 +# Copyright 1999-2015 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI="5"
35 +
36 +inherit eutils gnome2-utils xdg-utils
37 +
38 +DESCRIPTION="French conjugation system"
39 +HOMEPAGE="http://sarrazip.com/dev/verbiste.html"
40 +SRC_URI="http://sarrazip.com/dev/${P}.tar.gz"
41 +
42 +SLOT="0"
43 +LICENSE="GPL-2"
44 +KEYWORDS="~amd64 ~ppc ~x86"
45 +
46 +IUSE="gtk"
47 +
48 +RDEPEND="
49 + >=dev-libs/libxml2-2.4.0:2
50 + gtk? ( >=x11-libs/gtk+-2.6:2 )
51 +"
52 +DEPEND="${RDEPEND}
53 + sys-devel/gettext
54 + virtual/pkgconfig
55 +"
56 +
57 +src_configure() {
58 + econf \
59 + --with-console-app \
60 + --without-gnome-app \
61 + --without-gnome-applet \
62 + $(use_with gtk gtk-app)
63 +}
64 +
65 +src_install() {
66 + default
67 + prune_libtool_files
68 + dodoc HACKING LISEZMOI
69 + # file is only installed with USE=gnome
70 + if use gtk; then
71 + sed -e 's/Exec=.*/Exec=verbiste-gtk/' \
72 + -i src/gnome/verbiste.desktop || die
73 + insinto usr/share/applications
74 + doins src/gnome/verbiste.desktop
75 + fi
76 +}
77 +
78 +pkg_preinst() {
79 + if use gtk; then
80 + gnome2_icon_savelist
81 + fi
82 +}
83 +
84 +pkg_postinst() {
85 + if use gtk; then
86 + xdg_desktop_database_update
87 + gnome2_icon_cache_update
88 + fi
89 +}
90 +
91 +pkg_postrm() {
92 + if use gtk; then
93 + xdg_desktop_database_update
94 + gnome2_icon_cache_update
95 + fi
96 +}