summaryrefslogtreecommitdiff
blob: 2a40b1e1039884c2dad7f9234d891e46211a2f86 (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-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-calculators/qalculate-units/qalculate-units-0.9.4-r2.ebuild,v 1.9 2014/07/04 15:41:44 bicatali Exp $

EAPI=5

inherit autotools eutils

DESCRIPTION="A GTK+ unit conversion tool"
HOMEPAGE="http://qalculate.sourceforge.net/"
SRC_URI="mirror://sourceforge/qalculate/${P}.tar.gz"

SLOT="0"
LICENSE="GPL-2"
IUSE="nls"
KEYWORDS="~amd64 x86 ~amd64-linux ~x86-linux"

RDEPEND="
	dev-libs/libxml2:2=
	sci-libs/libqalculate:0=
	x11-libs/gdk-pixbuf:2=
	x11-libs/gtk+:2=
	nls? ( sys-devel/gettext )"
DEPEND="${RDEPEND}
	virtual/pkgconfig"

src_prepare() {
	epatch \
		"${FILESDIR}"/${P}-cln-config.patch \
		"${FILESDIR}"/${P}-desktop.patch
	eautoconf
}