summaryrefslogtreecommitdiff
blob: 10acdfc437e1270600cd86d5e0a65e734c34002e (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-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/gwenview/gwenview-1.3.0.ebuild,v 1.1 2005/09/24 12:48:35 lanius Exp $

inherit kde

MY_P=${P/_/}
S=${WORKDIR}/${MY_P}

DESCRIPTION="image viewer for KDE"
HOMEPAGE="http://gwenview.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="kipi"

DEPEND="kipi? ( >=media-plugins/kipi-plugins-0.1.0_beta2 )"

need-kde 3

src_compile() {
	# Manually remove visibility support,
	# will not be needed in next version.
	export kde_cv_prog_cxx_fvisibility_hidden=no

	local myconf="$(use_enable kipi)"
	kde_src_compile myconf configure
	make || die
}