summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAisha Tammy <gentoo@aisha.cc>2020-05-22 14:22:53 -0400
committerJoonas Niilola <juippis@gentoo.org>2020-06-11 17:23:30 +0300
commit00baa77290dc636a7c0676605edc4167fff6ddde (patch)
treef5fc87b1637f36c9f8f408a13f32f1fb7bb933cc /gui-apps/wf-recorder
parentnet-fs/netatalk: [QA] clean up ebuild (diff)
downloadgentoo-00baa77290dc636a7c0676605edc4167fff6ddde.tar.gz
gentoo-00baa77290dc636a7c0676605edc4167fff6ddde.tar.bz2
gentoo-00baa77290dc636a7c0676605edc4167fff6ddde.zip
gui-apps/wf-recorder: dependency use flag fixes
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 <gentoo@aisha.cc> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'gui-apps/wf-recorder')
-rw-r--r--gui-apps/wf-recorder/wf-recorder-0.2.1-r1.ebuild (renamed from gui-apps/wf-recorder/wf-recorder-0.2.1.ebuild)25
1 files changed, 18 insertions, 7 deletions
diff --git a/gui-apps/wf-recorder/wf-recorder-0.2.1.ebuild b/gui-apps/wf-recorder/wf-recorder-0.2.1-r1.ebuild
index cbae5bbd6bda..6bc50719fea0 100644
--- a/gui-apps/wf-recorder/wf-recorder-0.2.1.ebuild
+++ b/gui-apps/wf-recorder/wf-recorder-0.2.1-r1.ebuild
@@ -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=(