diff options
author | Pacho Ramos <pacho@gentoo.org> | 2016-07-31 13:52:40 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2016-07-31 13:53:43 +0200 |
commit | 4847fab661493c957f8a49e046c997cef5729814 (patch) | |
tree | c4e9faa635cca265d6c33f1bb5e2a4d12b0032c5 /app-i18n | |
parent | c97f60c49740434970d923ae38863f31d4f296e3 (diff) | |
download | gentoo-4847fab661493c957f8a49e046c997cef5729814.tar.gz gentoo-4847fab661493c957f8a49e046c997cef5729814.tar.xz |
app-i18n/libtomoe-gtk: Disable gucharmap support (#565296), no need to rebuild gtk-doc.
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-i18n')
-rw-r--r-- | app-i18n/libtomoe-gtk/libtomoe-gtk-0.6.0-r4.ebuild | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/app-i18n/libtomoe-gtk/libtomoe-gtk-0.6.0-r4.ebuild b/app-i18n/libtomoe-gtk/libtomoe-gtk-0.6.0-r4.ebuild new file mode 100644 index 00000000000..365bb3f856f --- /dev/null +++ b/app-i18n/libtomoe-gtk/libtomoe-gtk-0.6.0-r4.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit python-single-r1 + +MY_P="tomoe-gtk-${PV}" +DESCRIPTION="Tomoe GTK+ interface widget library" +HOMEPAGE="http://tomoe.sourceforge.jp/" +SRC_URI="mirror://sourceforge/tomoe/${MY_P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="python static-libs" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + >=app-i18n/tomoe-0.6.0 + python? ( + ${PYTHON_DEPS} + >=app-i18n/tomoe-0.6.0[python,${PYTHON_USEDEP}] + dev-python/pygtk:2[${PYTHON_USEDEP}] + dev-python/pygobject:2[${PYTHON_USEDEP}] + ) +" +DEPEND="${RDEPEND} + dev-util/gtk-doc-am + virtual/pkgconfig + sys-devel/gettext +" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + if use python ; then + python-single-r1_pkg_setup + fi +} + +src_configure() { + local myconf + #--with-python b0rked hard + unset PYTHON + use python || myconf="${myconf} --without-python" + + # Rely on precompiled gtk-doc files, + # https://wiki.gentoo.org/wiki/Project:GNOME/Gnome_Team_Ebuild_Policies#gtk-doc + econf \ + --disable-gtk-doc \ + --without-gucharmap \ + $(use_enable static-libs static) \ + ${myconf} +} + +src_install() { + default + + if use python ; then + find "${D}$(python_get_sitedir)" \( -name "*.la" -o -name "*.a" \) -type f -delete || die + fi + if ! use static-libs ; then + find "${ED}" -name "*.la" -type f -delete || die + fi +} |