diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-01-08 18:31:37 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-01-08 18:31:37 +0000 |
commit | a9631831be92c954e0371bd6d07cd76a674cbe27 (patch) | |
tree | 64cd2ed0dd78958692af0f243a8d186e8581659a /app-text/stardict | |
parent | security: bouncedcc dos fix - bug #398159 (diff) | |
download | gentoo-2-a9631831be92c954e0371bd6d07cd76a674cbe27.tar.gz gentoo-2-a9631831be92c954e0371bd6d07cd76a674cbe27.tar.bz2 gentoo-2-a9631831be92c954e0371bd6d07cd76a674cbe27.zip |
Use gnome2.eclass for gconf schema(s).
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'app-text/stardict')
-rw-r--r-- | app-text/stardict/ChangeLog | 5 | ||||
-rw-r--r-- | app-text/stardict/stardict-3.0.3.ebuild | 43 |
2 files changed, 28 insertions, 20 deletions
diff --git a/app-text/stardict/ChangeLog b/app-text/stardict/ChangeLog index 060205512196..3c126fcbbb21 100644 --- a/app-text/stardict/ChangeLog +++ b/app-text/stardict/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-text/stardict # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/stardict/ChangeLog,v 1.13 2012/01/08 17:47:32 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/stardict/ChangeLog,v 1.14 2012/01/08 18:31:37 ssuominen Exp $ + + 08 Jan 2012; Samuli Suominen <ssuominen@gentoo.org> stardict-3.0.3.ebuild: + Use gnome2.eclass for gconf schema(s). 08 Jan 2012; Samuli Suominen <ssuominen@gentoo.org> stardict-3.0.3.ebuild: Missing CPL-1.0 and LGPL-2 licenses as noted by top level README. diff --git a/app-text/stardict/stardict-3.0.3.ebuild b/app-text/stardict/stardict-3.0.3.ebuild index aaf8394394bf..84c5650f22d0 100644 --- a/app-text/stardict/stardict-3.0.3.ebuild +++ b/app-text/stardict/stardict-3.0.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/stardict/stardict-3.0.3.ebuild,v 1.4 2012/01/08 17:54:05 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/stardict/stardict-3.0.3.ebuild,v 1.5 2012/01/08 18:31:37 ssuominen Exp $ # NOTE: Even though the *.dict.dz are the same as dictd/freedict's files, # their indexes seem to be in a different format. So we'll keep them @@ -9,7 +9,11 @@ # NOTE: Festival plugin crashes, bug 188684. Disable for now. EAPI=4 -inherit eutils + +GNOME2_LA_PUNT=yes +GCONF_DEBUG=no + +inherit eutils gnome2 DESCRIPTION="A international dictionary supporting fuzzy and glob style matching" HOMEPAGE="http://code.google.com/p/stardict-3/" @@ -52,30 +56,31 @@ DEPEND="${COMMON_DEPEND} RESTRICT="test" +pkg_setup() { + G2CONF="$(use_enable editor tools) + --disable-scrollkeeper + $(use_enable spell) + $(use_enable gucharmap) + --disable-festival + $(use_enable espeak) + $(use_enable qqwry) + --disable-updateinfo + $(use_enable gnome gnome-support) + --disable-gpe-support + --disable-schemas-install" +} + src_prepare() { epatch \ "${FILESDIR}"/${P}-correct-glib-include.patch \ "${FILESDIR}"/${P}-entry.patch \ "${FILESDIR}"/${P}-gcc46.patch -} -src_configure() { - econf \ - $(use_enable editor tools) \ - --disable-scrollkeeper \ - $(use_enable spell) \ - $(use_enable gucharmap) \ - --disable-festival \ - $(use_enable espeak) \ - $(use_enable qqwry) \ - --disable-updateinfo \ - $(use_enable gnome gnome-support) \ - --disable-gpe-support \ - --disable-schemas-install + gnome2_src_prepare } src_install() { - emake DESTDIR="${D}" install + gnome2_src_install dodoc dict/doc/{Documentation,FAQ,HACKING,HowToCreateDictionary,Skins,StarDictFileFormat,Translation} @@ -91,8 +96,6 @@ src_install() { insinto /usr/share doins -r ../WyabdcRealPeopleTTS fi - - find "${ED}" -name '*.la' -exec rm -f {} + } pkg_postinst() { @@ -105,4 +108,6 @@ pkg_postinst() { elog "you have not, execute the below to get a list of dictionaries:" elog elog " emerge -s stardict-" + + gnome2_pkg_postinst } |