1 # Copyright 2017-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
43 constant_time_eq-0.1.4
46 core-foundation-sys-0.6.2
79 foreign-types-macros-0.2.0
80 foreign-types-shared-0.1.1
81 foreign-types-shared-0.3.0
88 fuchsia-zircon-sys-0.3.3
115 linked-hash-map-0.5.2
128 mio-anonymous-pipes-0.1.0
130 mio-named-pipes-0.1.6
148 objc-foundation-0.1.1
157 parking_lot_core-0.6.2
158 parking_lot_core-0.7.0
159 peeking_take_while-0.1.2
160 percent-encoding-2.1.0
189 raw-window-handle-0.3.1
201 rustc-demangle-0.1.16
202 rustc_tools_util-0.2.0
209 scoped_threadpool-0.1.9
211 security-framework-0.3.4
212 security-framework-sys-0.3.3
219 servo-fontconfig-0.4.0
220 servo-fontconfig-sys-4.0.7
221 servo-freetype-sys-4.0.3
224 signal-hook-registry-1.2.0
229 smithay-client-toolkit-0.6.4
230 smithay-clipboard-0.3.6
248 unicode-normalization-0.1.11
266 wayland-client-0.23.6
267 wayland-commons-0.23.6
268 wayland-protocols-0.23.6
269 wayland-scanner-0.23.6
276 winapi-i686-pc-windows-gnu-0.4.0
278 winapi-x86_64-pc-windows-gnu-0.4.0
292 MY_PV="${PV//_rc/-rc}"
294 inherit bash-completion-r1 cargo desktop eutils
296 DESCRIPTION="GPU-accelerated terminal emulator"
297 HOMEPAGE="https://github.com/jwilm/alacritty"
299 if [ ${PV} == "9999" ] ; then
301 EGIT_REPO_URI="https://github.com/jwilm/alacritty"
303 SRC_URI="https://github.com/jwilm/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz
304 https://dev.gentoo.org/~gyakovlev/distfiles/alacritty_git_deps-${PV}.tar.xz
305 $(cargo_crate_uris ${CRATES})"
306 KEYWORDS="amd64 ppc64"
309 LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions Boost-1.0 BSD BSD-2 CC0-1.0 FTL ISC MIT MPL-2.0 Unlicense WTFPL-2 ZLIB"
314 media-libs/fontconfig:=
315 media-libs/freetype:2
328 BDEPEND="dev-util/cmake
329 >=virtual/rust-1.37.0
332 DOCS=( CHANGELOG.md docs/ansicode.txt INSTALL.md README.md alacritty.yml )
334 QA_FLAGS_IGNORED="usr/bin/alacritty"
336 S="${WORKDIR}/${PN}-${MY_PV}"
339 if [[ "${PV}" == *9999* ]]; then
341 cargo_live_src_unpack
348 [[ "${PV}" == *9999* ]] || ln -s ../alacritty_git_deps "${ECARGO_HOME}"/git
353 CARGO_INSTALL_PATH="alacritty" cargo_src_install
355 newbashcomp extra/completions/alacritty.bash alacritty
357 insinto /usr/share/fish/vendor_completions.d/
358 doins extra/completions/alacritty.fish
360 insinto /usr/share/zsh/site-functions
361 doins extra/completions/_alacritty
363 domenu extra/linux/alacritty.desktop
364 newicon extra/logo/alacritty-term.svg Alacritty.svg
366 newman extra/alacritty.man alacritty.1
368 insinto /usr/share/alacritty/scripts
375 cargo_src_test --offline
379 optfeature "wayland support" dev-libs/wayland
380 optfeature "apply-tilix-colorscheme script dependency" dev-python/pyyaml