diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-08-10 11:05:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-08-10 11:05:14 +0100 |
commit | fbbf0ee3d56a6fd27adf182c6907dc745623aeaa (patch) | |
tree | 2c2869a78e5e3b6af9391df951ca217cced4608d /gui-libs/vte | |
parent | 43297a4ed0a3760bbdd0b8c286b779f174ca5368 (diff) |
gentoo auto-resync : 10:08:2024 - 11:05:14
Diffstat (limited to 'gui-libs/vte')
-rw-r--r-- | gui-libs/vte/Manifest | 4 | ||||
-rw-r--r-- | gui-libs/vte/vte-0.76.3.ebuild | 110 |
2 files changed, 114 insertions, 0 deletions
diff --git a/gui-libs/vte/Manifest b/gui-libs/vte/Manifest index 3aa46c3b623e..3ab7dc520cf1 100644 --- a/gui-libs/vte/Manifest +++ b/gui-libs/vte/Manifest @@ -1,5 +1,9 @@ AUX vte-0.66.2-musl-W_EXITCODE.patch 779 BLAKE2B c35f3cd21e59b9693d75b00232ef8b2d95448f4ff7031142050e9286ff854a19095bb56cec471d50585302ac08ca7a1d40ad068c013d8af142b0165d4c8d2112 SHA512 a3dd31fb4fcc9c2e725cfd64bbc63def63c1c1a85b6896b4a82083d6ff985df885c3a587e8c3c001de2acae476cb950f05a1e31b33bb263ba4895d25fa1e275b DIST vte-0.74.0-command-notify.patch.xz 9248 BLAKE2B 30917bc72d2b3fd917178f49c26f023d40d37e9a44a896c44e55345396d0bfdb1b109f8b2fdead96c31f92f5febcc397f2899511647c3adf3c2aace2be8ffa94 SHA512 fc0bb3cfa70fc5e1384c44fcce6d6a76957d0dd72f61a882d9df22d55dd06fcee4e7bd2a136c443158fe403992befe5d7ce5970b8b657b690b3875ff5171ea83 DIST vte-0.74.2.tar.bz2 505422 BLAKE2B 243eabfb26c0ec65d0b202437ae79265440256941dae4263e9d6dc9afea24d0fbbd7d421864a90b54d2ba953cd60a2b5a41aef9fb9e53396176bcc71400eef82 SHA512 203dd0f8606b8979cde01781412e0dbab3cb8857828e55f6d69ecfc2e4d58d53430aa5c61a2203e122c772ba1f6c5b739d3c03456b133580e76d511d67f3f534 +DIST vte-0.76.3-a11y-implement-GtkAccessibleText.patch.xz 9548 BLAKE2B 2c34f44cff5e1abf00358984c8000a3d7bce3b020be08052d016ca69864f9ab9b1a22ca6709dd5e78a13c8e43a6c4ace1fc1e74f5be83a9988c2b0083880ab95 SHA512 490ec91f27a8a873ee03f8aebb222217c85b2f865e6662dcc5efc1d9fe3765c966d4e9cd8691c4f1779e232139822eb1aa0f464e7090da96c6c17b556f642927 +DIST vte-0.76.3-command-notify.patch.xz 4336 BLAKE2B d3fd8eef9c3322af20ceac4678635edbb00159fa88147a897f655a5920c638da19fff10e08215a891df2cdd5721cd808b6041d84e74980a9f129e07de621526b SHA512 1c974ae97823659bee873036d656423255fae2b71baa4f4221b656055d69d55120f5cccfe3d9e514a64a2c5f87f94c1e4b47b4a2a233faf28ca06a959efe3e3b +DIST vte-0.76.3.tar.xz 961684 BLAKE2B 066eaa2e35652481e9cf487084e522f55fdedfccf6435440d13d80523e64fd9969b7ee0a235c6a97c5c0531ddad6977bfc42ccb6915d52990965b1af9a63470e SHA512 59cf3241f59b7ce795098814a04816d150330e4464a2438c974ac03cfd6aa05e7e037121a6a21929d6b12eb17fb1a4bf48c936604f0e0b770e3f125adb5a4c50 EBUILD vte-0.74.2.ebuild 3331 BLAKE2B 1107f756e3bb913459eb61e20234478c82e8ff5f342c4e2d71982863eea000100142e08bace13cd5f3dfacb14d656dfc8611d5bcdfc19d1e2673278c9c52afe2 SHA512 1159db76c0fd5cbe71c6a99fef69c36b1ce2e8185657205a003971be98c43c64ff505f9ced09e89b029d55472aa4f5f68f6ea2b632905a234d211552fe6292b4 +EBUILD vte-0.76.3.ebuild 3402 BLAKE2B 603d8a2fa302b0e41bd29fce25829712df981c266c170e0641cbcfb18f55b8fb2ce8da6c21b4f26ba948ea036ced396a622d193ca5a5814c8c6b43cb9085ecb7 SHA512 970f9e949dada674fc753f5c3a69c6e844731008224177d874d439a73da1993a2303429a7ec5b1a28b5537d5b2f5f7463344e51e7e5e6ae02eb1c2756cd47c0c MISC metadata.xml 612 BLAKE2B 3243ec48375bf8e69a367e5d631cf84c0ba60b43d1f4a25c313a407bfb1c9826ddd1cd75784bc302e7d8998d1bedaac9d75c7f329255e605315d9f0bf6154a73 SHA512 0abc6f1deb0a7900b6b35620ad3dfa26a900445526cc6474f974ce5cca2dad65cb3f3c4e3b8a59540821a9922e2cafcc7011d705570e77d2a46c907f3962a73d diff --git a/gui-libs/vte/vte-0.76.3.ebuild b/gui-libs/vte/vte-0.76.3.ebuild new file mode 100644 index 000000000000..1d0866faf17d --- /dev/null +++ b/gui-libs/vte/vte-0.76.3.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{10..13} ) + +inherit gnome.org meson python-any-r1 vala xdg + +DESCRIPTION="Library providing a virtual terminal emulator widget" +HOMEPAGE="https://gitlab.gnome.org/GNOME/vte/" + +SRC_URI="${SRC_URI} + !vanilla? ( + https://dev.gentoo.org/~pacho/${PN}/${P}-command-notify.patch.xz + https://dev.gentoo.org/~pacho/${PN}/${P}-a11y-implement-GtkAccessibleText.patch.xz ) +" +# Once SIXEL support ships (0.66 or later), might need xterm license (but code might be considered upgraded to LGPL-3+) +LICENSE="LGPL-3+ GPL-3+" +SLOT="2.91-gtk4" # vte_api_version + "-gtk4" in meson.build + +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="+crypt debug gtk-doc +icu +introspection systemd +vala vanilla" +REQUIRED_USE=" + gtk-doc? ( introspection ) + vala? ( introspection ) +" + +DEPEND=" + >=gui-libs/gtk-4.14:4[introspection?] + >=x11-libs/cairo-1.0 + >=dev-libs/fribidi-1.0.0 + >=dev-libs/glib-2.72:2 + crypt? ( >=net-libs/gnutls-3.2.7:0= ) + icu? ( dev-libs/icu:= ) + >=x11-libs/pango-1.22.0 + >=dev-libs/libpcre2-10.21:= + systemd? ( >=sys-apps/systemd-220:= ) + >=app-arch/lz4-1.9 + introspection? ( >=dev-libs/gobject-introspection-1.56:= ) + x11-libs/pango[introspection?] +" +RDEPEND="${DEPEND} + ~gui-libs/vte-common-${PV}[systemd?] +" +BDEPEND=" + ${PYTHON_DEPS} + dev-libs/libxml2:2 + 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 + + use elibc_musl && eapply "${FILESDIR}"/${PN}-0.66.2-musl-W_EXITCODE.patch + + if ! use vanilla; then + # From https://src.fedoraproject.org/rpms/vte291/raw/f40/f/0001-add-notification-and-shell-precmd-preexec.patch + # Adds OSC 777 support for desktop notifications in gnome-terminal or elsewhere + eapply "${WORKDIR}"/${P}-command-notify.patch + # From https://src.fedoraproject.org/rpms/vte291/raw/f40/f/0001-a11y-implement-GtkAccessibleText.patch + # Migrate to GTK4 and add VteTerminal:enable-a11y feature flag + eapply "${WORKDIR}"/${P}-a11y-implement-GtkAccessibleText.patch + fi + + # -Ddebugg option enables various debug support via VTE_DEBUG, but also ggdb3; strip the latter + sed -e '/ggdb3/d' -i meson.build || die + sed -i 's/vte_gettext_domain = vte_api_name/vte_gettext_domain = vte_gtk4_api_name/' meson.build || die +} + +src_configure() { + local emesonargs=( + -Da11y=true + $(meson_use debug) + $(meson_use gtk-doc docs) + $(meson_use introspection gir) + -Dfribidi=true # pulled in by pango anyhow + -Dglade=true + $(meson_use crypt gnutls) + -Dgtk3=false + -Dgtk4=true + $(meson_use icu) + $(meson_use systemd _systemd) + $(meson_use vala vapi) + ) + meson_src_configure +} + +src_install() { + # not meson_src_install because this would include einstalldocs, which + # would result in file collisions with x11-libs/vte + meson_install + + # Remove files that are provided by gui-libs/vte-common + rm "${ED}"/usr/libexec/vte-urlencode-cwd || die + rm "${ED}"/etc/profile.d/vte.sh || die + rm "${ED}"/etc/profile.d/vte.csh || die + if use systemd; then + rm "${ED}"/usr/lib/systemd/user/vte-spawn-.scope.d/defaults.conf || die + fi + if use gtk-doc; then + mkdir -p "${ED}"/usr/share/gtk-doc/ || die + mv "${ED}"/usr/share/doc/vte-${SLOT} "${ED}"/usr/share/gtk-doc/ || die + fi +} |