diff options
author | Jimi Huotari <chiitoo@gentoo.org> | 2017-08-13 22:56:30 +0300 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2017-08-15 09:54:05 +0200 |
commit | eda8f407cf2fb09a6201e0aa4f554314d6900dde (patch) | |
tree | cf63b671826e0c1e55fdc2955c577f1f1d81e957 /media-video/obs-studio | |
parent | dev-ml/ppx_hash: convert to opam.eclass (diff) | |
download | gentoo-eda8f407cf2fb09a6201e0aa4f554314d6900dde.tar.gz gentoo-eda8f407cf2fb09a6201e0aa4f554314d6900dde.tar.bz2 gentoo-eda8f407cf2fb09a6201e0aa4f554314d6900dde.zip |
media-video/obs-studio: version bump to 20.0.1.
Package-Manager: Portage-2.3.7, Repoman-2.3.3
Closes: https://github.com/gentoo/gentoo/pull/5412
Diffstat (limited to 'media-video/obs-studio')
-rw-r--r-- | media-video/obs-studio/Manifest | 1 | ||||
-rw-r--r-- | media-video/obs-studio/obs-studio-20.0.1.ebuild | 105 |
2 files changed, 106 insertions, 0 deletions
diff --git a/media-video/obs-studio/Manifest b/media-video/obs-studio/Manifest index 4d48015b277f..144a24ed1cd1 100644 --- a/media-video/obs-studio/Manifest +++ b/media-video/obs-studio/Manifest @@ -1,3 +1,4 @@ DIST obs-studio-18.0.0.tar.gz 5781674 SHA256 ad7c95aaf29037baddff6bedac9e51fed221c1cc3c27729be3759e8feeffb95f SHA512 fb7c6ef259e6fffd63d27ca3a1c6d1e8f0c522351444484a2b59c3b14a1a3676025c67402f7a4cdc82be1cdcb91237ee5bd081993982843d1721b79a66cec618 WHIRLPOOL 0cef8d886d01250255023665bec6d89ea43258eda993860afd6bae3015a979a3235ed8bf72cf3ca19a5e5edf878c44ee8f5b74a77335278e814d7d19cf133364 DIST obs-studio-18.0.2.tar.gz 6073678 SHA256 1cfbad3439b1d581b4f5b47792ccc4dae231acaf37178808811ff4e2b68feb0a SHA512 5d03791438e73e1b7689b319d4a7bb2235a178655061e816309a115026207db11053e3c27c08c5dde4f3638b3bb424ebb3bf3748bbbe828374a06abe75b2e39d WHIRLPOOL 66e3a425dd4029f3649e50fcc88d57f7e85133e16ae65e56b69d5e7ad584df37f6d51079419d47ec79397e321388c762715bab14f797f1fc40d1980cafa9c785 DIST obs-studio-19.0.2.tar.gz 5509958 SHA256 c7846e09f13061587d844588c538276aec6d498c8f9a4518fc3d8bb206776f01 SHA512 8e2c720d713f6b3fdfb0ce64252cba3129644155be75e0942250bb616700ba62acdb04265a7a6d0ce9406282fbbf85d662d7bdc36736c36be89fd726c8bbf5a9 WHIRLPOOL 7200a787ef1afc848fabf52193210a3309456b799da8cbd083d5914723e2c721dc3f7269d5b23edee3fd61c61314c96f11c683b5585d13d8b19536e3480f1f5c +DIST obs-studio-20.0.1.tar.gz 5610534 SHA256 3241667f180816b860622fd9ac572a86375a9a766ac45c69a886dcbdaf524643 SHA512 891be96bbe18a2de4af8efd2eaeb54c388332ac7d93a66efcc18208af9ef2dfe3981f81ba351bdb16a93b2d66bcfef4f5277d3d8746261f0beb1f324ed9a7534 WHIRLPOOL d43526496775a409c75212ab53c30ebe3d55250583761c58ab5bf9cbe958c5ac4174ea7a3692a133d0be58265862b9e4a62515afa85b429d4d601b0b102a1ec6 diff --git a/media-video/obs-studio/obs-studio-20.0.1.ebuild b/media-video/obs-studio/obs-studio-20.0.1.ebuild new file mode 100644 index 000000000000..07c1a8007eb9 --- /dev/null +++ b/media-video/obs-studio/obs-studio-20.0.1.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils gnome2-utils + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/jp9000/obs-studio.git" + EGIT_SUBMODULES=() +else + SRC_URI="https://github.com/jp9000/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="Software for Recording and Streaming Live Video Content" +HOMEPAGE="https://obsproject.com" + +LICENSE="GPL-2" +SLOT="0" +IUSE="+alsa fdk imagemagick jack pulseaudio truetype v4l" + +DEPEND=" + >=dev-libs/jansson-2.5 + dev-qt/qtcore:5 + dev-qt/qtdeclarative:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5 + dev-qt/qtnetwork:5 + dev-qt/qtquickcontrols:5 + dev-qt/qtsql:5 + dev-qt/qttest:5 + dev-qt/qtwidgets:5 + dev-qt/qtx11extras:5 + media-video/ffmpeg:=[x264] + net-misc/curl + x11-libs/libXcomposite + x11-libs/libXinerama + x11-libs/libXrandr + alsa? ( media-libs/alsa-lib ) + fdk? ( media-libs/fdk-aac:= ) + imagemagick? ( media-gfx/imagemagick:= ) + jack? ( virtual/jack ) + pulseaudio? ( media-sound/pulseaudio ) + truetype? ( + media-libs/fontconfig + media-libs/freetype + ) + v4l? ( media-libs/libv4l ) +" +RDEPEND="${DEPEND}" + +CMAKE_REMOVE_MODULES_LIST=( FindFreetype ) + +src_configure() { + local libdir=$(get_libdir) + local mycmakeargs=( + -DDISABLE_ALSA=$(usex !alsa) + -DDISABLE_FREETYPE=$(usex !truetype) + -DDISABLE_JACK=$(usex !jack) + -DDISABLE_LIBFDK=$(usex !fdk) + -DDISABLE_PULSEAUDIO=$(usex !pulseaudio) + -DDISABLE_V4L2=$(usex !v4l) + -DLIBOBS_PREFER_IMAGEMAGICK=$(usex imagemagick) + -DOBS_MULTIARCH_SUFFIX=${libdir#lib} + -DOBS_VERSION_OVERRIDE=${PV} + -DUNIX_STRUCTURE=1 + ) + cmake-utils_src_configure +} + +pkg_postinst() { + gnome2_icon_cache_update + + if ! use alsa && ! use pulseaudio; then + elog + elog "For the audio capture features to be available," + elog "either the 'alsa' or the 'pulseaudio' USE-flag needs to" + elog "be enabled." + elog + fi + + if ! has_version "sys-apps/dbus"; then + elog + elog "The 'sys-apps/dbus' package is not installed, but" + elog "could be used for disabling hibernating, screensaving," + elog "and sleeping. Where it is not installed," + elog "'xdg-screensaver reset' is used instead" + elog "(if 'x11-misc/xdg-utils' is installed)." + elog + fi + + if ! has_version "media-libs/speex"; then + elog + elog "For the speexdsp-based noise suppression filter" + elog "to be available, the 'media-libs/speex' package needs" + elog "to be installed." + elog + fi +} + +pkg_postrm() { + gnome2_icon_cache_update +} |