blob: 634d5e6c4f96ba4b82827e86e666cb3e3becdab5 (
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
40
41
42
43
44
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/qx11grab/qx11grab-0.2.1_rc4.ebuild,v 1.3 2010/08/31 12:39:28 hwoarang Exp $
EAPI=2
inherit cmake-utils eutils flag-o-matic versionator
MY_P=${PN}-$(replace_version_separator _ .)
DESCRIPTION="X11 desktop video grabber tray"
HOMEPAGE="http://qx11grab.hjcms.de/"
SRC_URI="http://qx11grab.hjcms.de/Downloads/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND="x11-libs/qt-gui:4[dbus]
media-video/ffmpeg[X]"
DEPEND="${RDEPEND}"
S=${WORKDIR}/${MY_P}
pkg_setup() {
# Required by ffmpeg headers.
append-flags -D__STDC_CONSTANT_MACROS
}
src_prepare() {
epatch "${FILESDIR}"/${P}-as-needed.patch
# Move docs to DOCDIR.
sed -i \
-e "s:share/qx11grab:share/doc/${PF}:" \
-e '/COPYING/d' \
CMakeLists.txt
}
src_install() {
cmake-utils_src_install
prepalldocs
}
|