diff --git a/dev-cpp/libgnomecanvasmm/Manifest b/dev-cpp/libgnomecanvasmm/Manifest new file mode 100644 index 0000000..fc13b24 --- /dev/null +++ b/dev-cpp/libgnomecanvasmm/Manifest @@ -0,0 +1 @@ +DIST libgnomecanvasmm-2.26.0.tar.bz2 327215 BLAKE2B 87cfc59d0825ad2b345bbeff7ba6ce74744228a359d61c8c6b86cef308827c78410b4633737ab9040f6dbdf7f37ed0ea376d28ab4194266f9c784b8b07d1f76d SHA512 23795c856674b79f82d2e5cffdfdbf67a387fe6a21081fef1d96d0f614a121710c7f1e175612a286f5946a60cea4e8506aef7833a7bdf73084d6266c09aad66b diff --git a/dev-cpp/libgnomecanvasmm/files/libgnomecanvasmm-2.26.0-disable-building-examples.patch b/dev-cpp/libgnomecanvasmm/files/libgnomecanvasmm-2.26.0-disable-building-examples.patch new file mode 100644 index 0000000..e750a35 --- /dev/null +++ b/dev-cpp/libgnomecanvasmm/files/libgnomecanvasmm-2.26.0-disable-building-examples.patch @@ -0,0 +1,13 @@ +don't waste time building the examples + +--- a/Makefile.in ++++ b/Makefile.in +@@ -195,7 +195,7 @@ + top_build_prefix = @top_build_prefix@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ +-SUBDIRS = tools libgnomecanvas docs examples demos ++SUBDIRS = tools libgnomecanvas docs demos + DIST_SUBDIRS = $(SUBDIRS) scripts + EXTRA_DIST = libgnomecanvasmm.spec.in \ + build_shared/Makefile_build.am_fragment \ diff --git a/dev-cpp/libgnomecanvasmm/libgnomecanvasmm-2.26.0-r2.ebuild b/dev-cpp/libgnomecanvasmm/libgnomecanvasmm-2.26.0-r2.ebuild new file mode 100644 index 0000000..d403ca3 --- /dev/null +++ b/dev-cpp/libgnomecanvasmm/libgnomecanvasmm-2.26.0-r2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GNOME_TARBALL_SUFFIX="bz2" + +inherit gnome2 + +DESCRIPTION="C++ bindings for libgnomecanvas" +HOMEPAGE="https://www.gtkmm.org" + +LICENSE="LGPL-2.1" +SLOT="2.6" +KEYWORDS="~alpha amd64 arm ~ia64 ppc ppc64 sparc x86" +IUSE="doc" + +RDEPEND=" + >=gnome-base/libgnomecanvas-2.6 + >=dev-cpp/gtkmm-2.4:2.4 +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + doc? ( app-doc/doxygen ) +" + +PATCHES=( "${FILESDIR}"/${P}-disable-building-examples.patch ) + +src_compile() { + gnome2_src_compile + + if use doc; then + emake -C docs/reference all + HTML_DOCS=( docs/reference/html/. ) + fi +} + +src_install() { + gnome2_src_install + + rm examples/Makefile* examples/*/Makefile* || die + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples +} diff --git a/dev-cpp/libgnomecanvasmm/metadata.xml b/dev-cpp/libgnomecanvasmm/metadata.xml new file mode 100644 index 0000000..f3a9438 --- /dev/null +++ b/dev-cpp/libgnomecanvasmm/metadata.xml @@ -0,0 +1,8 @@ + + + + + nedko@nedk.org + Nedko Arnaudov + +