diff options
author | Mart Raudsepp <leio@gentoo.org> | 2018-08-26 03:43:23 +0300 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2018-08-30 00:56:40 +0300 |
commit | 444036293927b42e9a91e716871af40ed8cb3160 (patch) | |
tree | 2063cad87d5ea34f45515f2863e7dd4b5a44d4b8 /dev-libs/template-glib | |
parent | dev-libs/jsonrpc-glib: New package for JSON-RPC with GLib (diff) | |
download | gentoo-444036293927b42e9a91e716871af40ed8cb3160.tar.gz gentoo-444036293927b42e9a91e716871af40ed8cb3160.tar.bz2 gentoo-444036293927b42e9a91e716871af40ed8cb3160.zip |
dev-libs/template-glib: New package for templating with GLib
Package-Manager: Portage-2.3.48, Repoman-2.3.10
Diffstat (limited to 'dev-libs/template-glib')
-rw-r--r-- | dev-libs/template-glib/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/template-glib/metadata.xml | 13 | ||||
-rw-r--r-- | dev-libs/template-glib/template-glib-3.28.0.ebuild | 46 |
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-libs/template-glib/Manifest b/dev-libs/template-glib/Manifest new file mode 100644 index 000000000000..c5c9881f1aa1 --- /dev/null +++ b/dev-libs/template-glib/Manifest @@ -0,0 +1 @@ +DIST template-glib-3.28.0.tar.xz 54320 BLAKE2B 3f06857756cc49655b0289a4c0e576c681948e347112de713e0ea3c8c47db8a68efb258688afa8277362d2fb1e5a73d2f659570607d90abf6a804ea13a9467e2 SHA512 95d780c03567a8cc1bc02ffabfed2ef4bbe359941b326bad006aba6689686421bc25d357b574cf8ab9d9a27b7707f2f6041a9fcc90a7fcedbf02e9a0e8286860 diff --git a/dev-libs/template-glib/metadata.xml b/dev-libs/template-glib/metadata.xml new file mode 100644 index 000000000000..b776041d6e26 --- /dev/null +++ b/dev-libs/template-glib/metadata.xml @@ -0,0 +1,13 @@ +<?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> + <longdescription>Template-GLib is a templating library for GLib. It includes a simple template + format along with integration into GObject-Introspection for properties and + methods. It separates the parsing of templates and the expansion of templates + for faster expansion. You can also define scope, custom functions, and more + with the embedded expression language.</longdescription> +</pkgmetadata> diff --git a/dev-libs/template-glib/template-glib-3.28.0.ebuild b/dev-libs/template-glib/template-glib-3.28.0.ebuild new file mode 100644 index 000000000000..319031f57b3e --- /dev/null +++ b/dev-libs/template-glib/template-glib-3.28.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit gnome.org meson xdg vala + +DESCRIPTION="Templating library for GLib" +HOMEPAGE="https://gitlab.gnome.org/GNOME/template-glib" + +LICENSE="LGPL-2.1+" +SLOT="0/1" +KEYWORDS="~amd64" + +IUSE="gtk-doc +introspection vala" +REQUIRED_USE="vala? ( introspection )" + +RDEPEND=" + dev-libs/glib:2 + dev-libs/gobject-introspection:= +" # 3.28.0 depends on go-i unconditionally, USE flag controls GIR/typelib generation +DEPEND="${RDEPEND} + vala? ( $(vala_depend) ) + dev-util/glib-utils + sys-devel/bison + sys-devel/flex + sys-devel/gettext + virtual/pkgconfig + gtk-doc? ( dev-util/gtk-doc ) +" + +src_prepare() { + use vala && vala_src_prepare + xdg_src_prepare +} + +src_configure() { + local emesonargs=( + -Denable_tracing=false # extra trace debugging that would make things slower + -Denable_profiling=false # -pg passing + $(meson_use introspection with_introspection) + $(meson_use vala with_vapi) + $(meson_use gtk-doc enable_gtk_doc) + ) + meson_src_configure +} |