diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-17 05:02:24 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-17 05:02:24 +0100 |
commit | 58018a2c9504435bb719f2d60439ebe22fbeb503 (patch) | |
tree | 7c4241c639fcf98d0a61506786b8b3be9bfef48d /gui-libs/gtksourceview | |
parent | 5017c48e54de7e3dcebd1db96598cf0a07b21f16 (diff) |
gentoo auto-resync : 17:09:2023 - 05:02:24
Diffstat (limited to 'gui-libs/gtksourceview')
-rw-r--r-- | gui-libs/gtksourceview/Manifest | 2 | ||||
-rw-r--r-- | gui-libs/gtksourceview/gtksourceview-5.10.0.ebuild | 74 |
2 files changed, 76 insertions, 0 deletions
diff --git a/gui-libs/gtksourceview/Manifest b/gui-libs/gtksourceview/Manifest index ba241cf7afc0..c2cd705fec91 100644 --- a/gui-libs/gtksourceview/Manifest +++ b/gui-libs/gtksourceview/Manifest @@ -1,4 +1,6 @@ AUX 5-gentoo.lang 3889 BLAKE2B 1797c9e3ef615b36f3098104295fbadee18b8434d299bbab9603c5a00abdfb51c3a7db2f937885d8aa191067fd6e2ffbc1cf278b0d9333c67bcb07e24be5a7ba SHA512 a4ca3f24df56556c5d42aac19d36608d20466287b9e364154b1877c2a5aeab82a374fdf7dc64afbabbf9269d5a8fa88e1dd59d8a24a52fab219db09ec29a3d98 +DIST gtksourceview-5.10.0.tar.xz 1255564 BLAKE2B a105d118716f8e61beb4bb17b8e64dacdc42f1fcfac805a9b517431a4db4da92aea82ba7b042556bc222d8a6406cbe00281c5513c6e55b7517048dae17cf83a5 SHA512 c8fb377c0f65fff35fe764c98d40a399b2f3982bfb7e25512b50f4f3c31b226d4775e136fc4be682b2e44a3b643cefd01d195c9a61f5c3ca81d15bef0093e47a DIST gtksourceview-5.8.0.tar.xz 1253152 BLAKE2B 62806fbcced82fec3bdb3ec056dfe5d74db0c4cc039b6f0f18993872b9b082f1190698b0aca966bafc07c29d5ec7d37018c62e5142de0b426742cbe3ddac9f94 SHA512 370be5e8040f68eeef5fc6dec3e0ff9cbcf64a6ad162e228cddf07f6d493c762f37c89010073d4d850ec8c6ffa45c4697f5d9eb8c32de5fffc7ec97f44911d3b +EBUILD gtksourceview-5.10.0.ebuild 1854 BLAKE2B 1fcd59b4bd114a45246fcf6d2802b9d0beea94bace64f8ccefe4e69007a6331f40685b3520a7c98f1f5821390e7d41be31c1b18b280603186d9186f415a20e5c SHA512 43bf923afb36da55e1b8bc9b897a5d1514dc40785a8fece58a7dad1a26e7e90750b1a8ec7df90587668428e8ae4ad12ebbd5a1919a022bd4af10fa6b2d8d2649 EBUILD gtksourceview-5.8.0.ebuild 1851 BLAKE2B e0d52732cb340bc1fd6ad667f0db3e79d8c9f422b3a1a781e4289f5d51686ab1577cd1edec90018d8c77e489296a552bded144b9ab67119619fe400cebc789c5 SHA512 0fe551e4ffb1b6e2a17bcffff5c48e4ed4d68b7f089c561486b5255c86ad9cad5c5a43edc276de36a90b0dd7012e2c8e693e831443c5a64db3feb79246bff337 MISC metadata.xml 483 BLAKE2B 4a540a461cade35f65793fedf3ef6ff73d4fb73d15127f752e0878c488c837c2616d1aed9f39bc94ea1196221cc94bc3372ecc985f83bc6bffa467aef8c4d185 SHA512 366ceb666c38841efd022c74452626c98bc99cbfa649a6d79416a08e8694194c8ec00419147a79f3c7742aba9d90c77194573e9a44b72ce38435ef456e43e643 diff --git a/gui-libs/gtksourceview/gtksourceview-5.10.0.ebuild b/gui-libs/gtksourceview/gtksourceview-5.10.0.ebuild new file mode 100644 index 000000000000..622cee0bfad5 --- /dev/null +++ b/gui-libs/gtksourceview/gtksourceview-5.10.0.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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="5" + +IUSE="gtk-doc +introspection sysprof +vala" +REQUIRED_USE=" + gtk-doc? ( introspection ) + vala? ( introspection ) +" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=dev-libs/glib-2.72:2 + >=gui-libs/gtk-4.6:4[introspection?] + >=dev-libs/libxml2-2.6:2 + introspection? ( >=dev-libs/gobject-introspection-1.70.0:= ) + >=dev-libs/fribidi-0.19.7 + media-libs/fontconfig + x11-libs/pango[introspection?] + >=dev-libs/libpcre2-10.21:=[-recursion-limit(-)] + sysprof? ( dev-util/sysprof-capture:4 ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/glib-utils + gtk-doc? ( dev-util/gi-docgen ) + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + vala? ( $(vala_depend) ) +" + +src_prepare() { + default + use vala && vala_setup + xdg_environment_reset +} + +src_configure() { + local emesonargs=( + -Dinstall_tests=false + $(meson_feature introspection) + $(meson_use vala vapi) + $(meson_use gtk-doc gtk_doc) + $(meson_use sysprof) + ) + meson_src_configure +} + +src_test() { + # Tests fail in test-regex with libpcre2[recursion-limit] - https://gitlab.gnome.org/GNOME/gtksourceview/-/issues/255 + # Ensured OK via USE dep, as it would mean issues in real usage for syntax highlighting as well + virtx meson_src_test --timeout-multiplier=5 +} + +src_install() { + meson_src_install + + insinto /usr/share/${PN}-5/language-specs + newins "${FILESDIR}"/5-gentoo.lang gentoo.lang + + if use gtk-doc ; then + mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die + mv "${ED}"/usr/share/doc/${PN}${SLOT} "${ED}"/usr/share/gtk-doc/html/ || die + fi +} |