summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-04-23 23:38:03 +0200
committerAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-04-24 19:30:43 +0200
commit4ef130316efae0f999cae6f0506ead06b1954ead (patch)
treec547ab09c07ed5022424cdb0b62c6002aa286fc1
parent79b475465830d0b21bfd401f94053c2a31173537 (diff)
downloadkde-4ef130316efae0f999cae6f0506ead06b1954ead.tar.gz
kde-4ef130316efae0f999cae6f0506ead06b1954ead.tar.bz2
kde-4ef130316efae0f999cae6f0506ead06b1954ead.zip
kde-apps/konsolekalendar: Split building upstream
Package-Manager: portage-2.2.27
-rw-r--r--kde-apps/konsolekalendar/konsolekalendar-9999.ebuild26
1 files changed, 8 insertions, 18 deletions
diff --git a/kde-apps/konsolekalendar/konsolekalendar-9999.ebuild b/kde-apps/konsolekalendar/konsolekalendar-9999.ebuild
index f93c574d2d8..e16d9536742 100644
--- a/kde-apps/konsolekalendar/konsolekalendar-9999.ebuild
+++ b/kde-apps/konsolekalendar/konsolekalendar-9999.ebuild
@@ -4,7 +4,7 @@
EAPI=6
-KDE_HANDBOOK="true"
+KDE_HANDBOOK="forceoptional"
KDE_PUNT_BOGUS_DEPS="true"
KMNAME="kdepim"
QT_MINIMAL="5.6.0"
@@ -33,27 +33,17 @@ RDEPEND="${DEPEND}
"
if [[ ${KDE_BUILD_TYPE} = live ]] ; then
- S="${WORKDIR}/${P}"
+ S="${WORKDIR}/${P}/console"
else
- S="${WORKDIR}/${KMNAME}-${PV}"
+ S="${WORKDIR}/${KMNAME}-${PV}/console"
fi
-PATCHES=( "${FILESDIR}/kdepim-console.patch" )
-
src_prepare() {
- mv console/calendarjanitor calendarjanitor || die "Failed to move calendarjanitor"
- mv console/konsolekalendar konsolekalendar || die "Failed to move konsolekalendar"
+ # konsolekalendar 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"
+ cmake_comment_add_subdirectory calendarjanitor
kde5_src_prepare
}
-
-src_configure() {
- local mycmakeargs=(
- -DCMAKE_DISABLE_FIND_PACKAGE_KF5GAPI=ON
- -DCMAKE_DISABLE_FIND_PACKAGE_KF5Prison=ON
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Designer=ON
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt5X11Extras=ON
- )
-
- kde5_src_configure
-}