summaryrefslogtreecommitdiff
blob: 171f2abf72b5d0cc22dc1244e0a72a1a285fcb34 (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
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

KDE_LINGUAS="bg bs ca ca@valencia cs da de el en_GB es et fi fr ga gl hu it
ja ko nb nds nl pl pt pt_BR ru sk sl sr sr@Latn sv tr ug uk zh_TW"
KDE_HANDBOOK="optional"
inherit kde4-base

DESCRIPTION="A universal currency converter and calculator"
HOMEPAGE="http://opensource.bureau-cornavin.com/keurocalc/index.html"
SRC_URI="http://opensource.bureau-cornavin.com/keurocalc/sources/${P}.tgz"

LICENSE="GPL-2+ FDL-1.2"
SLOT="4"
KEYWORDS="amd64 x86"
IUSE="debug"

DOCS=( AUTHORS TODO )

src_prepare() {
	# bug 500560
	sed -e "s/PO_FILES //" -i po/*/CMakeLists.txt || die

	# bug 518070
	sed -e "/cmake_minimum_required/a cmake_policy(SET CMP0002 OLD)" \
		-i CMakeLists.txt || die

	kde4-base_src_prepare
}