summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2008-11-04 17:49:58 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2008-11-04 17:49:58 +0000
commit4fad15e1508f3361085433710a20bc64827a3617 (patch)
tree959c66a215fdef24c85f5cb3cf173aeb2d1aa33e /media-libs
parentMarking activerecord-2.0.0|2.1.2 ppc64 stable for bug 237385 (diff)
downloadhistorical-4fad15e1508f3361085433710a20bc64827a3617.tar.gz
historical-4fad15e1508f3361085433710a20bc64827a3617.tar.bz2
historical-4fad15e1508f3361085433710a20bc64827a3617.zip
Added doc and examples flags, added missing dependencies and more patches for installation directories
Package-Manager: portage-2.2_rc11/cvs/Linux 2.6.25-gentoo-r7 x86_64
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/lasi/ChangeLog9
-rw-r--r--media-libs/lasi/Manifest14
-rw-r--r--media-libs/lasi/files/lasi-1.1.0-cmake.patch11
-rw-r--r--media-libs/lasi/lasi-1.1.0-r1.ebuild48
4 files changed, 80 insertions, 2 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/Manifest b/media-libs/lasi/Manifest
index d67e58086ac9..a358a1d746c0 100644
--- a/media-libs/lasi/Manifest
+++ b/media-libs/lasi/Manifest
@@ -1,4 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX lasi-1.1.0-cmake.patch 417 RMD160 b8dcaac0d5f9700f66c6f44b68bd01ca88d26132 SHA1 a29da03b0ae418179fb73b0044883d6c0b9accce SHA256 9247c947eeeb02de666d9ae43f8d6681a192626a05e59100b58e0c2b9f9d281a
DIST libLASi-1.1.0.tar.gz 200126 RMD160 468ffda874ab78676408e8fbe7ab5fee3acc7de7 SHA1 6b2db9dc8719eb7f31c63b70e04b2337812379a1 SHA256 52b186060e531f851d4b9d288dc6dba4f0ab15a6b8862377213032da39bcb8f4
+EBUILD lasi-1.1.0-r1.ebuild 1195 RMD160 2bb835d43fb82d0502110e517e3091cd0e03093c SHA1 8c66d8da1300fb09a315e79d0e91b6c7fff15d3c SHA256 6735af3e259c51e61b92b7866b33f208cdc7acf60a81f20c1201f67c0f5a6f18
EBUILD lasi-1.1.0.ebuild 777 RMD160 7e8f181b8622af35256230e9ffdc02b4888b1078 SHA1 97b436a0d13a9ac8dcb34c6afc9c70366b9fe4c6 SHA256 8be36a19d9cf43c0eea2a804e5b581608fac7371b8de44d88169d42194259d00
-MISC ChangeLog 645 RMD160 cd172ffda76a5c3c13b2f65e12a9cfa054f922a6 SHA1 bc946446bc7bc58f58431f635374214b471076d0 SHA256 33a177af4f2b30a8b4a41ce212aae26744972fb59b5198aa213c8ab0e0186d22
+MISC ChangeLog 894 RMD160 eff3a4ff7e1380dfe8b074357dbd4932db10480e SHA1 f0691b18659c172381e0937d57f4a40bfc23826e SHA256 7beb54224ee051b3fc70ec395632fe7b3452dc7856b77684b6158869a8b8e59a
MISC metadata.xml 1057 RMD160 67217462220df8046475f54b5730c32c7a671e07 SHA1 c7bbcdcb68e69633a7fba88670256f518af1ba53 SHA256 a6a6d68171bc80f9a9e38d5a17df48677609c82d82202cbce3328f9237945087
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkkQi1AACgkQ1ycZbhPLE2CyFgCeOmN8XuurWknb5qtmiprixozH
+vDkAoI39ZKPLybrF9xlFBL5xO+FUvnuU
+=Oxhe
+-----END PGP SIGNATURE-----
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
+}