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/source-highlight | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-util/source-highlight')
-rw-r--r-- | dev-util/source-highlight/Manifest | 5 | ||||
-rw-r--r-- | dev-util/source-highlight/metadata.xml | 8 | ||||
-rw-r--r-- | dev-util/source-highlight/source-highlight-3.1.7-r2.ebuild | 43 | ||||
-rw-r--r-- | dev-util/source-highlight/source-highlight-3.1.8.ebuild | 47 |
4 files changed, 103 insertions, 0 deletions
diff --git a/dev-util/source-highlight/Manifest b/dev-util/source-highlight/Manifest new file mode 100644 index 000000000000..73a9bd84a982 --- /dev/null +++ b/dev-util/source-highlight/Manifest @@ -0,0 +1,5 @@ +DIST source-highlight-3.1.7.tar.gz 1600692 BLAKE2B dbd740c79e4368bab6e7207a81e037f3fdf9f4ac5373113aac15acd7c18383cebcc8cadb91f59aa01b5bf30d3240b4510ae8d3af765b6ca579859367aa7e4ea4 SHA512 4a1e733bd06468e6ebd023dfe4a62d7134c35aac311509a61e8d80de35ff3cea25fb79adb56bfe413ee214bbf4d578b4d4ebdcf1236481d9b83152aff6d7afb8 +DIST source-highlight-3.1.8.tar.gz 1648351 BLAKE2B 1ce1590c86f7aed9d27bb21bce6b0869828b28068d71404410e080b85f6354eb6f520cec8c81d1e9170dd90b158dc4536e5287a04bf2d271fa26354fb853ea32 SHA512 00a49ab180460750614b38be9a569478d1d34d01f601ebc7452a4fee8475a19faf9bb9fb2f256c6b40d43fbc3d34962a77ba8b9833483345c4e4a42faad6976c +EBUILD source-highlight-3.1.7-r2.ebuild 1156 BLAKE2B 148dacff17f075819620fe984b8671e2ef11997e496fdc3337ca0a5cab19d248bcdcc8d754b4bc547dfabfe63edec885738ba76561318798330876d21de7f8a8 SHA512 362e3904871945ffee6096e708ee85ae0e7edb749e1755abd260e8e2ca63587d312c4ed271ae61549b55391bcee543a110eb140eb2614ec754c8d9b053b06075 +EBUILD source-highlight-3.1.8.ebuild 1266 BLAKE2B d0dfde08f934d821f150d2c9a366b2e73974901ba3b2a944b58b99545b4085e88d2d1d209d4f34e21b61376e1150fa1f31696b7dd6facc5b25e6987598566244 SHA512 4ad82b888406c56e9ba7b882671785a7b9073d24dc21d4f299c83ee32c206b8ddab01ee0de5d4663829456560157c12e13b75564ad0782f9aa7a50b830198eb8 +MISC metadata.xml 250 BLAKE2B 50c4b89c67107f8c4eba77c3b35992d381dfc6a30f5e8fb7c696f6b2cde6b7b1f90566a99ceba3df17485a88283059ef51010414e8df6c72d9e7b8c7f9ff0e27 SHA512 a57d332a86b16f67fe2896c47c6cc9ba57f602b65943080289c816a9d0f70b779f61cde882034cc1c2adda79208865dae0bf43d95deea4556e840b785e062343 diff --git a/dev-util/source-highlight/metadata.xml b/dev-util/source-highlight/metadata.xml new file mode 100644 index 000000000000..5c23291b5215 --- /dev/null +++ b/dev-util/source-highlight/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>dev-zero@gentoo.org</email> + <name>Tiziano Müller</name> + </maintainer> +</pkgmetadata> diff --git a/dev-util/source-highlight/source-highlight-3.1.7-r2.ebuild b/dev-util/source-highlight/source-highlight-3.1.7-r2.ebuild new file mode 100644 index 000000000000..11686c55373a --- /dev/null +++ b/dev-util/source-highlight/source-highlight-3.1.7-r2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit bash-completion-r1 versionator + +DESCRIPTION="Generate highlighted source code as an (x)html document" +HOMEPAGE="https://www.gnu.org/software/src-highlite/source-highlight.html" +SRC_URI="mirror://gnu/src-highlite/${P}.tar.gz" +LICENSE="GPL-3" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris" +SLOT="0" +IUSE="doc static-libs" + +DEPEND=">=dev-libs/boost-1.52.0-r1[threads] + dev-util/ctags" +RDEPEND="${DEPEND}" + +src_configure() { + econf \ + --with-boost-regex="boost_regex" \ + --without-bash-completion \ + $(use_enable static-libs static) +} + +src_install () { + DOCS="AUTHORS ChangeLog CREDITS NEWS README THANKS TODO.txt" + default + + use static-libs || rm -rf "${D}"/usr/lib*/*.la + + dobashcomp completion/source-highlight + + # That's not how we want it + rm -fr "${ED}/usr/share"/{aclocal,doc} + use doc && dohtml -A java doc/*.{html,css,java} +} + +src_test() { + export LD_LIBRARY_PATH="${S}/lib/srchilite/.libs/" + default +} diff --git a/dev-util/source-highlight/source-highlight-3.1.8.ebuild b/dev-util/source-highlight/source-highlight-3.1.8.ebuild new file mode 100644 index 000000000000..7fc2f8c4df1a --- /dev/null +++ b/dev-util/source-highlight/source-highlight-3.1.8.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit bash-completion-r1 flag-o-matic + +DESCRIPTION="Generate highlighted source code as an (x)html document" +HOMEPAGE="https://www.gnu.org/software/src-highlite/source-highlight.html" +SRC_URI="mirror://gnu/src-highlite/${P}.tar.gz" +LICENSE="GPL-3" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris" +SLOT="0" +IUSE="doc static-libs" + +RDEPEND=">=dev-libs/boost-1.62.0:=[threads] + dev-util/ctags" +DEPEND="${RDEPEND}" + +src_configure() { + # required as rev-dep of dev-libs/boost-1.62.0 + # https://wiki.gentoo.org/wiki/Project:C%2B%2B/Maintaining_ABI + append-cxxflags -std=c++14 + + econf \ + --with-boost-regex="boost_regex" \ + --without-bash-completion \ + $(use_enable static-libs static) +} + +src_install () { + use doc && local HTML_DOCS=( doc/*.{html,css,java} ) + default + + # That's not how we want it + rm -rf "${ED%/}"/usr/share/{aclocal,doc} || die + + # package provides .pc file + find "${D}" -name '*.la' -delete || die + + dobashcomp completion/source-highlight +} + +src_test() { + export LD_LIBRARY_PATH="${S}/lib/srchilite/.libs/" + default +} |