Skip to content

Commit

Permalink
gui-apps/wf-recorder: dependency use flag fixes
Browse files Browse the repository at this point in the history
added proper flags on ffmpeg for encoding and opencl
also added live ebuild

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Aisha Tammy <[email protected]>
Signed-off-by: Joonas Niilola <[email protected]>
  • Loading branch information
epsilon-0 authored and juippis committed Jun 11, 2020
1 parent 3aa8c1c commit 00baa77
Showing 1 changed file with 18 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,31 @@ inherit meson

DESCRIPTION="Screen recorder for wlroots-based compositors"
HOMEPAGE="https://github.com/ammen99/wf-recorder"
SRC_URI="https://github.com/ammen99/${PN}/releases/download/v${PV}/${P}.tar.xz"

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"
KEYWORDS="~amd64 ~x86"
IUSE="+man opencl"

DEPEND="dev-libs/wayland
dev-libs/wayland-protocols
DEPEND="
dev-libs/wayland
media-sound/pulseaudio
media-video/ffmpeg
opencl? ( virtual/opencl )"
media-video/ffmpeg[opencl?,pulseaudio,x264]
opencl? ( virtual/opencl )
"
RDEPEND="${DEPEND}"
BDEPEND="man? ( app-text/scdoc )"
BDEPEND="
virtual/pkgconfig
dev-libs/wayland-protocols
man? ( >=app-text/scdoc-1.9.3 )
"

src_configure() {
local emesonargs=(
Expand Down

0 comments on commit 00baa77

Please sign in to comment.