Add dev-cpp/libgnomecanvasmm
Copied from main gentoo portage tree where it was removed. Bug #808375
This commit is contained in:
parent
a86c1bfa2f
commit
ec38568dee
|
@ -0,0 +1 @@
|
|||
DIST libgnomecanvasmm-2.26.0.tar.bz2 327215 BLAKE2B 87cfc59d0825ad2b345bbeff7ba6ce74744228a359d61c8c6b86cef308827c78410b4633737ab9040f6dbdf7f37ed0ea376d28ab4194266f9c784b8b07d1f76d SHA512 23795c856674b79f82d2e5cffdfdbf67a387fe6a21081fef1d96d0f614a121710c7f1e175612a286f5946a60cea4e8506aef7833a7bdf73084d6266c09aad66b
|
|
@ -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 \
|
|
@ -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
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>nedko@nedk.org</email>
|
||||
<name>Nedko Arnaudov</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
Loading…
Reference in New Issue