diff options
author | John N. Laliberte <allanonjl@gentoo.org> | 2006-09-11 15:35:59 +0000 |
---|---|---|
committer | John N. Laliberte <allanonjl@gentoo.org> | 2006-09-11 15:35:59 +0000 |
commit | c580ff340c5bd88bf0fbfb5eb9d2f4979f7ebeac (patch) | |
tree | 01f51a1f9a94ab6d7b89652e6488604e51c0c4db /dev-cpp/glibmm | |
parent | Added ical USE flag for app-mobilephone/gnokii (diff) | |
download | gentoo-2-c580ff340c5bd88bf0fbfb5eb9d2f4979f7ebeac.tar.gz gentoo-2-c580ff340c5bd88bf0fbfb5eb9d2f4979f7ebeac.tar.bz2 gentoo-2-c580ff340c5bd88bf0fbfb5eb9d2f4979f7ebeac.zip |
new version. add examples useflag.
(Portage version: 2.1.1_rc1-r7)
Diffstat (limited to 'dev-cpp/glibmm')
-rw-r--r-- | dev-cpp/glibmm/ChangeLog | 8 | ||||
-rw-r--r-- | dev-cpp/glibmm/files/digest-glibmm-2.12.0 | 3 | ||||
-rw-r--r-- | dev-cpp/glibmm/glibmm-2.12.0.ebuild | 53 |
3 files changed, 63 insertions, 1 deletions
diff --git a/dev-cpp/glibmm/ChangeLog b/dev-cpp/glibmm/ChangeLog index 24bb84255bba..e0a7c0c493d5 100644 --- a/dev-cpp/glibmm/ChangeLog +++ b/dev-cpp/glibmm/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-cpp/glibmm # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/glibmm/ChangeLog,v 1.71 2006/09/07 04:21:06 dang Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/glibmm/ChangeLog,v 1.72 2006/09/11 15:35:59 allanonjl Exp $ + +*glibmm-2.12.0 (11 Sep 2006) + + 11 Sep 2006; John N. Laliberte <allanonjl@gentoo.org> + +glibmm-2.12.0.ebuild: + new version. add examples useflag. *glibmm-2.9.1 (07 Sep 2006) diff --git a/dev-cpp/glibmm/files/digest-glibmm-2.12.0 b/dev-cpp/glibmm/files/digest-glibmm-2.12.0 new file mode 100644 index 000000000000..3fcf779f22f4 --- /dev/null +++ b/dev-cpp/glibmm/files/digest-glibmm-2.12.0 @@ -0,0 +1,3 @@ +MD5 5f6c1ced9e2537f512d5b37f7f2f58ce glibmm-2.12.0.tar.bz2 2351848 +RMD160 868c3de5357a4dcb6c4088c371d999749e1d2967 glibmm-2.12.0.tar.bz2 2351848 +SHA256 0fe00e4b1799c71177f9ce426bf1abdc5680b0f735971ef02ef1d9330c9372d7 glibmm-2.12.0.tar.bz2 2351848 diff --git a/dev-cpp/glibmm/glibmm-2.12.0.ebuild b/dev-cpp/glibmm/glibmm-2.12.0.ebuild new file mode 100644 index 000000000000..07e845073f3f --- /dev/null +++ b/dev-cpp/glibmm/glibmm-2.12.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/glibmm/glibmm-2.12.0.ebuild,v 1.1 2006/09/11 15:35:59 allanonjl Exp $ + +inherit gnome2 + +DESCRIPTION="C++ interface for glib2" +HOMEPAGE="http://gtkmm.sourceforge.net/" + +LICENSE="LGPL-2.1" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc examples" + +RDEPEND=">=dev-libs/libsigc++-2.0.11 + >=dev-libs/glib-2.9" + +DEPEND="${RDEPEND} + dev-util/pkgconfig + doc? ( app-doc/doxygen )" + +DOCS="AUTHORS CHANGES ChangeLog NEWS README" + +src_unpack() { + gnome2_src_unpack + + if ! use examples; then + # don't waste time building the examples + sed -i 's/^\(SUBDIRS =.*\)examples docs\(.*\)$/\1\2/' Makefile.in || \ + die "sed Makefile.in failed" + fi + + if use doc ; then + # fix image paths + sed -i 's|../../images/||g' docs/reference/html/*.html || \ + die "sed failed" + fi +} + +src_install() { + gnome2_src_install + + rm -fr ${D}/usr/share/doc/glibmm-2.4 + if use doc ; then + # API Reference + dohtml -r docs/reference/html/* docs/images/* + fi + + if use examples; then + find examples -type d -name '.deps' -exec rm -fr {} \; 2>/dev/null + cp -R examples ${D}/usr/share/doc/${PF} + fi +} |