diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-07-19 12:29:09 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-07-19 12:29:09 +0100 |
commit | c59df12b8749ab7bbd5a0692072652d4fbb0d2cf (patch) | |
tree | b0c755a8dc7206de06d287c623e493927679f700 /gui-libs/gtksourceview | |
parent | f85858c81a721c7fc89c1ab8df19e3a213dc27cd (diff) |
gentoo auto-resync : 19:07:2024 - 12:29:09
Diffstat (limited to 'gui-libs/gtksourceview')
-rw-r--r-- | gui-libs/gtksourceview/Manifest | 2 | ||||
-rw-r--r-- | gui-libs/gtksourceview/gtksourceview-5.12.1.ebuild | 74 |
2 files changed, 76 insertions, 0 deletions
diff --git a/gui-libs/gtksourceview/Manifest b/gui-libs/gtksourceview/Manifest index 42f7f5930920..5e6153128161 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.12.1.tar.xz 1265500 BLAKE2B a9200d97cda514c62a181e3d07a0c71719710299d06e1cbc29c6b7817eb6167e7b7bdc64f32121fc54bd7093a918600c0fba70b5cb4b93906f6aaf80fd6521ed SHA512 64c347df505c640feb2d5885a3fa047a3a5dc6bf86b031ec9f8eec5544bc9d996ca3bfd41aea78ebfa9171a206a64d88773d53f1bc8d0f2171429c1ee788cd40 EBUILD gtksourceview-5.10.0.ebuild 1851 BLAKE2B 5af9d2be9a127d21cef98c5732ca3354b34688ad6c078708a55c575421f86c10180d7e5c00bd4942963eb754867a18b5a2c67597f284649c8b308b1007746de3 SHA512 6c0e23eee2115734c09df854f4a4a1c67642f79b1522e1b19347894e0c2bd65d6cd8fdef7e81d3a31aecb21aa49a04ac291509bd608170e77d4af7693fa98b6c +EBUILD gtksourceview-5.12.1.ebuild 1860 BLAKE2B ca44c4b2a964d25641a4f5020d019d993afb58ccea00cc310326c12728e4071d26184e67ce99e37523ffcb479b21ad378bc672fd24e025cb560a0cf6f1d86287 SHA512 2535bb97baae5530e820452d4b33004f27e0600aabf25f7da5966f6210849e4bdb8e2560507bbfc998198cb6c5d223b3c349b590134d6c7e67c82dc3d76923e8 MISC metadata.xml 483 BLAKE2B 4a540a461cade35f65793fedf3ef6ff73d4fb73d15127f752e0878c488c837c2616d1aed9f39bc94ea1196221cc94bc3372ecc985f83bc6bffa467aef8c4d185 SHA512 366ceb666c38841efd022c74452626c98bc99cbfa649a6d79416a08e8694194c8ec00419147a79f3c7742aba9d90c77194573e9a44b72ce38435ef456e43e643 diff --git a/gui-libs/gtksourceview/gtksourceview-5.12.1.ebuild b/gui-libs/gtksourceview/gtksourceview-5.12.1.ebuild new file mode 100644 index 000000000000..963384d48830 --- /dev/null +++ b/gui-libs/gtksourceview/gtksourceview-5.12.1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2024 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" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="gtk-doc +introspection sysprof +vala" +REQUIRED_USE=" + gtk-doc? ( introspection ) + vala? ( introspection ) +" + +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 documentation) + $(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 +} |