diff options
Diffstat (limited to 'x11-terms')
-rw-r--r-- | x11-terms/Manifest.gz | bin | 4536 -> 4544 bytes | |||
-rw-r--r-- | x11-terms/kitty-shell-integration/Manifest | 2 | ||||
-rw-r--r-- | x11-terms/kitty-shell-integration/kitty-shell-integration-0.26.4.ebuild | 37 | ||||
-rw-r--r-- | x11-terms/kitty-terminfo/Manifest | 2 | ||||
-rw-r--r-- | x11-terms/kitty-terminfo/kitty-terminfo-0.26.4.ebuild | 23 | ||||
-rw-r--r-- | x11-terms/kitty/Manifest | 5 | ||||
-rw-r--r-- | x11-terms/kitty/kitty-0.26.4.ebuild | 131 | ||||
-rw-r--r-- | x11-terms/kitty/metadata.xml | 3 | ||||
-rw-r--r-- | x11-terms/terminology/Manifest | 2 | ||||
-rw-r--r-- | x11-terms/terminology/terminology-1.13.0.ebuild | 47 |
10 files changed, 50 insertions, 202 deletions
diff --git a/x11-terms/Manifest.gz b/x11-terms/Manifest.gz Binary files differindex 4642a9bc2960..9db71ad50034 100644 --- a/x11-terms/Manifest.gz +++ b/x11-terms/Manifest.gz diff --git a/x11-terms/kitty-shell-integration/Manifest b/x11-terms/kitty-shell-integration/Manifest index 0dc820222170..3d34c6ab2311 100644 --- a/x11-terms/kitty-shell-integration/Manifest +++ b/x11-terms/kitty-shell-integration/Manifest @@ -1,6 +1,4 @@ -DIST kitty-0.26.4.tar.xz 4749148 BLAKE2B fe15d2bd3afda49fcdc911d0ada5824dffe7eac69cd22581b86f50b0d20330ef10bf567d4adfafe5e06d20f9d7a10c8acfcffb95a3d5c47c50327576d9600761 SHA512 4d3ef5ba2ca54d0f5cd84ece771297c19c05bd276fc235f92c76d469ad17e55b54de696dce38c9039ae9825c7609e03e937536261c4fb680e936865ee0e4441e DIST kitty-0.26.5.tar.xz 4749988 BLAKE2B 488969b4d7c6aed489a540a8e3bee183345fcfb7e05ae5604f4af40f0720ed931cff82cf389e2fa4015eed74762c0630481a99eeb9302c22c89c4f3e247170d4 SHA512 086ae03d0e382afbe3001e357ef51388c7a8e81fa5b4bf9ce8b123a7fc8bfff3bd68d074e926f540a1f2b83062baa831e44d29c017cabfe8221bebe49b64e808 -EBUILD kitty-shell-integration-0.26.4.ebuild 1483 BLAKE2B 8bb6bf5cbd3a11f5773f1783b5d6e8ed5bdac200a61e6df7326913081280f0e334b7c100cb09df05b6a3e99682fbb63117622671184b2cc2f12b87f975c345a0 SHA512 b032be5bdada3925e23bf44ad466b4aa1b51905715c6d5fef0781aeb634f1b728ad1429f75e4fcf8abffc6b88c975d73079037d32f909dfd91b38c8802095e04 EBUILD kitty-shell-integration-0.26.5.ebuild 1483 BLAKE2B 8bb6bf5cbd3a11f5773f1783b5d6e8ed5bdac200a61e6df7326913081280f0e334b7c100cb09df05b6a3e99682fbb63117622671184b2cc2f12b87f975c345a0 SHA512 b032be5bdada3925e23bf44ad466b4aa1b51905715c6d5fef0781aeb634f1b728ad1429f75e4fcf8abffc6b88c975d73079037d32f909dfd91b38c8802095e04 EBUILD kitty-shell-integration-9999.ebuild 1403 BLAKE2B 9f1e4aebc1103678d42ba5809c41848b2ace36e2ed0137bdb0f30048cb4372c61f80e509a8087a52b149fe25115ca8aaa511d4697459e1087bee65788055dd85 SHA512 d7674435c3d3d9cfd04d47889f9e0f1cb4e60a6dc3506529829b3782e958fc3cb18fe8b0a25463725128106d6ca8308a17ae961b184e13682a1b05852e22ce4e MISC metadata.xml 610 BLAKE2B 29a121e206c4a21965f03cac1b01314dc32384eb617e9c188814f2c9a8896d10cb299aa4ef7fec74c5a74c966069355d291fe23d9f37b2cbb3d34ebb24850f81 SHA512 867c3bfc752f53287bea2f027a949bb433cd069f5480a5197986371db6dac4524577bf1503259a4fb4f6832ec7c860a5f2b4ac495a17c6a19fee5c62a70e6892 diff --git a/x11-terms/kitty-shell-integration/kitty-shell-integration-0.26.4.ebuild b/x11-terms/kitty-shell-integration/kitty-shell-integration-0.26.4.ebuild deleted file mode 100644 index 284f791cd143..000000000000 --- a/x11-terms/kitty-shell-integration/kitty-shell-integration-0.26.4.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Shell integration scripts for kitty, a GPU-based terminal emulator" -HOMEPAGE="https://sw.kovidgoyal.net/kitty/" -SRC_URI="https://github.com/kovidgoyal/kitty/releases/download/v${PV}/kitty-${PV}.tar.xz" -S="${WORKDIR}/kitty-${PV}" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 ~ppc64 ~riscv x86" -RESTRICT="test" # intended to be ran on the full kitty package - -src_compile() { :; } - -src_install() { - # install the whole directory in the upstream suggested location - # for consistency (i.e. less variation between distros if someone - # ssh into Gentoo), then set symlinks to autoload where possible - # (these exit immediately if KITTY_SHELL_INTEGRATION is unset) - insinto /usr/share/kitty - doins -r shell-integration - - dosym -r {/usr/share/kitty/shell-integration/bash,/etc/bash/bashrc.d}/kitty.bash - - dosym -r /usr/share/{kitty/shell-integration/fish,fish}/vendor_completions.d/kitty.fish - dosym -r /usr/share/{kitty/shell-integration/fish,fish}/vendor_conf.d/kitty-shell-integration.fish - - dosym -r /usr/share/{kitty/shell-integration/zsh/completions,zsh/site-functions}/_kitty - # zsh integration is handled automatically without needing to modify rc files, - # but may require user intervention depending on zsh invocation or if remote - - # this is used internally by the ssh kitten and is not useful there - rm -r "${ED}"/usr/share/kitty/shell-integration/ssh || die -} diff --git a/x11-terms/kitty-terminfo/Manifest b/x11-terms/kitty-terminfo/Manifest index e0664e3a9ae5..03043a161fac 100644 --- a/x11-terms/kitty-terminfo/Manifest +++ b/x11-terms/kitty-terminfo/Manifest @@ -1,6 +1,4 @@ -DIST kitty-0.26.4.tar.xz 4749148 BLAKE2B fe15d2bd3afda49fcdc911d0ada5824dffe7eac69cd22581b86f50b0d20330ef10bf567d4adfafe5e06d20f9d7a10c8acfcffb95a3d5c47c50327576d9600761 SHA512 4d3ef5ba2ca54d0f5cd84ece771297c19c05bd276fc235f92c76d469ad17e55b54de696dce38c9039ae9825c7609e03e937536261c4fb680e936865ee0e4441e DIST kitty-0.26.5.tar.xz 4749988 BLAKE2B 488969b4d7c6aed489a540a8e3bee183345fcfb7e05ae5604f4af40f0720ed931cff82cf389e2fa4015eed74762c0630481a99eeb9302c22c89c4f3e247170d4 SHA512 086ae03d0e382afbe3001e357ef51388c7a8e81fa5b4bf9ce8b123a7fc8bfff3bd68d074e926f540a1f2b83062baa831e44d29c017cabfe8221bebe49b64e808 -EBUILD kitty-terminfo-0.26.4.ebuild 625 BLAKE2B bd4f3df430b79ca1ad20d73d65969a1ddc8a2f2ebbc38a88c9c9f3658b8baaabf7046f9d6cadbf77e8d131ebc1b8ee30e9615df32b70d09ffbf58ea506fc993f SHA512 a21aec302968475896ab9e1621aeba6f6da4c154c89139e4936609bbddba7f1bd8058fdf0daa6faae436b45d6eb9438390d925f12c87669f6b6929083a50e4d9 EBUILD kitty-terminfo-0.26.5.ebuild 625 BLAKE2B bd4f3df430b79ca1ad20d73d65969a1ddc8a2f2ebbc38a88c9c9f3658b8baaabf7046f9d6cadbf77e8d131ebc1b8ee30e9615df32b70d09ffbf58ea506fc993f SHA512 a21aec302968475896ab9e1621aeba6f6da4c154c89139e4936609bbddba7f1bd8058fdf0daa6faae436b45d6eb9438390d925f12c87669f6b6929083a50e4d9 EBUILD kitty-terminfo-9999.ebuild 545 BLAKE2B 50bf783694580b016f3291640d6c4ab3e8ee335f78d13b75cb7ebe6628ddd2f244fab2e7c465a3964ed6b5e0ebbdb144c739a01ffa7239c8518503ea107a52f2 SHA512 267b8b4a526ee22159f7c1c0d9a089e183308e1e7f61d775834e4ed5d4f25be7aac8cc3db4afa3c3f1e933159f27abff25c31989dd6478c1727eec590bf0a3c8 MISC metadata.xml 610 BLAKE2B 29a121e206c4a21965f03cac1b01314dc32384eb617e9c188814f2c9a8896d10cb299aa4ef7fec74c5a74c966069355d291fe23d9f37b2cbb3d34ebb24850f81 SHA512 867c3bfc752f53287bea2f027a949bb433cd069f5480a5197986371db6dac4524577bf1503259a4fb4f6832ec7c860a5f2b4ac495a17c6a19fee5c62a70e6892 diff --git a/x11-terms/kitty-terminfo/kitty-terminfo-0.26.4.ebuild b/x11-terms/kitty-terminfo/kitty-terminfo-0.26.4.ebuild deleted file mode 100644 index 8e691381f9bd..000000000000 --- a/x11-terms/kitty-terminfo/kitty-terminfo-0.26.4.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Terminfo for kitty, a GPU-based terminal emulator" -HOMEPAGE="https://sw.kovidgoyal.net/kitty/" -SRC_URI="https://github.com/kovidgoyal/kitty/releases/download/v${PV}/kitty-${PV}.tar.xz" -S="${WORKDIR}/kitty-${PV}" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="amd64 ~ppc64 ~riscv x86" -RESTRICT="test" # intended to be ran on the full kitty package - -BDEPEND="sys-libs/ncurses" - -src_compile() { :; } - -src_install() { - dodir /usr/share/terminfo - tic -xo "${ED}"/usr/share/terminfo terminfo/kitty.terminfo || die -} diff --git a/x11-terms/kitty/Manifest b/x11-terms/kitty/Manifest index fe8b6e39489a..ac65835a764c 100644 --- a/x11-terms/kitty/Manifest +++ b/x11-terms/kitty/Manifest @@ -1,8 +1,5 @@ -DIST kitty-0.26.4.tar.xz 4749148 BLAKE2B fe15d2bd3afda49fcdc911d0ada5824dffe7eac69cd22581b86f50b0d20330ef10bf567d4adfafe5e06d20f9d7a10c8acfcffb95a3d5c47c50327576d9600761 SHA512 4d3ef5ba2ca54d0f5cd84ece771297c19c05bd276fc235f92c76d469ad17e55b54de696dce38c9039ae9825c7609e03e937536261c4fb680e936865ee0e4441e -DIST kitty-0.26.4.tar.xz.sig 566 BLAKE2B 8ac544b077cc30f811be665226e413e3074d3490b99b790c37ff871017131be76163a526f6c5eca6a711724975a4e3d6a6d897f2bacafac6b8f71f8ce141dd8d SHA512 f851daebc0c9d75f39c1e02a3ca14ab77f350c7f606e4e00f4513e084ca86e329dc2da033a6292aaedf683995932e83c58d273552d2afd26a0e541e89bdd4bf9 DIST kitty-0.26.5.tar.xz 4749988 BLAKE2B 488969b4d7c6aed489a540a8e3bee183345fcfb7e05ae5604f4af40f0720ed931cff82cf389e2fa4015eed74762c0630481a99eeb9302c22c89c4f3e247170d4 SHA512 086ae03d0e382afbe3001e357ef51388c7a8e81fa5b4bf9ce8b123a7fc8bfff3bd68d074e926f540a1f2b83062baa831e44d29c017cabfe8221bebe49b64e808 DIST kitty-0.26.5.tar.xz.sig 566 BLAKE2B 377202d46e66854e0cf1998506e0fafca54b33d85264e47c13aa4b98d272c786809375f1e277ec169291e06809f11b5b061ec1243a708711fa2350243ad1eca2 SHA512 0c691d8becff2b0f24e09b941d7315efaac831beacfed6f66b9186bde9c502f2ae86289f4b0d8fa6a34624dce7a1e958ba2d0502fd87003ba08b07fa07c6ae17 -EBUILD kitty-0.26.4.ebuild 3610 BLAKE2B 9e8b094a98eba2ecaf05d4e668548a1d739ae70549e4577390e9ae292416999952a6ddf91b8a59f9e400a41a64f3315d67e7c1a44a52fd9b1dedbbce4faa185f SHA512 93905872870522c7412f3ca884c8185f48804cf5f6b0f4b2ec595c5c62dede63251e453137c804113fd3f3cf51d6c21c41b6b2a68068e950ebbd293c354cbf05 EBUILD kitty-0.26.5-r1.ebuild 3431 BLAKE2B dc4f1f64327be14c10779bdd46d36e36c728e2784f796157b738999e970d5cb14ab9b894a6109078a5e532857738191f1f2ef6860cf939ee722c75217263d788 SHA512 5bf95478b917f3241bc77e57692dd8f532c20aeb35f00b84bd9834c52a9c8220b166a12e9121272ecb92afd82bf9af679107a6c8142932f1c024989f08d9c113 EBUILD kitty-9999.ebuild 3932 BLAKE2B 86fb6c0fc6dc67a19b0555aaaee87e3f009e1a01e2bd2a85628b9b161b637213fe80d79b25788d4052a2f0db745d582eea044a68e85abd2ff21892cdeb9bc04c SHA512 558f8acd42c128a3127278a797560458e9790e18b93012b12834c2f45d1cc2d6aa15afac70af3661709e961ec4df3be69866d9d975b33669ef811cc62ffe85dd -MISC metadata.xml 757 BLAKE2B 5b7786583ac3a7742c1345fb86287e3309eedf7e7110025730c9153dd893bdbd8e340b3a70f99a650d60f3a405c73346fbb2f0465ba2dad820e9fe2506f9963f SHA512 96c3583ce9713803d9892270f9e41cce2cdb75931065637196c002f66e9638f87db52f32a69d37cc6bef5302cb0cd5212178659b217b1df63e253f4bdf759c77 +MISC metadata.xml 653 BLAKE2B fd4fd98a8cac30a2e941770c43af4cd475eea1609f35f454780eb4463e052ccb44a1c7f84fe3f1e29eef08041d57d5bc8a688a404d105e7d15691f41cf701f48 SHA512 4c3c390b41e81444a7a22eb78afa92b7a5a15ad8558e92d387da64364bbe0c2fa1088aa9ea7516814280eefc1e7221a7b963a54beeab0213dc2974fcbc2fd003 diff --git a/x11-terms/kitty/kitty-0.26.4.ebuild b/x11-terms/kitty/kitty-0.26.4.ebuild deleted file mode 100644 index e097e42e5591..000000000000 --- a/x11-terms/kitty/kitty-0.26.4.ebuild +++ /dev/null @@ -1,131 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) -inherit edo optfeature multiprocessing python-single-r1 toolchain-funcs xdg - -if [[ ${PV} == 9999 ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/kovidgoyal/kitty.git" -else - inherit verify-sig - SRC_URI=" - https://github.com/kovidgoyal/kitty/releases/download/v${PV}/${P}.tar.xz - verify-sig? ( https://github.com/kovidgoyal/kitty/releases/download/v${PV}/${P}.tar.xz.sig )" - VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/kovidgoyal.gpg" - KEYWORDS="amd64 ~ppc64 ~riscv x86" -fi - -DESCRIPTION="Fast, feature-rich, GPU-based terminal" -HOMEPAGE="https://sw.kovidgoyal.net/kitty/" - -LICENSE="GPL-3" -SLOT="0" -IUSE="+X test transfer wayland" -REQUIRED_USE=" - || ( X wayland ) - ${PYTHON_REQUIRED_USE}" -RESTRICT="!X? ( test ) !test? ( test ) !transfer? ( test ) !wayland? ( test )" - -# dlopen: fontconfig,libglvnd -RDEPEND=" - ${PYTHON_DEPS} - dev-libs/openssl:= - media-libs/fontconfig - media-libs/harfbuzz:= - media-libs/lcms:2 - media-libs/libglvnd[X?] - media-libs/libpng:= - sys-apps/dbus - sys-libs/zlib:= - x11-libs/libxkbcommon[X?] - x11-misc/xkeyboard-config - ~x11-terms/kitty-shell-integration-${PV} - ~x11-terms/kitty-terminfo-${PV} - X? ( x11-libs/libX11 ) - transfer? ( net-libs/librsync:= ) - wayland? ( dev-libs/wayland )" -DEPEND=" - ${RDEPEND} - X? ( - x11-base/xorg-proto - x11-libs/libXcursor - x11-libs/libXi - x11-libs/libXinerama - x11-libs/libXrandr - ) - wayland? ( dev-libs/wayland-protocols )" -BDEPEND=" - ${PYTHON_DEPS} - sys-libs/ncurses - virtual/pkgconfig - test? ( $(python_gen_cond_dep 'dev-python/pillow[${PYTHON_USEDEP}]') ) - wayland? ( dev-util/wayland-scanner )" -[[ ${PV} == 9999 ]] || BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-kovidgoyal )" - -src_prepare() { - default - - # seds unfortunately feel easier on maintainenance than patches here - sed -e "s/'x11 wayland'/'$(usev X x11) $(usev wayland)'/" \ - -e "$(usev !X '/gl_libs =/s/=.*/= []/')" \ - -e "/num_workers =/s/=.*/= $(makeopts_jobs)/" \ - -e "s/cflags.append.*-O3.*/pass/" -e 's/-O3//' \ - -i setup.py || die - - if use !transfer; then - sed -i 's/rs_cflag =/& []#/;/files.*rsync/d' setup.py || die - rm -r kittens/transfer || die - fi - - # test relies on 'who' command which doesn't detect users with pid-sandbox - rm kitty_tests/utmp.py || die - - # test may fail/hang depending on environment and shell initialization scripts - rm kitty_tests/{shell_integration,ssh}.py || die - - # skip docs for live version - [[ ${PV} != 9999 ]] || sed -i '/exists.*_build/,/docs(ddir)/d' setup.py || die -} - -src_compile() { - tc-export CC - export PKGCONFIG_EXE=$(tc-getPKG_CONFIG) - - local conf=( - --disable-link-time-optimization - --ignore-compiler-warnings - --libdir-name=$(get_libdir) - --shell-integration="enabled no-rc" - --update-check-interval=0 - --verbose - ) - - edo ${EPYTHON} setup.py linux-package "${conf[@]}" - use test && edo ${EPYTHON} setup.py build-launcher "${conf[@]}" - - [[ ${PV} == 9999 ]] || mv linux-package/share/doc/{${PN},${PF}} || die - rm -r linux-package/share/terminfo || die -} - -src_test() { - KITTY_CONFIG_DIRECTORY=${T} ./test.py || die # shebang is kitty -} - -src_install() { - insinto /usr - doins -r linux-package/. - - fperms +x /usr/bin/kitty \ - /usr/$(get_libdir)/kitty/shell-integration/ssh/{askpass.py,kitty} -} - -pkg_postinst() { - xdg_pkg_postinst - - optfeature "in-terminal image display with kitty icat" media-gfx/imagemagick - optfeature "audio-based terminal bell support" media-libs/libcanberra - optfeature "opening links from the terminal" x11-misc/xdg-utils -} diff --git a/x11-terms/kitty/metadata.xml b/x11-terms/kitty/metadata.xml index 6bb38d37be8c..c4f584c5169f 100644 --- a/x11-terms/kitty/metadata.xml +++ b/x11-terms/kitty/metadata.xml @@ -13,9 +13,6 @@ <email>proxy-maint@gentoo.org</email> <name>Proxy Maintainers</name> </maintainer> - <use> - <flag name="transfer">Enable transfer kitten using <pkg>net-libs/librsync</pkg></flag> - </use> <upstream> <remote-id type="github">kovidgoyal/kitty</remote-id> <changelog>https://sw.kovidgoyal.net/kitty/changelog</changelog> diff --git a/x11-terms/terminology/Manifest b/x11-terms/terminology/Manifest index c9e3154b9080..892966feb054 100644 --- a/x11-terms/terminology/Manifest +++ b/x11-terms/terminology/Manifest @@ -1,3 +1,5 @@ DIST terminology-1.12.1.tar.xz 2722144 BLAKE2B ce6eea2fd6efe8a4a6d654f8e7899336b3bb7a1d2f1728c2ac2f1b367972c8b222e665309e2b704dd1f3bb774784d218789bcd8134348893a265c0e50fa855d9 SHA512 036f1e516d5f9c44185fc417266022bb4a3c34839451b2bd7ab64c9610e71cd1690faee014cf8364ceac12261cb9b57501446a3e6e58ac13f98f11064498a43b +DIST terminology-1.13.0.tar.xz 2765572 BLAKE2B e918feeb848c9373f38a41a99893210e62fd47206d4c9557a0afcd65a25c978671ddcadbdf955b7514754bc6a47dd3c36ff867b14d3cbda48039b8ac6e8502b8 SHA512 95e8f8bdf51e63b07f7bc5bf1aead98b9bd34c58e13df29d4726f1a81e560d071119035aa94218632e840bc5146c3bc475641934eebd6c7e37e00bed94451beb EBUILD terminology-1.12.1-r1.ebuild 1115 BLAKE2B 2f66a03a7fc21fc8894c94f9e1a55a3474324f2e5bf238ace58e01c6111c342681844d26efb5a83ba34304af484f6a63aabcbe57af5e161574c761260ad3f28a SHA512 c8190862a7569dc949568de7e670cf1a932648dffe15c5363a74b9f82a23a90af846be9160c16b586c181fe1d93217e8c876549796801d4f41b17ce14942de3a +EBUILD terminology-1.13.0.ebuild 1117 BLAKE2B bcdf250c1925d566ddd4e53419386274a01bd97a5cd9f733b8455f6e3b778774dd4c2f6292418ceb38e95d6762a6cdc1f16d1410f7f179bb684094bf92d3b68b SHA512 e245d9d0f96ea24109d1f368fa5d59cb4bd2f658672ad1a7035ed0d0a52d074652e4a9f7faa8af959a27553ef36472e70f60c1b9b2745779785bb3ab0d3bda76 MISC metadata.xml 336 BLAKE2B 6f8e4a99a9941e3a9dba25832ae43998f1cc27e85c4535494f6762f99e915aa3be299cefdd9a8e9fcd1e5d934c87de826c64c72f1e74f4a49f57aa76de73595f SHA512 12190b1f38b235ba164b13cb7bac3f24fafc65a001c9cc5d7f24fbefed5ed5cb411a563ff57a54db722a3a79b9030d8eeaaaaafa4df79b0e2758393dc9332fa0 diff --git a/x11-terms/terminology/terminology-1.13.0.ebuild b/x11-terms/terminology/terminology-1.13.0.ebuild new file mode 100644 index 000000000000..109a118568bb --- /dev/null +++ b/x11-terms/terminology/terminology-1.13.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) + +inherit meson python-any-r1 xdg + +DESCRIPTION="Feature rich terminal emulator using the Enlightenment Foundation Libraries" +HOMEPAGE="https://www.enlightenment.org/about-terminology" +SRC_URI="https://download.enlightenment.org/rel/apps/terminology/${P}.tar.xz https://downloads.terminolo.gy/${P}.tar.xz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="extras nls" + +RDEPEND="|| ( dev-libs/efl[X] dev-libs/efl[wayland] ) + app-arch/lz4 + >=dev-libs/efl-1.26.1[eet,fontconfig]" +DEPEND="${RDEPEND}" +BDEPEND="${PYTHON_DEPS} + virtual/libintl + virtual/pkgconfig + nls? ( sys-devel/gettext )" + +pkg_setup() { + python-any-r1_pkg_setup +} + +src_prepare() { + default + + # Fix python shebangs for python-exec[-native-symlinks], #766081 + local shebangs=($(grep -rl "#!/usr/bin/env python3" || die)) + python_fix_shebang -q ${shebangs[*]} +} + +src_configure() { + local emesonargs=( + $(meson_use nls) + $(meson_use extras tests) + ) + + meson_src_configure +} |