From c85a90f90521c7e11d618b527d6630cc64cecbd4 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 26 Dec 2017 20:10:49 +0000 Subject: gentoo resync : 26.12.2017 --- .../libopenglrecorder-0.1.0.ebuild | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 media-libs/libopenglrecorder/libopenglrecorder-0.1.0.ebuild (limited to 'media-libs/libopenglrecorder/libopenglrecorder-0.1.0.ebuild') 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 000000000000..317958e4f21a --- /dev/null +++ b/media-libs/libopenglrecorder/libopenglrecorder-0.1.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-multilib + +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="openh264 sound vpx" + +RDEPEND="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="${RDEPEND} + virtual/pkgconfig" + +DOCS=( + CHANGELOG.md + README.md + USAGE.md +) + +multilib_src_configure() { + local mycmakeargs=( + -DBUILD_PULSE_WO_DL=ON + -DBUILD_SHARED_LIBS=ON + -DSTATIC_RUNTIME_LIBS=OFF + -DBUILD_WITH_H264=$(usex openh264) + -DBUILD_RECORDER_WITH_SOUND=$(usex sound) + -DBUILD_WITH_VPX=$(usex vpx) + ) + cmake-utils_src_configure +} -- cgit v1.2.3