diff options
Diffstat (limited to 'www-client/rekonq/rekonq-2.1.ebuild')
-rw-r--r-- | www-client/rekonq/rekonq-2.1.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/www-client/rekonq/rekonq-2.1.ebuild b/www-client/rekonq/rekonq-2.1.ebuild new file mode 100644 index 000000000000..fe3a29cbd1c5 --- /dev/null +++ b/www-client/rekonq/rekonq-2.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/rekonq/rekonq-2.1.ebuild,v 1.1 2013/01/28 15:57:41 kensington Exp $ + +EAPI=5 + +WEBKIT_REQUIRED="always" +KDE_LINGUAS="ca da de el es et fi fr hu ia it km lt nb nl pl pt pt_BR sk sl +sr sr@ijekavian sr@ijekavianlatin sr@latin sv uk zh_CN zh_TW" +KDE_HANDBOOK="optional" +inherit kde4-base + +DESCRIPTION="A browser based on qt-webkit" +HOMEPAGE="http://rekonq.kde.org/" +[[ ${PV} != *9999* ]] && SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="4" +KEYWORDS="~amd64 ~x86" +IUSE="debug opera semantic-desktop" + +DEPEND=" + $(add_kdebase_dep kdelibs 'semantic-desktop=') + opera? ( + app-crypt/qca:2 + dev-libs/qoauth + ) +" +RDEPEND="${DEPEND}" + +src_prepare() { + # KDE_LINGUAS is also used to install appropriate handbooks + # since there is no en_US 'translation', it cannot be added + # hence making this impossible to install + mv doc/en_US doc/en || die "doc move failed" + sed -i -e 's/en_US/en/' doc/CMakeLists.txt || die "sed failed" + kde4-base_src_prepare +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_with opera QCA2) + $(cmake-utils_use_with opera QtOAuth) + $(cmake-utils_use_with semantic-desktop Nepomuk) + ) + + kde4-base_src_configure +} |