# Copyright 2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # Auto-Generated by cargo-ebuild 0.5.4-r1 EAPI=8 CRATES=" aho-corasick@1.1.2 anstream@0.6.11 anstyle@1.0.6 anstyle-parse@0.2.3 anstyle-query@1.0.2 anstyle-wincon@3.0.2 anyhow@1.0.79 bindgen@0.64.0 bitflags@1.3.2 bitflags@2.4.2 cc@1.0.83 cexpr@0.6.0 cfg-if@1.0.0 clang-sys@1.7.0 clap@4.5.0 clap_builder@4.5.0 clap_derive@4.5.0 clap_lex@0.7.0 colorchoice@1.0.0 dlib@0.5.2 downcast-rs@1.2.0 drm-fourcc@2.2.0 errno@0.3.8 ffmpeg-next@6.1.1 ffmpeg-sys-next@6.1.0 glob@0.3.1 heck@0.4.1 hermit-abi@0.3.6 human-size@0.4.3 itoa@1.0.10 lazy_static@1.4.0 lazycell@1.3.0 libc@0.2.153 libloading@0.8.1 linux-raw-sys@0.4.13 log@0.4.20 memchr@2.7.1 minimal-lexical@0.2.1 nix@0.27.1 nom@7.1.3 num_cpus@1.16.0 peeking_take_while@0.1.2 pkg-config@0.3.30 proc-macro2@1.0.78 quick-xml@0.31.0 quote@1.0.35 regex@1.10.3 regex-automata@0.4.5 regex-syntax@0.8.2 rustc-hash@1.1.0 rustix@0.38.31 ryu@1.0.16 scoped-tls@1.0.1 serde@1.0.196 serde_derive@1.0.196 serde_json@1.0.113 shlex@1.3.0 signal-hook@0.3.17 signal-hook-registry@1.4.1 smallvec@1.13.1 strsim@0.11.0 syn@1.0.109 syn@2.0.49 thiserror@1.0.57 thiserror-impl@1.0.57 unicode-ident@1.0.12 utf8parse@0.2.1 vcpkg@0.2.15 wayland-backend@0.3.3 wayland-client@0.31.2 wayland-protocols@0.31.2 wayland-protocols-wlr@0.2.0 wayland-scanner@0.31.1 wayland-sys@0.31.1 windows-sys@0.48.0 windows-sys@0.52.0 windows-targets@0.48.5 windows-targets@0.52.0 windows_aarch64_gnullvm@0.48.5 windows_aarch64_gnullvm@0.52.0 windows_aarch64_msvc@0.48.5 windows_aarch64_msvc@0.52.0 windows_i686_gnu@0.48.5 windows_i686_gnu@0.52.0 windows_i686_msvc@0.48.5 windows_i686_msvc@0.52.0 windows_x86_64_gnu@0.48.5 windows_x86_64_gnu@0.52.0 windows_x86_64_gnullvm@0.48.5 windows_x86_64_gnullvm@0.52.0 windows_x86_64_msvc@0.48.5 windows_x86_64_msvc@0.52.0 " inherit cargo DESCRIPTION="High performance screen/audio recorder for wlroots" HOMEPAGE="https://github.com/russelltg/wl-screenrec" SRC_URI=" https://github.com/russelltg/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz ${CARGO_CRATE_URIS} " LICENSE="Apache-2.0 BSD Boost-1.0 ISC MIT Unicode-DFS-2016 Unlicense WTFPL-2" SLOT="0" KEYWORDS="~amd64" RESTRICT="test" # Need wayland environment for tests BDEPEND=" media-video/ffmpeg sys-devel/clang x11-libs/libdrm " RDEPEND="${BDEPEND}" DEPEND="${RDEPEND}" QA_FLAGS_IGNORED="usr/bin/${PN}" pkg_postinst() { elog "To use this software, you need vaapi encoding support." elog "You also need a wayland compositor that supports the" elog "following unstable protocols:" elog " - wlr-output-management-unstable-v1" elog " - wlr-screencopy-unstable-v1" }