diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-08-29 01:00:02 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-08-29 01:02:59 -0400 |
commit | 22ca49b09225a22e5cfad9a25b2dce7ad9aa6342 (patch) | |
tree | 816158eef506bd567ea045e7f5d3396e7556a04e /x11-terms | |
parent | x11-terms/kitty: add 0.26.0 (diff) | |
download | gentoo-22ca49b09225a22e5cfad9a25b2dce7ad9aa6342.tar.gz gentoo-22ca49b09225a22e5cfad9a25b2dce7ad9aa6342.tar.bz2 gentoo-22ca49b09225a22e5cfad9a25b2dce7ad9aa6342.zip |
x11-terms/kitty: sync live
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'x11-terms')
-rw-r--r-- | x11-terms/kitty/kitty-9999.ebuild | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/x11-terms/kitty/kitty-9999.ebuild b/x11-terms/kitty/kitty-9999.ebuild index 92a0509aac27..3ee9cbb30121 100644 --- a/x11-terms/kitty/kitty-9999.ebuild +++ b/x11-terms/kitty/kitty-9999.ebuild @@ -4,7 +4,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{8..10} ) -inherit optfeature multiprocessing python-single-r1 toolchain-funcs xdg +inherit edo optfeature multiprocessing python-single-r1 toolchain-funcs xdg if [[ ${PV} == 9999 ]] ; then inherit git-r3 @@ -32,6 +32,7 @@ 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 @@ -67,9 +68,10 @@ BDEPEND=" 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 "/num_workers =/s/=.*/= $(makeopts_jobs)/" \ -e "s/cflags.append.*-O3.*/pass/" -e 's/-O3//' \ -i setup.py || die @@ -92,8 +94,7 @@ src_compile() { tc-export CC export PKGCONFIG_EXE=$(tc-getPKG_CONFIG) - local setup=( - ${EPYTHON} setup.py linux-package + local conf=( --disable-link-time-optimization --ignore-compiler-warnings --libdir-name=$(get_libdir) @@ -102,16 +103,15 @@ src_compile() { --verbose ) - echo "${setup[*]}" - "${setup[@]}" || die "setup.py failed to compile ${PN}" + 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() { - PATH=linux-package/bin:${PATH} KITTY_CONFIG_DIRECTORY=${T} \ - ${EPYTHON} test.py || die + KITTY_CONFIG_DIRECTORY=${T} ./test.py || die # shebang is kitty } src_install() { |