diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
commit | 752d6256e5204b958b0ef7905675a940b5e9172f (patch) | |
tree | 330d16e6362a49cbed8875a777fe641a43376cd3 /gui-libs/gtksourceview | |
parent | 0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff) |
gentoo resync : 12.05.2022
Diffstat (limited to 'gui-libs/gtksourceview')
-rw-r--r-- | gui-libs/gtksourceview/Manifest | 4 | ||||
-rw-r--r-- | gui-libs/gtksourceview/gtksourceview-5.4.0.ebuild | 2 | ||||
-rw-r--r-- | gui-libs/gtksourceview/gtksourceview-5.4.1.ebuild | 74 |
3 files changed, 78 insertions, 2 deletions
diff --git a/gui-libs/gtksourceview/Manifest b/gui-libs/gtksourceview/Manifest index b537db0c0498..b23941ac3693 100644 --- a/gui-libs/gtksourceview/Manifest +++ b/gui-libs/gtksourceview/Manifest @@ -1,4 +1,6 @@ AUX 5-gentoo.lang 3898 BLAKE2B a47c411fa650a53cb9176c3b670b5189ea9ee0c268d09444e08756f49d1d73c14c9505a19d9354671254cbfe0bfdc69545c3d5b761998037ab2ec57ce58bb2d7 SHA512 fffb635074ed0de4cedb3836f37322c7b9b58b65e91a014b72bd6a41bcaf195f0b25d4031d65d60fa5abd1c7f4f5aaf19d61a77eb91ab6f59df814dacf0a0595 DIST gtksourceview-5.4.0.tar.xz 1259684 BLAKE2B 1561984d967dc6ab06e02d0da6b0a90573f5bc40670cbc189cef0b56ce7be9f84b0a82ccc2cd73ff3e2fb35218785e183a83a0ad5dd5ba85b023ac221820b88c SHA512 0a84e2012639aa29613896e36bb8e73656661dbd9c045507cae3c0d9863dc1ed0390432091d2d2e62fd4a9a0f1853820a2edb406ef2deecd0996b202c7b741c3 -EBUILD gtksourceview-5.4.0.ebuild 1768 BLAKE2B aa4a5a39ad370b68398d4a554d786bf3877f619c240bc9d0e0c5f51737fed82d9ffe7d432cadd0213fe82512af7126ddeb4fe8ec47ffd7de1a12eef36aea44d5 SHA512 e91c40560429538dd8d0dfbc3797f8d8f276aeb314e97b4b3971d0e4b5357214e5446a416d9a1c72044b535d3b0780a9bb774c4a9fb3eccf1f41cd776e0d2a38 +DIST gtksourceview-5.4.1.tar.xz 1258668 BLAKE2B 588dc30093f9300c96aabdabd5bccc84a4fe93ebdcfab61f72a33113ec3f53826022d730a79e7b467a392d4467a0370b2fd3e6edf5cb2f31525b7c3d18e52107 SHA512 5270db969455ad29498a02a851802228575c9b4b6cf6d4f9736bff95f869f1052550034fe6cc4f0c8d29174559d147068dcd088ab09b2008399f7a717aced298 +EBUILD gtksourceview-5.4.0.ebuild 1775 BLAKE2B 4b15151325c48c8df9a0686a78da1ec824feb736f2ab2eef8858a2f9f65482d93a1473405d3e035d26b5d622fafa346a8d0da2f14726ab9d0e903c094774678e SHA512 5ed518c16b45fe5b223489ed4d46faebd2e51759fc5dbe373814240f32e93fc4a92727f9e12e33f44dfa95b23b8467eed62c1320020d73d23266ac3a132f8ce4 +EBUILD gtksourceview-5.4.1.ebuild 1823 BLAKE2B 4d5e4ef0e14936cec02b558543a9f832ef322042c96dbefaac2f95e484b5d6978775c256fb0bfa40c0c4fa1cec9d1fd9ec88116556b1f4d6a8b584ffdda89be4 SHA512 a7bbb2dc0d632a2890c056fadabd7f726f2970fcc0844907077d9b99331cd9dbbe1036aeb7ad56bcdb4439adb05278c51021b58ac60cc1c0cbed9a393c35488b MISC metadata.xml 372 BLAKE2B b688307985302494fc956df801d7ab8e4ac52ede6baec476031c31cabc013df8f0846ca3a0d67b613d4f3ba80edf69631f4d15bb43cadba82ecb1468b558651a SHA512 33dbeb75d42b8d42953d1db99e286baa90b0c7a2e6a93e945e2c1e2cb0287445aeef287bc41d44a53fcc243529880c237cf1acedc4962ee5ef5cc1e6424e102c diff --git a/gui-libs/gtksourceview/gtksourceview-5.4.0.ebuild b/gui-libs/gtksourceview/gtksourceview-5.4.0.ebuild index aac7dceca54e..ab65cf65e059 100644 --- a/gui-libs/gtksourceview/gtksourceview-5.4.0.ebuild +++ b/gui-libs/gtksourceview/gtksourceview-5.4.0.ebuild @@ -16,7 +16,7 @@ REQUIRED_USE=" gtk-doc? ( introspection ) vala? ( introspection ) " -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~riscv" RDEPEND=" >=dev-libs/glib-2.70:2 diff --git a/gui-libs/gtksourceview/gtksourceview-5.4.1.ebuild b/gui-libs/gtksourceview/gtksourceview-5.4.1.ebuild new file mode 100644 index 000000000000..0336026f0326 --- /dev/null +++ b/gui-libs/gtksourceview/gtksourceview-5.4.1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2022 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="~amd64 ~arm64 ~ia64 ~ppc ~ppc64 ~riscv" + +RDEPEND=" + >=dev-libs/glib-2.70:2 + >=gui-libs/gtk-4.5: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=2 +} + +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 +} |