summaryrefslogtreecommitdiff
path: root/dev-util/source-highlight/source-highlight-3.1.9.ebuild
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2021-06-18 21:16:35 +0200
committerDavid Seifert <soap@gentoo.org>2021-06-18 21:16:35 +0200
commit1323921e80f838b2e5d25d79faf5ec61b3f26bd4 (patch)
tree452c6f605199669d0a0d8440b3f1245be83aa693 /dev-util/source-highlight/source-highlight-3.1.9.ebuild
parent6c00c5bb3c94a357453ab4c24e1150eceed08890 (diff)
downloadgentoo-1323921e80f838b2e5d25d79faf5ec61b3f26bd4.tar.gz
gentoo-1323921e80f838b2e5d25d79faf5ec61b3f26bd4.tar.bz2
gentoo-1323921e80f838b2e5d25d79faf5ec61b3f26bd4.zip
dev-util/source-highlight: Depend on dev-libs/boost:=[threads(+)]
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-util/source-highlight/source-highlight-3.1.9.ebuild')
-rw-r--r--dev-util/source-highlight/source-highlight-3.1.9.ebuild56
1 files changed, 0 insertions, 56 deletions
diff --git a/dev-util/source-highlight/source-highlight-3.1.9.ebuild b/dev-util/source-highlight/source-highlight-3.1.9.ebuild
deleted file mode 100644
index 9335feb8ec5c..000000000000
--- a/dev-util/source-highlight/source-highlight-3.1.9.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-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 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris"
-SLOT="0"
-IUSE="doc static-libs"
-
-RDEPEND=">=dev-libs/boost-1.62.0:=[threads]
- dev-util/ctags"
-DEPEND="${RDEPEND}"
-BDEPEND=""
-
-PATCHES=(
- "${FILESDIR}"/${PN}-3.1.9-test-clang-p1.patch
- "${FILESDIR}"/${PN}-3.1.9-test-clang-p2.patch
-)
-
-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="${EPREFIX}/usr" \
- --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/"
- # upstream uses the same temporary filenames in numerous places
- # see https://bugs.gentoo.org/635100
- emake -j1 check
-}