blob: 8436621c216ecfb50ab875d475b9a714c9b3674a (
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
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/screengrab/screengrab-1.0.ebuild,v 1.2 2014/09/07 16:43:32 hwoarang Exp $
EAPI=5
inherit cmake-utils
DESCRIPTION="Qt application for getting screenshots"
HOMEPAGE="http://screengrab.doomer.org"
# Mirror the tarball because upstream failed to provide a proper way to get it
SRC_URI="http://screengrab.doomer.org/download/screengrab-1_0_/ -> ${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}"
PATCHES=( "${FILESDIR}"/${P}-detect-lib64.patch )
src_prepare() {
# Install docs into the right dir, but skip the license.
sed -i -e "/SG_DOCDIR/s:screengrab:${PF}:" \
CMakeLists.txt || die
cmake-utils_src_prepare
}
|