diff options
-rw-r--r-- | app-office/libalkimia/ChangeLog | 11 | ||||
-rw-r--r-- | app-office/libalkimia/files/libalkimia-4.3.0-doc.patch | 34 | ||||
-rw-r--r-- | app-office/libalkimia/libalkimia-4.3.0.ebuild | 28 | ||||
-rw-r--r-- | app-office/libalkimia/metadata.xml | 5 |
4 files changed, 78 insertions, 0 deletions
diff --git a/app-office/libalkimia/ChangeLog b/app-office/libalkimia/ChangeLog new file mode 100644 index 000000000000..c70e7fe7a104 --- /dev/null +++ b/app-office/libalkimia/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for app-office/libalkimia +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-office/libalkimia/ChangeLog,v 1.1 2011/04/21 22:19:14 dilfridge Exp $ + +*libalkimia-4.3.0 (21 Apr 2011) + + 21 Apr 2011; Andreas K. Huettel <dilfridge@gentoo.org> + +libalkimia-4.3.0.ebuild, +files/libalkimia-4.3.0-doc.patch, + +metadata.xml: + New library + diff --git a/app-office/libalkimia/files/libalkimia-4.3.0-doc.patch b/app-office/libalkimia/files/libalkimia-4.3.0-doc.patch new file mode 100644 index 000000000000..d49282d2719b --- /dev/null +++ b/app-office/libalkimia/files/libalkimia-4.3.0-doc.patch @@ -0,0 +1,34 @@ +diff -ruN libalkimia-4.3.0.orig/CMakeLists.txt libalkimia-4.3.0/CMakeLists.txt +--- libalkimia-4.3.0.orig/CMakeLists.txt 2011-01-12 11:41:50.000000000 +0100 ++++ libalkimia-4.3.0/CMakeLists.txt 2011-04-21 01:59:24.079220359 +0200 +@@ -72,6 +72,8 @@ + + ########### documentation ################### + ++if(BUILD_DOC) ++ + # check for Doxygen + find_package(Doxygen) + if(DOXYGEN_FOUND) +@@ -81,9 +83,20 @@ + + configure_file(${CMAKE_CURRENT_SOURCE_DIR}/libalkimia.doxygen.in ${CMAKE_CURRENT_BINARY_DIR}/libalkimia.doxygen IMMEDIATE) + +- add_custom_target(apidoc ${DOXYGEN} ${CMAKE_CURRENT_BINARY_DIR}/libalkimia.doxygen) ++ add_custom_target(apidoc ALL ${DOXYGEN} ${CMAKE_CURRENT_BINARY_DIR}/libalkimia.doxygen) ++else(DOXYGEN_FOUND) ++ MESSAGE(FATAL_ERROR "API documentation requested but doxygen not found") + endif(DOXYGEN_FOUND) + ++ELSE(BUILD_DOC) ++ ++ MESSAGE(STATUS "") ++ MESSAGE(STATUS "Documentation will NOT be installed") ++ MESSAGE(STATUS "Because the option -DBUILD_DOC=ON wasn't passed to cmake") ++ MESSAGE(STATUS "") ++ ++ENDIF(BUILD_DOC) ++ + ########### tests ################### + + set( alkvaluetest_SRCS alkvaluetest.cpp ) diff --git a/app-office/libalkimia/libalkimia-4.3.0.ebuild b/app-office/libalkimia/libalkimia-4.3.0.ebuild new file mode 100644 index 000000000000..3f9257a173ba --- /dev/null +++ b/app-office/libalkimia/libalkimia-4.3.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-office/libalkimia/libalkimia-4.3.0.ebuild,v 1.1 2011/04/21 22:19:14 dilfridge Exp $ + +EAPI=4 + +inherit kde4-base + +DESCRIPTION="Library with common classes and functionality used by KDE finance applications" +HOMEPAGE="http://kde-apps.org/content/show.php/libalkimia?content=137323" +SRC_URI="http://kde-apps.org/CONTENT/content-files/137323-${P}.tar.bz2" + +LICENSE="LGPL-2.1" +KEYWORDS="~amd64 ~x86" +SLOT=0 +IUSE="doc" + +RDEPEND="dev-libs/gmp" +DEPEND="${RDEPEND} + dev-util/pkgconfig + doc? ( app-doc/doxygen )" + +PATCHES=( "${FILESDIR}/${PN}-4.3.0-doc.patch" ) + +src_configure() { + mycmakeargs=( $(cmake-utils_use_build doc) ) + kde4-base_src_configure +} diff --git a/app-office/libalkimia/metadata.xml b/app-office/libalkimia/metadata.xml new file mode 100644 index 000000000000..8d1e86a9cefb --- /dev/null +++ b/app-office/libalkimia/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>kde</herd> +</pkgmetadata> |