From 1c3adf43f1b866276828623dd63f9e10d29421d3 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 15 Aug 2022 14:28:19 +0100 Subject: gentoo auto-resync : 15:08:2022 - 14:28:19 --- .../simplescreenrecorder-0.4.4-r1.ebuild | 24 ++++++++-------------- 1 file changed, 8 insertions(+), 16 deletions(-) (limited to 'media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r1.ebuild') diff --git a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r1.ebuild b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r1.ebuild index 667f701f5639..ec483db9038f 100644 --- a/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r1.ebuild +++ b/media-video/simplescreenrecorder/simplescreenrecorder-0.4.4-r1.ebuild @@ -3,13 +3,11 @@ EAPI=8 -CMAKE_ECLASS=cmake +PKGNAME="ssr" inherit cmake-multilib flag-o-matic xdg DESCRIPTION="A Simple Screen Recorder" -HOMEPAGE="https://www.maartenbaert.be/simplescreenrecorder" -LICENSE="GPL-3" -PKGNAME="ssr" +HOMEPAGE="https://www.maartenbaert.be/simplescreenrecorder/" if [[ ${PV} = 9999 ]] ; then inherit git-r3 EGIT_REPO_URI="https://github.com/MaartenBaert/${PKGNAME}.git" @@ -20,9 +18,12 @@ else S="${WORKDIR}/${PKGNAME}-${PV}" fi +LICENSE="GPL-3" SLOT="0" IUSE="+asm jack mp3 opengl pulseaudio theora v4l vorbis vpx x264" +REQUIRED_USE="abi_x86_32? ( opengl )" + RDEPEND=" dev-qt/qtcore:5 dev-qt/qtgui:5 @@ -36,19 +37,15 @@ RDEPEND=" x11-libs/libXi x11-libs/libXinerama virtual/glu[${MULTILIB_USEDEP}] - v4l? ( media-libs/libv4l ) jack? ( virtual/jack ) opengl? ( media-libs/libglvnd[${MULTILIB_USEDEP},X] ) pulseaudio? ( media-sound/pulseaudio ) + v4l? ( media-libs/libv4l ) " DEPEND="${RDEPEND}" BDEPEND="dev-qt/linguist-tools:5" -REQUIRED_USE="abi_x86_32? ( opengl )" - -PATCHES=( - "${FILESDIR}"/${P}-ffmpeg5.patch -) +PATCHES=( "${FILESDIR}"/${P}-ffmpeg5.patch ) pkg_pretend() { if [[ "${ABI}" == amd64 ]] ; then @@ -69,17 +66,12 @@ pkg_pretend() { } pkg_setup() { - # QT requires -fPIC. Compile fails otherwise. + # Qt requires -fPIC. Compile fails otherwise. # Recently removed from the default compile options upstream # https://github.com/MaartenBaert/ssr/commit/25fe1743058f0d1f95f6fbb39014b6ac146b5180 append-flags -fPIC } -src_prepare() { - # required because xdg.eclass overrides default cmake_src_prepare - cmake_src_prepare -} - multilib_src_configure() { local mycmakeargs=( -DENABLE_JACK_METADATA="$(multilib_native_usex jack)" -- cgit v1.2.3