diff options
author | Chris Mayo <aklhfex@gmail.com> | 2018-02-28 20:22:36 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-03-04 22:29:53 +0100 |
commit | 1c89397aee8d374f895f31bc9c728c95cf3ebe85 (patch) | |
tree | ac6b7c1ca50ccdebb20017d48da5c9e0642ce6ee /dev-util/geany-plugins/geany-plugins-1.33.ebuild | |
parent | www-client/chromium: beta channel bump (65.0.3325.106) (diff) | |
download | gentoo-1c89397aee8d374f895f31bc9c728c95cf3ebe85.tar.gz gentoo-1c89397aee8d374f895f31bc9c728c95cf3ebe85.tar.bz2 gentoo-1c89397aee8d374f895f31bc9c728c95cf3ebe85.zip |
dev-util/geany-plugins: version bump to 1.33
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Closes: https://github.com/gentoo/gentoo/pull/7322
Diffstat (limited to 'dev-util/geany-plugins/geany-plugins-1.33.ebuild')
-rw-r--r-- | dev-util/geany-plugins/geany-plugins-1.33.ebuild | 136 |
1 files changed, 136 insertions, 0 deletions
diff --git a/dev-util/geany-plugins/geany-plugins-1.33.ebuild b/dev-util/geany-plugins/geany-plugins-1.33.ebuild new file mode 100644 index 000000000000..4115b2f8d7be --- /dev/null +++ b/dev-util/geany-plugins/geany-plugins-1.33.ebuild @@ -0,0 +1,136 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit python-single-r1 vala + +DESCRIPTION="A collection of different plugins for Geany" +HOMEPAGE="https://plugins.geany.org" +SRC_URI="https://plugins.geany.org/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +IUSE="gtk3 ctags debugger enchant git gpg gtkspell lua multiterm nls pretty-printer python scope soup" +REQUIRED_USE=" + gtk3? ( !debugger !multiterm !python !scope ) + python? ( ${PYTHON_REQUIRED_USE} ) +" + +COMMON_DEPEND=" + >=dev-util/geany-1.32[gtk3=] + dev-libs/glib:2 + gtk3? ( x11-libs/gtk+:3 ) + !gtk3? ( x11-libs/gtk+:2 ) + ctags? ( dev-util/ctags ) + debugger? ( x11-libs/vte:0 ) + enchant? ( app-text/enchant ) + git? ( dev-libs/libgit2:= ) + gpg? ( app-crypt/gpgme:1= ) + gtkspell? ( + gtk3? ( app-text/gtkspell:3= ) + !gtk3? ( app-text/gtkspell:2 ) + ) + lua? ( dev-lang/lua:0= ) + multiterm? ( + $(vala_depend) + >=x11-libs/vte-0.28:0 + ) + pretty-printer? ( dev-libs/libxml2:2 ) + python? ( + dev-python/pygtk[${PYTHON_USEDEP}] + ${PYTHON_DEPS} + ) + scope? ( x11-libs/vte:0 ) + soup? ( net-libs/libsoup:2.4 ) +" +RDEPEND="${COMMON_DEPEND} + scope? ( sys-devel/gdb ) +" +DEPEND="${COMMON_DEPEND} + nls? ( sys-devel/gettext ) + virtual/pkgconfig +" + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + default + + use multiterm && vala_src_prepare +} + +src_configure() { + local myeconfargs=( + --disable-cppcheck + --disable-extra-c-warnings + $(use_enable nls) + --enable-utilslib + # Plugins + --enable-addons + --enable-autoclose + --enable-automark + --enable-codenav + --enable-commander + --enable-defineformat + --enable-geanyextrasel + --enable-geanyinsertnum + --enable-geanymacro + --enable-geanyminiscript + --enable-geanynumberedbookmarks + --enable-geanyprj + --enable-geanyvc $(use_enable gtkspell) + --enable-keyrecord + --enable-latex + --enable-lineoperations + --enable-lipsum + --enable-overview + --enable-pairtaghighlighter + --enable-pohelper + --enable-projectorganizer + --enable-sendmail + --enable-shiftcolumn + --enable-tableconvert + --enable-treebrowser + --enable-workbench + --enable-xmlsnippets + $(use_enable debugger) + $(use_enable ctags geanyctags) + $(use_enable !gtk3 geanydoc) + $(use_enable lua geanylua) + $(use_enable gpg geanypg) + $(use_enable python geanypy) + $(use_enable soup geniuspaste) + $(use_enable git gitchangebar) + $(use_enable multiterm) + $(use_enable pretty-printer) + $(use_enable scope) + $(use_enable enchant spellcheck) + # Having updatechecker… when you’re using a package manager? + $(use_enable soup updatechecker) + # GeanyGenDoc requires ctpl which isn’t yet in portage + --disable-geanygendoc + # Require obsolete and vulnerable webkit-gtk versions + --disable-devhelp + --disable-markdown --disable-peg-markdown + --disable-webhelper + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + find "${D}" -name '*.la' -delete || die + + # make installs all translations if LINGUAS is empty + if [[ -z "${LINGUAS-x}" ]]; then + rm -r "${ED%/}/usr/share/locale/" || die + fi +} |