forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gui-apps/wf-recorder: live ebuild added
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Aisha Tammy <[email protected]> Closes: gentoo#15919 Signed-off-by: Joonas Niilola <[email protected]>
- Loading branch information
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Copyright 2020 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
|
||
inherit meson | ||
|
||
DESCRIPTION="Screen recorder for wlroots-based compositors" | ||
HOMEPAGE="https://github.com/ammen99/wf-recorder" | ||
|
||
if [[ ${PV} == 9999 ]]; then | ||
inherit git-r3 | ||
EGIT_REPO_URI="https://github.com/ammen99/wf-recorder.git" | ||
else | ||
SRC_URI="https://github.com/ammen99/wf-recorder/releases/download/v${PV}/${P}.tar.xz" | ||
KEYWORDS="~amd64 ~x86" | ||
fi | ||
|
||
LICENSE="MIT" | ||
SLOT="0" | ||
IUSE="+man opencl" | ||
|
||
DEPEND=" | ||
dev-libs/wayland | ||
media-sound/pulseaudio | ||
media-video/ffmpeg[opencl?,pulseaudio,x264] | ||
opencl? ( virtual/opencl ) | ||
" | ||
RDEPEND="${DEPEND}" | ||
BDEPEND=" | ||
virtual/pkgconfig | ||
dev-libs/wayland-protocols | ||
man? ( >=app-text/scdoc-1.9.3 ) | ||
" | ||
|
||
src_configure() { | ||
local emesonargs=( | ||
$(meson_feature man man-pages) | ||
$(meson_feature opencl) | ||
) | ||
meson_src_configure | ||
} |