summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2017-08-15 17:08:08 +0200
committerGilles Dartiguelongue <eva@gentoo.org>2017-08-16 00:59:51 +0200
commit3da745ffcba153c34db9eacdecbb61433a8d914b (patch)
tree4bce9a9b48cc9939eb6ce2627152a9276a2444b1 /x11-libs
parentdev-java/db4o-jdk5: EAPI 6 bump. (diff)
downloadgentoo-3da745ffcba153c34db9eacdecbb61433a8d914b.tar.gz
gentoo-3da745ffcba153c34db9eacdecbb61433a8d914b.tar.bz2
gentoo-3da745ffcba153c34db9eacdecbb61433a8d914b.zip
x11-libs/gtef: initial ebuild
required by latexila-3.24, later renamed to tpel.
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/gtef/Manifest1
-rw-r--r--x11-libs/gtef/gtef-2.0.1.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/x11-libs/gtef/Manifest b/x11-libs/gtef/Manifest
new file mode 100644
index 000000000000..c94c5cef6bcb
--- /dev/null
+++ b/x11-libs/gtef/Manifest
@@ -0,0 +1 @@
+DIST gtef-2.0.1.tar.xz 429800 SHA256 8432f0f404b93e5a2702978b5f121b8f9ae2167c906e9f2ed7b5165142e27a4f SHA512 51cec42405f41c8d3d311811f3a9f6c67ca2a6a87cb305f9becc14694683ed427bf14797d8c997f17d4a05b3048d91cb5ebde81d0db4d11048e8978ecb7e64e1 WHIRLPOOL 285fb42b8b74849e212b022f81d734f1c8c2675bd6a55ec5b9258693b7b329e6fed372dd7604925fdfed268344424d83293a2b80ee6b9b996ff711a9866d259f
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..ac2714fe04cc
--- /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
+}