diff options
Diffstat (limited to 'kde-apps/blogilo/blogilo-16.08.2.ebuild')
-rw-r--r-- | kde-apps/blogilo/blogilo-16.08.2.ebuild | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/kde-apps/blogilo/blogilo-16.08.2.ebuild b/kde-apps/blogilo/blogilo-16.08.2.ebuild new file mode 100644 index 000000000000..c56b59ed2014 --- /dev/null +++ b/kde-apps/blogilo/blogilo-16.08.2.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +KDE_HANDBOOK="forceoptional" +KDE_TEST="forceoptional" +KMNAME="kdepim" +inherit kde5 + +DESCRIPTION="Application to create, edit and update blog content" +HOMEPAGE="https://www.kde.org/applications/internet/blogilo" +LICENSE="GPL-2+ LGPL-2.1+ handbook? ( FDL-1.2+ )" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +IUSE="google" + +DEPEND=" + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kcrash) + $(add_frameworks_dep kdbusaddons) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kio) + $(add_frameworks_dep knotifications) + $(add_frameworks_dep ktexteditor) + $(add_frameworks_dep kwallet) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kxmlgui) + $(add_kdeapps_dep kblog) + $(add_kdeapps_dep kdepim-apps-libs) + $(add_kdeapps_dep libkdepim) + $(add_kdeapps_dep messagelib) + $(add_kdeapps_dep pimcommon) + $(add_qt_dep qtgui) + $(add_qt_dep qtsql) + $(add_qt_dep qtwebengine 'widgets') + $(add_qt_dep qtwidgets) + google? ( net-libs/libkgapi:5 ) +" +RDEPEND="${DEPEND} + !<kde-apps/kdepim-apps-libs-16.04.50 +" + +src_prepare() { + # blogilo subproject does not contain doc + # at least until properly split upstream + echo "add_subdirectory(doc)" >> CMakeLists.txt || die "Failed to add doc dir" + mv ../doc/${PN} doc || die "Failed to move handbook" + + kde5_src_prepare +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package google KF5GAPI) + ) + + kde5_src_configure +} |