diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-util/synopsis | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-util/synopsis')
-rw-r--r-- | dev-util/synopsis/Manifest | 4 | ||||
-rw-r--r-- | dev-util/synopsis/files/synopsis-0.12-gcc45.patch | 17 | ||||
-rw-r--r-- | dev-util/synopsis/metadata.xml | 5 | ||||
-rw-r--r-- | dev-util/synopsis/synopsis-0.13.ebuild | 51 |
4 files changed, 77 insertions, 0 deletions
diff --git a/dev-util/synopsis/Manifest b/dev-util/synopsis/Manifest new file mode 100644 index 000000000000..b9ee6b2faad0 --- /dev/null +++ b/dev-util/synopsis/Manifest @@ -0,0 +1,4 @@ +AUX synopsis-0.12-gcc45.patch 482 BLAKE2B 4c35528e0a6265d14e7de30236d59eae363889909862aec09b03696e209863465e3bff5b608e972c060fbe3844efd904ad6d599261d713cf651c7eee3906e4cc SHA512 bccb0c6975d0763bf29f08de86349cb41aee1843e08201c7cd22455daddda1c9d419ab39ae67348d0566ae681fc1f90f777d3756b10e0fad2f72eee5fc213b9c +DIST synopsis-0.13.tar.gz 10691494 BLAKE2B 8a41505eb77a64bb94b5794fc2a1161e8a23f2e2b3bbf9cebd8216e026a20a56f5036585cc9fc457a6bde980e891861dbf2beffa40ad55ead4e31aa2bb7379e7 SHA512 cdd84f4b9fc8a7b0edaa017e7a332bba06cd4fc804c49b84b1558a84e814e3a8a4b8c5801a8eaf149e6475dbacbb879f04ade57e31d660dfac5e0c83887abd54 +EBUILD synopsis-0.13.ebuild 1229 BLAKE2B f0dd4e7fa463025d12eddd818c3b128793a2587a00010cf2b013f91dd099eaa32b3f7814fb320e9a8cf23b5fb56a2fb9adb2a6c8d52cf71282cd9a0036141ef6 SHA512 a3467acc11f424adf0e140b1541ece9c0088a507795eb65f84b2e50f2825f211c93ae12c2f73d9d890f289f635ac25bdd86fc8770ae4d37331a8667bb4a601e6 +MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 diff --git a/dev-util/synopsis/files/synopsis-0.12-gcc45.patch b/dev-util/synopsis/files/synopsis-0.12-gcc45.patch new file mode 100644 index 000000000000..ff0fe2be5da8 --- /dev/null +++ b/dev-util/synopsis/files/synopsis-0.12-gcc45.patch @@ -0,0 +1,17 @@ +Fixing build with gcc 4.5 + +http://bugs.gentoo.org/show_bug.cgi?id=318429 + +Patch written by Kacper Kowalik <xarthisius.kk@gmail.com> + +--- Synopsis/Parsers/Cxx/Types.cc ++++ Synopsis/Parsers/Cxx/Types.cc +@@ -169,7 +169,7 @@ + // Class Types::FuncPtr + // + +-FuncPtr::FuncPtr(Type::Type* ret, const Mods& premods, const Type::vector& params) ++FuncPtr::FuncPtr(Type* ret, const Mods& premods, const Type::vector& params) + : m_return(ret), m_premod(premods), m_params(params) + {} + diff --git a/dev-util/synopsis/metadata.xml b/dev-util/synopsis/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/dev-util/synopsis/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +</pkgmetadata> diff --git a/dev-util/synopsis/synopsis-0.13.ebuild b/dev-util/synopsis/synopsis-0.13.ebuild new file mode 100644 index 000000000000..ebf368135bb7 --- /dev/null +++ b/dev-util/synopsis/synopsis-0.13.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +DISTUTILS_IN_SOURCE_BUILD=1 +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 multilib toolchain-funcs + +DESCRIPTION="General source code documentation tool" +HOMEPAGE="http://synopsis.fresco.org/index.html" +SRC_URI="http://synopsis.fresco.org/download/${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +COMMON_DEPEND="dev-libs/boehm-gc" +RDEPEND="${COMMON_DEPEND} + media-gfx/graphviz" +DEPEND="${COMMON_DEPEND} + ${RDEPEND} + sys-devel/bison + sys-devel/flex + virtual/pkgconfig" + +PATCHES=( "${FILESDIR}"/${PN}-0.12-gcc45.patch ) + +pkg_setup() { + tc-export CC CXX +} + +python_prepare() { + rm -r src/Synopsis/gc || die "failed to remove bundled lib" + + # the distutils script passes its options to a number of + # autoconf scripts, to not all of which these options are + # relevant. adding this option disables these useless warnings. + sed -e "/self.announce(command)/i\ command += ' --disable-option-checking'" \ + -i Synopsis/dist/command/config.py || die +} + +python_configure() { + local mydistutilsargs=( + config + --libdir=/usr/$(get_libdir) + --with-gc-prefix=/usr + ) + esetup.py +} |