summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-dicts/gwaei/ChangeLog8
-rw-r--r--app-dicts/gwaei/gwaei-3.2.0.ebuild69
2 files changed, 75 insertions, 2 deletions
diff --git a/app-dicts/gwaei/ChangeLog b/app-dicts/gwaei/ChangeLog
index b005ecdd22ef..43966bfc8cbc 100644
--- a/app-dicts/gwaei/ChangeLog
+++ b/app-dicts/gwaei/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-dicts/gwaei
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-dicts/gwaei/ChangeLog,v 1.27 2012/05/03 18:18:07 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-dicts/gwaei/ChangeLog,v 1.28 2012/07/08 21:43:01 naota Exp $
+
+*gwaei-3.2.0 (08 Jul 2012)
+
+ 08 Jul 2012; Naohiro Aota <naota@gentoo.org> +gwaei-3.2.0.ebuild:
+ Bump to 3.2.0
03 May 2012; Jeff Horelick <jdhore@gentoo.org> gwaei-3.0.2.ebuild:
dev-util/pkgconfig -> virtual/pkgconfig
@@ -146,4 +151,3 @@
09 Jan 2009; MATSUU Takuto <matsuu@gentoo.org> +metadata.xml,
+gwaei-0.11.0.ebuild:
Initial import.
-
diff --git a/app-dicts/gwaei/gwaei-3.2.0.ebuild b/app-dicts/gwaei/gwaei-3.2.0.ebuild
new file mode 100644
index 000000000000..f44a079c5842
--- /dev/null
+++ b/app-dicts/gwaei/gwaei-3.2.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-dicts/gwaei/gwaei-3.2.0.ebuild,v 1.1 2012/07/08 21:43:01 naota Exp $
+
+EAPI="4"
+
+inherit gnome2-utils eutils
+
+DESCRIPTION="Japanese-English Dictionary for GNOME"
+HOMEPAGE="http://gwaei.sourceforge.net/"
+SRC_URI="mirror://sourceforge/gwaei/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gtk nls test"
+
+RDEPEND=">=net-misc/curl-7.21.0
+ >=dev-libs/glib-2.25.0:2
+ gtk? (
+ x11-libs/gtk+:3
+ >=app-text/gnome-doc-utils-0.13.0
+ )
+ nls? ( virtual/libintl )"
+DEPEND="${RDEPEND}
+ test? (
+ app-text/docbook-xml-dtd:4.1.2
+ app-text/scrollkeeper-dtd
+ )
+ gtk? (
+ >=app-text/gnome-doc-utils-0.13.0
+ )
+ nls? ( >=sys-devel/gettext-0.17 )
+ app-text/rarian
+ dev-util/intltool
+ virtual/pkgconfig"
+
+src_configure() {
+ econf \
+ $(use_with gtk gnome) \
+ $(use_enable nls) \
+ --disable-static \
+ --docdir=/usr/share/doc/${PF}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ find "${D}" -name '*.la' -delete
+
+ dodoc AUTHORS README
+}
+
+pkg_preinst() {
+ if use gtk ; then
+ gnome2_schemas_savelist
+ fi
+}
+
+pkg_postinst() {
+ if use gtk ; then
+ gnome2_schemas_update
+ fi
+}
+
+pkg_postrm() {
+ if use gtk ; then
+ gnome2_schemas_update
+ fi
+}