From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 00A58139084 for ; Tue, 26 Dec 2017 12:02:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 27DBFE0DA3; Tue, 26 Dec 2017 12:02:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EAC18E0D8F for ; Tue, 26 Dec 2017 12:02:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B2CDE33C6B6 for ; Tue, 26 Dec 2017 12:02:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 77D6FAE94 for ; Tue, 26 Dec 2017 12:02:12 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1514289699.aa603dbb75d476cce89a9fb10a247f9d2910baab.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenglrecorder/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libopenglrecorder/libopenglrecorder-0.1.0.ebuild media-libs/libopenglrecorder/metadata.xml X-VCS-Directories: media-libs/libopenglrecorder/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: aa603dbb75d476cce89a9fb10a247f9d2910baab X-VCS-Branch: master Date: Tue, 26 Dec 2017 12:02:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1929b25f-4f13-4abe-8f91-01f27187ce52 X-Archives-Hash: d4236430690b816251048024e7f6d7cb commit: aa603dbb75d476cce89a9fb10a247f9d2910baab Author: James Le Cuirot gentoo org> AuthorDate: Tue Dec 26 11:20:16 2017 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Tue Dec 26 12:01:39 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa603dbb media-libs/libopenglrecorder: Changes following user contribution * QA fixes * Missing libvorbis dependency * Don't dlopen libpulse * Multilib * Extra DOCS Package-Manager: Portage-2.3.19, Repoman-2.3.6 .../libopenglrecorder-0.1.0.ebuild | 37 ++++++++++++---------- media-libs/libopenglrecorder/metadata.xml | 15 +++++++++ 2 files changed, 36 insertions(+), 16 deletions(-) diff --git a/media-libs/libopenglrecorder/libopenglrecorder-0.1.0.ebuild b/media-libs/libopenglrecorder/libopenglrecorder-0.1.0.ebuild index 55cfad2dd75..0c7321d83fd 100644 --- a/media-libs/libopenglrecorder/libopenglrecorder-0.1.0.ebuild +++ b/media-libs/libopenglrecorder/libopenglrecorder-0.1.0.ebuild @@ -3,36 +3,41 @@ EAPI=6 -inherit cmake-utils +inherit cmake-multilib -DESCRIPTION="A library allowing optional async readback OpenGL frame buffer with optional audio recording" +DESCRIPTION="Library for asynchronous OpenGL recording with audio" HOMEPAGE="https://github.com/Benau/libopenglrecorder" SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="vpx openh264 -pulseaudio" +IUSE="openh264 sound vpx" + +DEPEND="media-libs/libjpeg-turbo[${MULTILIB_USEDEP}] + openh264? ( media-libs/openh264[${MULTILIB_USEDEP}] ) + sound? ( + media-libs/libvorbis[${MULTILIB_USEDEP}] + media-sound/pulseaudio[${MULTILIB_USEDEP}] + ) + vpx? ( media-libs/libvpx:0=[${MULTILIB_USEDEP}] )" -DEPEND="media-libs/libjpeg-turbo vpx? ( media-libs/libvpx ) openh264? ( media-libs/openh264 ) pulseaudio? ( media-sound/pulseaudio )" RDEPEND="${DEPEND}" -src_prepare() { - cmake-utils_src_prepare -} +DOCS=( + CHANGELOG.md + README.md + USAGE.md +) -src_configure() { +multilib_src_configure() { local mycmakeargs=( + -DBUILD_PULSE_WO_DL=ON -DBUILD_SHARED_LIBS=ON - -DBUILD_WITH_VPX=$(usex vpx) + -DSTATIC_RUNTIME_LIBS=OFF -DBUILD_WITH_H264=$(usex openh264) - -DBUILD_RECORDER_WITH_SOUND=$(usex pulseaudio) - -DCMAKE_INSTALL_PREFIX=${EPREFIX}/usr - -DCMAKE_BUILD_TYPE=Release + -DBUILD_RECORDER_WITH_SOUND=$(usex sound) + -DBUILD_WITH_VPX=$(usex vpx) ) cmake-utils_src_configure } - -src_install() { - cmake-utils_src_install -} diff --git a/media-libs/libopenglrecorder/metadata.xml b/media-libs/libopenglrecorder/metadata.xml new file mode 100644 index 00000000000..a3eb35c0534 --- /dev/null +++ b/media-libs/libopenglrecorder/metadata.xml @@ -0,0 +1,15 @@ + + + + + games@gentoo.org + Gentoo Games Project + + + Enable H.264 support using media-libs/openh264 + Enable VP8/VP9 codec support via media-libs/libvpx + + + Benau/libopenglrecorder + +