diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2008-11-04 17:49:58 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2008-11-04 17:49:58 +0000 |
commit | fa57c734ec5046b4e6fb9d3c035875f4bbb1115c (patch) | |
tree | ff63beeac1f318a87aeaefad6f6908bc7515081d /media-libs/lasi | |
parent | Marking activerecord-2.0.0|2.1.2 ppc64 stable for bug 237385 (diff) | |
download | gentoo-2-fa57c734ec5046b4e6fb9d3c035875f4bbb1115c.tar.gz gentoo-2-fa57c734ec5046b4e6fb9d3c035875f4bbb1115c.tar.bz2 gentoo-2-fa57c734ec5046b4e6fb9d3c035875f4bbb1115c.zip |
Added doc and examples flags, added missing dependencies and more patches for installation directories
(Portage version: 2.2_rc11/cvs/Linux 2.6.25-gentoo-r7 x86_64)
Diffstat (limited to 'media-libs/lasi')
-rw-r--r-- | media-libs/lasi/ChangeLog | 9 | ||||
-rw-r--r-- | media-libs/lasi/files/lasi-1.1.0-cmake.patch | 11 | ||||
-rw-r--r-- | media-libs/lasi/lasi-1.1.0-r1.ebuild | 48 |
3 files changed, 67 insertions, 1 deletions
diff --git a/media-libs/lasi/ChangeLog b/media-libs/lasi/ChangeLog index a26b196b20fe..932cf341987b 100644 --- a/media-libs/lasi/ChangeLog +++ b/media-libs/lasi/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-libs/lasi # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/lasi/ChangeLog,v 1.2 2008/10/25 22:35:28 pvdabeel Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/lasi/ChangeLog,v 1.3 2008/11/04 17:49:58 bicatali Exp $ + +*lasi-1.1.0-r1 (04 Nov 2008) + + 04 Nov 2008; Sébastien Fabbro <bicatali@gentoo.org> + +files/lasi-1.1.0-cmake.patch, +lasi-1.1.0-r1.ebuild: + Added doc and examples flags, added missing dependencies and more patches + for installation directories *lasi-1.1.0 (21 Oct 2008) diff --git a/media-libs/lasi/files/lasi-1.1.0-cmake.patch b/media-libs/lasi/files/lasi-1.1.0-cmake.patch new file mode 100644 index 000000000000..491c1733693a --- /dev/null +++ b/media-libs/lasi/files/lasi-1.1.0-cmake.patch @@ -0,0 +1,11 @@ +--- cmake/modules.orig/summary.cmake 2008-02-09 01:27:56.000000000 +0000 ++++ cmake/modules/summary.cmake 2008-11-04 16:25:59.968913787 +0000 +@@ -30,7 +30,7 @@ + + CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE} + CMAKE_CXX_COMPILER: ${CMAKE_CXX_COMPILER}") +-if(NOT CMAKE_BUILD_TYPE) ++if(NOT CMAKE_BUILD_TYPE OR CMAKE_BUILD_TYPE STREQUAL "None") + set(_output_results + "${_output_results} + CMAKE_CXX_FLAGS: ${CMAKE_CXX_FLAGS}") diff --git a/media-libs/lasi/lasi-1.1.0-r1.ebuild b/media-libs/lasi/lasi-1.1.0-r1.ebuild new file mode 100644 index 000000000000..f98f95ba1bb0 --- /dev/null +++ b/media-libs/lasi/lasi-1.1.0-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/lasi/lasi-1.1.0-r1.ebuild,v 1.1 2008/11/04 17:49:58 bicatali Exp $ + +EAPI=2 +inherit eutils cmake-utils + +MY_PN="libLASi" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="C++ library for postscript stream output" +HOMEPAGE="http://www.unifont.org/lasi/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc examples" + +RDEPEND="x11-libs/pango + media-libs/freetype:2" + +DEPEND="${RDEPEND} + dev-util/pkgconfig + doc? ( app-doc/doxygen )" + +S="${WORKDIR}/${MY_P}" + +DOCS="AUTHORS NEWS NOTES README" + +src_prepare() { + epatch "${FILESDIR}"/${P}-cmake.patch + sed -i \ + -e "s:\/lib$:\/$(get_libdir):" \ + -e "s/libLASi-\${VERSION}/${PF}/" \ + cmake/modules/instdirs.cmake \ + || die "Failed to fix cmake module" + sed -i \ + -e "s:\${DATA_DIR}/examples:/usr/share/doc/${PF}/examples:" \ + examples/CMakeLists.txt || die + + use examples || sed -i -e '/add_subdirectory(examples)/d' CMakeLists.txt +} + +src_configure() { + use doc || mycmakeargs="${mycmakeargs} -DDOXYGEN_EXECUTABLE=" + cmake-utils_src_configure +} |