blob: 23298abcc709ee42df7850c964dd76f6338272b8 (
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
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/qx11grab/qx11grab-0.2.2.ebuild,v 1.3 2011/04/03 19:04:43 scarabeus 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="ftp://ftp.hjcms.de/qx11grab/${PV}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="x11-libs/qt-gui:4[dbus]
virtual/ffmpeg[X]"
DEPEND="${RDEPEND}"
S=${WORKDIR}/${MY_P}
pkg_setup() {
# Required by ffmpeg headers.
append-flags -D__STDC_CONSTANT_MACROS
}
src_prepare() {
# Move docs to DOCDIR.
sed -i \
-e "s:share/qx11grab:share/doc/${PF}:" \
-e '/COPYING/d' \
CMakeLists.txt || die "sed failed"
}
|