public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenglrecorder/
Date: Tue, 26 Dec 2017 12:02:12 +0000 (UTC)	[thread overview]
Message-ID: <1514289699.aa603dbb75d476cce89a9fb10a247f9d2910baab.chewi@gentoo> (raw)

commit:     aa603dbb75d476cce89a9fb10a247f9d2910baab
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 26 11:20:16 2017 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>games@gentoo.org</email>
+		<name>Gentoo Games Project</name>
+	</maintainer>
+	<use>
+		<flag name="openh264">Enable H.264 support using <pkg>media-libs/openh264</pkg></flag>
+		<flag name="vpx">Enable VP8/VP9 codec support via <pkg>media-libs/libvpx</pkg></flag>
+	</use>
+	<upstream>
+		<remote-id type="github">Benau/libopenglrecorder</remote-id>
+	</upstream>
+</pkgmetadata>


             reply	other threads:[~2017-12-26 12:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-26 12:02 James Le Cuirot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-10-13 10:58 [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenglrecorder/ WANG Xuerui
2023-05-31 11:51 Andreas Sturmlechner
2022-07-23 19:44 Sam James
2022-06-08  7:57 Jakov Smolić
2021-09-12 14:26 Yixun Lan
2019-11-29 10:04 Andreas Sturmlechner
2019-11-29  9:37 Andreas Sturmlechner
2017-12-26 12:09 James Le Cuirot
2017-12-26 12:02 James Le Cuirot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1514289699.aa603dbb75d476cce89a9fb10a247f9d2910baab.chewi@gentoo \
    --to=chewi@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox