diff options
author | Mart Raudsepp <leio@gentoo.org> | 2020-04-08 08:53:34 +0300 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2020-04-08 08:53:34 +0300 |
commit | b0e8b3173f503680b941e6af7f87e1c7a00ff79e (patch) | |
tree | b46c57ca7003afebd1a36bf9fb88564b47757bfe /x11-libs/gtksourceview/gtksourceview-4.4.0.ebuild | |
parent | media-libs/waffle: Reapply patch to Generate WaffleConfig.cmake file (diff) | |
download | gentoo-b0e8b3173f503680b941e6af7f87e1c7a00ff79e.tar.gz gentoo-b0e8b3173f503680b941e6af7f87e1c7a00ff79e.tar.bz2 gentoo-b0e8b3173f503680b941e6af7f87e1c7a00ff79e.zip |
x11-libs/gtksourceview: bump to 4.4.0
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'x11-libs/gtksourceview/gtksourceview-4.4.0.ebuild')
-rw-r--r-- | x11-libs/gtksourceview/gtksourceview-4.4.0.ebuild | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/x11-libs/gtksourceview/gtksourceview-4.4.0.ebuild b/x11-libs/gtksourceview/gtksourceview-4.4.0.ebuild new file mode 100644 index 000000000000..7de4201a29d2 --- /dev/null +++ b/x11-libs/gtksourceview/gtksourceview-4.4.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit gnome.org meson vala virtualx xdg + +DESCRIPTION="A text widget implementing syntax highlighting and other features" +HOMEPAGE="https://wiki.gnome.org/Projects/GtkSourceView" + +LICENSE="LGPL-2.1+" +SLOT="4" + +IUSE="glade gtk-doc +introspection +vala" +REQUIRED_USE="vala? ( introspection )" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" + +RDEPEND=" + >=dev-libs/glib-2.48:2 + >=x11-libs/gtk+-3.22:3[introspection?] + >=dev-libs/libxml2-2.6:2 + glade? ( >=dev-util/glade-3.9:3.10 ) + introspection? ( >=dev-libs/gobject-introspection-1.42.0:= ) + >=dev-libs/fribidi-0.19.7 +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/glib-utils + gtk-doc? ( >=dev-util/gtk-doc-1.25 + app-text/docbook-xml-dtd:4.3 ) + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + vala? ( $(vala_depend) ) +" + +src_prepare() { + use vala && vala_src_prepare + xdg_src_prepare +} + +src_configure() { + local emesonargs=( + $(meson_use glade glade_catalog) + -Dinstall_tests=false + $(meson_use introspection gir) + $(meson_use vala vapi) + $(meson_use gtk-doc gtk_doc) + ) + meson_src_configure +} + +src_test() { + virtx meson_src_test +} + +src_install() { + meson_src_install + + insinto /usr/share/${PN}-4/language-specs + doins "${FILESDIR}"/2.0/gentoo.lang + + # Avoid conflict with gtksourceview:3.0 glade-catalog + # TODO: glade doesn't actually show multiple GtkSourceView widget collections, so with both installed, can't really be sure which ones are used + if use glade; then + mv "${ED}"/usr/share/glade/catalogs/gtksourceview.xml "${ED}"/usr/share/glade/catalogs/gtksourceview-${SLOT}.xml || die + fi +} |