blob: 8df114aac0f97aef9b19d7d435562ec40bf16a5d (
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-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit cmake-utils git-2
DESCRIPTION="ebook reader"
HOMEPAGE="http://www.coolreader.org/"
EGIT_REPO_URI="git://crengine.git.sourceforge.net/gitroot/crengine/crengine"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="media-libs/freetype
media-libs/libpng
sys-libs/zlib
virtual/jpeg
x11-libs/qt-core:4
x11-libs/qt-gui:4"
RDEPEND="${DEPEND}
virtual/ttf-fonts"
src_prepare() {
use amd64 && \
sed -e 's/unsigned int/unsigned long/g' -i crengine/src/lvdocview.cpp \
|| die 'sed lvdocview.cpp failed'
}
src_configure() {
CMAKE_BUILD_TYPE="Release"
mycmakeargs="-D GUI=QT"
cmake-utils_src_configure
}
|