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 EB1A0138AE9 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 33900E0D47; Tue, 26 Dec 2017 12:02:15 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 169CEE0D47 for ; Tue, 26 Dec 2017 12:02:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 C604E33C770 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 50F56AE7E 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: <1514289661.49c50fdb50e1be08b2e46516af6e175bbc56fba2.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libopenglrecorder/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libopenglrecorder/Manifest media-libs/libopenglrecorder/libopenglrecorder-0.1.0.ebuild X-VCS-Directories: media-libs/libopenglrecorder/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 49c50fdb50e1be08b2e46516af6e175bbc56fba2 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: f170d3b8-e800-4919-ac75-e2d98a7e5784 X-Archives-Hash: 8c0ac6d52245ef4d18472dda48e64b66 commit: 49c50fdb50e1be08b2e46516af6e175bbc56fba2 Author: François-Xavier Carton gmail com> AuthorDate: Tue Dec 26 03:55:53 2017 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Tue Dec 26 12:01:01 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49c50fdb media-libs/libopenglrecorder: new package This library is an optional dependency for >=games-action/supertuxkart-0.9.3 media-libs/libopenglrecorder/Manifest | 1 + .../libopenglrecorder-0.1.0.ebuild | 38 ++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/media-libs/libopenglrecorder/Manifest b/media-libs/libopenglrecorder/Manifest new file mode 100644 index 00000000000..c29dbac200f --- /dev/null +++ b/media-libs/libopenglrecorder/Manifest @@ -0,0 +1 @@ +DIST libopenglrecorder-0.1.0.tar.gz 101788 BLAKE2B 9fbd9e5acb51c033f533166cf4f55863d97331ca0d506ada7f0e2ffaf790a20b74521668d80dfe4ef230a6bf44466b5f5eda9ab6d4a248db730b0596ce441f6f SHA512 2264b5999870d89ab10366bbbbccfce8ef7c2674bb054005f4e182af2cb10c7553f97402feadc528da94608a47db030a07987b11470044965d70cd69fe47bacd diff --git a/media-libs/libopenglrecorder/libopenglrecorder-0.1.0.ebuild b/media-libs/libopenglrecorder/libopenglrecorder-0.1.0.ebuild new file mode 100644 index 00000000000..55cfad2dd75 --- /dev/null +++ b/media-libs/libopenglrecorder/libopenglrecorder-0.1.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="A library allowing optional async readback OpenGL frame buffer with optional audio recording" +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" + +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 +} + +src_configure() { + local mycmakeargs=( + -DBUILD_SHARED_LIBS=ON + -DBUILD_WITH_VPX=$(usex vpx) + -DBUILD_WITH_H264=$(usex openh264) + -DBUILD_RECORDER_WITH_SOUND=$(usex pulseaudio) + -DCMAKE_INSTALL_PREFIX=${EPREFIX}/usr + -DCMAKE_BUILD_TYPE=Release + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install +}