diff options
Diffstat (limited to 'x11-libs/gtef')
-rw-r--r-- | x11-libs/gtef/Manifest | 3 | ||||
-rw-r--r-- | x11-libs/gtef/gtef-2.0.1.ebuild | 55 | ||||
-rw-r--r-- | x11-libs/gtef/metadata.xml | 8 |
3 files changed, 66 insertions, 0 deletions
diff --git a/x11-libs/gtef/Manifest b/x11-libs/gtef/Manifest new file mode 100644 index 000000000000..21c3dac72c8d --- /dev/null +++ b/x11-libs/gtef/Manifest @@ -0,0 +1,3 @@ +DIST gtef-2.0.1.tar.xz 429800 SHA256 8432f0f404b93e5a2702978b5f121b8f9ae2167c906e9f2ed7b5165142e27a4f SHA512 51cec42405f41c8d3d311811f3a9f6c67ca2a6a87cb305f9becc14694683ed427bf14797d8c997f17d4a05b3048d91cb5ebde81d0db4d11048e8978ecb7e64e1 WHIRLPOOL 285fb42b8b74849e212b022f81d734f1c8c2675bd6a55ec5b9258693b7b329e6fed372dd7604925fdfed268344424d83293a2b80ee6b9b996ff711a9866d259f +EBUILD gtef-2.0.1.ebuild 1309 SHA256 9365444647614302dfa242c58fd9ef5e6735364ef8b1a3754d385ac25a0b8742 SHA512 4af4a9a852d3f5de81d2c821d47552007f7b5d32497f9b2401c38af5fdb17d28258707bba52794431de2b55e9421b2dfb6875e0c9a2fddcb6d34919c73e422ce WHIRLPOOL 048ee202f4bd0d122d26fa8f54ada3041c2b9e7397df62e1c2c26b8ba4156e46efab5af1871ff9982aa09473626dfacf4c007cf787a6ad70a90d2ef8e80f8798 +MISC metadata.xml 253 SHA256 8f92439176f4cd2ba6a060c523c6b29ab210cd9aab7903b6db6eecc6654b1e21 SHA512 8d59f413993268ca783f7407b676900bb2d964754bf705d4175e2bafbe058a52af74f3928e4bd84d292518f8cf13fab7051486ab7cdc61d02fae6e0188d44442 WHIRLPOOL d5d853bd8a39a54c45728e16a1aa295e014e0a3a105a01ec6b3c93a4f53d7b7055644708301751b7f5be68543056d3f0bd611d5ce0be442eb5d06f5e032fe154 diff --git a/x11-libs/gtef/gtef-2.0.1.ebuild b/x11-libs/gtef/gtef-2.0.1.ebuild new file mode 100644 index 000000000000..8be374567d7e --- /dev/null +++ b/x11-libs/gtef/gtef-2.0.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +VALA_USE_DEPEND="vapigen" + +inherit gnome2 vala virtualx + +DESCRIPTION="GtkSourceView-based text editors and IDE helper library" +HOMEPAGE="https://wiki.gnome.org/Projects/Gtef" + +LICENSE="LGPL-2.1+" +SLOT="2" +KEYWORDS="~amd64 ~x86" +IUSE="+introspection test vala" +REQUIRED_USE="vala? ( introspection )" + +RDEPEND=" + >=dev-libs/glib-2.52:2 + >=x11-libs/gtk+-3.20 + >=x11-libs/gtksourceview-3.22 + >=dev-libs/libxml2-2.5 + app-i18n/uchardet + introspection? ( >=dev-libs/gobject-introspection-1.42:= ) +" +DEPEND="${DEPEND} + test? ( dev-util/valgrind ) + vala? ( $(vala_depend) ) + >=sys-devel/gettext-0.19.4 + >=dev-util/gtk-doc-am-1.25 + virtual/pkgconfig +" + +src_prepare() { + # requires running gvfs-metadata + sed -e 's:\(g_test_add_func.*/file/load_save_metadata_sync.*\):/*\1*/:' \ + -e 's:\(g_test_add_func.*/file/load_save_metadata_async.*\):/*\1*/:' \ + -e 's:\(g_test_add_func.*/file/set_without_load.*\):/*\1*/:' \ + -i testsuite/test-file-metadata.c || die + + use vala && vala_src_prepare + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + --enable-gvfs-metadata \ + $(use_enable introspection) \ + $(use_enable vala) \ + $(use_enable test valgrind) +} + +src_test() { + virtx emake check +} diff --git a/x11-libs/gtef/metadata.xml b/x11-libs/gtef/metadata.xml new file mode 100644 index 000000000000..996e7cacd217 --- /dev/null +++ b/x11-libs/gtef/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> + </maintainer> +</pkgmetadata> |