# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-gfx/kphotoalbum/kphotoalbum-4.5.ebuild,v 1.1 2014/07/17 13:06:23 kensington Exp $ EAPI=5 KDE_LINGUAS="ar be bg bs ca ca@valencia cs da de el en_GB eo es et eu fi fr ga gl hi hne hr hu is it ja km lt mai mr nb nds nl nn pa pl pt pt_BR ro ru se sk sv tr ug uk vi zh_CN zh_TW" KDE_HANDBOOK="optional" inherit kde4-base DESCRIPTION="KDE Photo Album is a tool for indexing, searching, and viewing images" HOMEPAGE="http://www.kphotoalbum.org/" SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz" LICENSE="GPL-2 FDL-1.2" SLOT="4" KEYWORDS="~amd64 ~x86" IUSE="debug +exif +geolocation +kipi +raw" DEPEND=" >=dev-qt/qtsql-4.4:4[sqlite] media-libs/phonon[qt4] virtual/jpeg:0 exif? ( >=media-gfx/exiv2-0.17 ) geolocation? ( $(add_kdebase_dep marble) ) kipi? ( $(add_kdebase_dep libkipi '' 4.9.58) ) raw? ( $(add_kdebase_dep libkdcraw '' 4.9.58) ) " RDEPEND="${DEPEND} || ( media-video/mplayer2 media-video/mplayer ) " DOCS=( ChangeLog README ) src_configure() { local mycmakeargs=( $(cmake-utils_use_with exif Exiv2) $(cmake-utils_use_with geolocation Marble) $(cmake-utils_use_with kipi) $(cmake-utils_use_with raw Kdcraw) ) kde4-base_src_configure }