summaryrefslogtreecommitdiff
blob: 84fa6cec313cce07b01c4f77cdf0423a835a8a04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/qgifer/qgifer-0.2.1.ebuild,v 1.4 2014/08/10 21:00:45 slyfox Exp $

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"

RDEPEND="media-libs/giflib:0
	dev-qt/qtcore:4
	dev-qt/qtgui:4
	imagemagick? ( media-gfx/imagemagick:0 )
	media-libs/opencv:0[ffmpeg]
	virtual/ffmpeg:0"

DEPEND="${RDEPEND}
	>=dev-util/cmake-2.8:0"

S="${WORKDIR}/${P}-source"

PATCHES=( "${FILESDIR}"/${P}-desktop.patch )

src_configure() {
	local mycmakeargs=""

	use debug && mycmakeargs+=" -DRELEASE_MODE=OFF"

	cmake-utils_src_configure
}