diff options
author | Chaos <andrzej.pauli@gmail.com> | 2015-12-22 01:31:35 +0100 |
---|---|---|
committer | Chaos <andrzej.pauli@gmail.com> | 2015-12-22 01:31:35 +0100 |
commit | a2def6bda80b6bed4f3fc48242965c59f9377915 (patch) | |
tree | f43ac7646660f46099c75d75ae71d2abd222f8ba /media-video/qgifer | |
parent | Merge remote-tracking branch 'remotes/Coacher/aegisub-bug-568878' (diff) | |
download | gentoo-a2def6bda80b6bed4f3fc48242965c59f9377915.tar.gz gentoo-a2def6bda80b6bed4f3fc48242965c59f9377915.tar.bz2 gentoo-a2def6bda80b6bed4f3fc48242965c59f9377915.zip |
Create qgifer-0.2.1-r2.ebuild file
Using slots for opencv2 and opencv3 versions
Diffstat (limited to 'media-video/qgifer')
-rw-r--r-- | media-video/qgifer/qgifer-0.2.1-r2.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/media-video/qgifer/qgifer-0.2.1-r2.ebuild b/media-video/qgifer/qgifer-0.2.1-r2.ebuild new file mode 100644 index 000000000000..2fa69dd2ab37 --- /dev/null +++ b/media-video/qgifer/qgifer-0.2.1-r2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit cmake-utils + +DESCRIPTION="A video-based animated GIF creator" +HOMEPAGE="https://sourceforge.net/projects/qgifer/" +SRC_URI="mirror://sourceforge/${PN}/${P}-source.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="debug imagemagick opencv3" + +RDEPEND="media-libs/giflib:0 + dev-qt/qtcore:4 + dev-qt/qtgui:4 + imagemagick? ( media-gfx/imagemagick:0 ) + !opencv3? ( media-libs/opencv:0/2.4[ffmpeg] ) + opencv3? ( media-libs/opencv:0/3.0[ffmpeg] ) + virtual/ffmpeg:0" + +DEPEND="${RDEPEND} + >=dev-util/cmake-2.8:0" + +S="${WORKDIR}/${P}-source" + +src_prepare() { + epatch "${FILESDIR}"/${P}-desktop.patch + + if use opencv3 ; then + epatch "${FILESDIR}"/${P}-opencv3.patch + fi +} + +src_configure() { + local mycmakeargs + + use debug && mycmakeargs=( -DRELEASE_MODE=OFF ) + + cmake-utils_src_configure +} |