blob: e88b6d409d79e4fe738a363b3a34b718e93c2610 (
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
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/screengrab/screengrab-0.9.90-r1.ebuild,v 1.4 2013/03/02 23:53:00 hwoarang Exp $
EAPI=4
inherit cmake-utils
DESCRIPTION="Qt application for getting screenshots"
HOMEPAGE="http://code.google.com/p/screengrab-qt/"
SRC_URI="http://screengrab-qt.googlecode.com/files/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="x11-libs/libX11
dev-qt/qtcore:4
dev-qt/qtgui:4"
RDEPEND="${DEPEND}"
src_prepare() {
# Install docs into the right dir, but skip the license.
# Respect CXXFLAGS.
sed -i -e "/LICENSE.txt/d" \
-e "/SG_DOCDIR/s:share/doc/screengrab:${PF}:" \
-e "/CMAKE_CXX_FLAGS/s:\"): ${CXXFLAGS}&:" \
CMakeLists.txt || die
}
|