forked from hasufell/hasufell-repository
Merge remote-tracking branch 'tgurr/universal-ctags'
This commit is contained in:
commit
1ec56f1125
@ -3,7 +3,6 @@
|
|||||||
dev-lang/fsharp[~scm]
|
dev-lang/fsharp[~scm]
|
||||||
dev-lang/fstar[~scm]
|
dev-lang/fstar[~scm]
|
||||||
dev-python/pytype[~scm]
|
dev-python/pytype[~scm]
|
||||||
dev-util/universal-ctags[~scm]
|
|
||||||
games-emulation/gambatte[~scm]
|
games-emulation/gambatte[~scm]
|
||||||
games-engines/OpenJK[~scm]
|
games-engines/OpenJK[~scm]
|
||||||
games-engines/flare[~scm]
|
games-engines/flare[~scm]
|
||||||
|
@ -1,51 +0,0 @@
|
|||||||
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
require alternatives github [ user='universal-ctags' pn='ctags' ]
|
|
||||||
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.16 ] ]
|
|
||||||
|
|
||||||
SUMMARY="Universal ctags"
|
|
||||||
|
|
||||||
LICENCES="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
PLATFORMS="~amd64 ~x86"
|
|
||||||
MYOPTIONS="
|
|
||||||
json [[ description = [ Add support for JSON format as output ] ]]
|
|
||||||
seccomp [[ description = [ Add support for libseccomp library ] ]]
|
|
||||||
xml
|
|
||||||
yaml [[ description = [ Add support for YAML format as output ] ]]
|
|
||||||
"
|
|
||||||
|
|
||||||
DEPENDENCIES="
|
|
||||||
build+run:
|
|
||||||
json? ( dev-libs/jansson )
|
|
||||||
seccomp? ( sys-libs/libseccomp )
|
|
||||||
xml? ( dev-libs/libxml2:2.0[>=2.7.7] )
|
|
||||||
yaml? ( dev-libs/libyaml )
|
|
||||||
build:
|
|
||||||
dev-python/docutils
|
|
||||||
virtual/pkg-config
|
|
||||||
"
|
|
||||||
|
|
||||||
# input-encoding-option and output-encoding-option fail as of 20-03-2020
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=(
|
|
||||||
'json'
|
|
||||||
'seccomp'
|
|
||||||
'xml'
|
|
||||||
'yaml'
|
|
||||||
)
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
|
|
||||||
# alternatives collision
|
|
||||||
edo mv "${IMAGE}"/usr/$(exhost --target)/bin/{ctags,universal-ctags}
|
|
||||||
edo mv "${IMAGE}"/usr/share/man/man1/{ctags,universal-ctags}.1
|
|
||||||
|
|
||||||
alternatives_for ctags universal-ctags 500 \
|
|
||||||
/usr/$(exhost --target)/bin/ctags universal-ctags \
|
|
||||||
/usr/share/man/man1/ctags.1 universal-ctags.1
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user