You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-gfx/kphotoalbum/kphotoalbum-4.2.ebuild

48 lines
1.4 KiB

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/kphotoalbum/kphotoalbum-4.2.ebuild,v 1.4 2013/03/02 21:37:07 hwoarang Exp $
EAPI=4
KDE_LINGUAS="ar be bg bs ca ca@valencia cs da de el en_GB eo es et fi fr ga gl
hi hne hr is it ja km lt mai nb nds nl nn pa pl pt pt_BR ro ru se sk sv tr ug uk
vi zh_CN zh_TW"
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.bz2"
LICENSE="GPL-2 FDL-1.2"
KEYWORDS="amd64 x86"
SLOT="4"
IUSE="debug +exif +geolocation +kipi +raw +semantic-desktop"
DEPEND="
$(add_kdebase_dep kdelibs 'semantic-desktop=')
>=dev-qt/qtsql-4.4:4[sqlite]
virtual/jpeg
exif? ( >=media-gfx/exiv2-0.17 )
geolocation? ( $(add_kdebase_dep marble) )
kipi? ( $(add_kdebase_dep libkipi) <kde-base/libkipi-4.9.50 )
raw? ( $(add_kdebase_dep libkdcraw) <kde-base/libkdcraw-4.9.50 )
"
RDEPEND="${DEPEND}
semantic-desktop? ( $(add_kdebase_dep nepomuk) )
"
DOCS=( ChangeLog README TODO )
src_configure() {
mycmakeargs=(
$(cmake-utils_use_with exif Exiv2)
$(cmake-utils_use_with geolocation Marble)
$(cmake-utils_use_with kipi)
$(cmake-utils_use_with raw Kdcraw)
$(cmake-utils_use_with semantic-desktop Nepomuk)
$(cmake-utils_use_with semantic-desktop Soprano)
)
kde4-base_src_configure
}