mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
dev-util/devhelp: Drop old versions
Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST devhelp-40.1.tar.xz 318172 BLAKE2B 83f71b66538b700790961e3dd3c7c7a75199f499a1fb32eb01e62fd5d11e72ae4e860bcfab2615bd4d417d5c57b89dad7eb2f1de4930e39e544d42b57a193b97 SHA512 4c541db9a2222dce4064f401c1d0a9f3233e2dbab17206358dfcce360286f69698248d08172fb236a692b125d8cd3a5bb76b6377b01b52c3d096fa4528400acd
|
||||
DIST devhelp-41.2.tar.xz 1455736 BLAKE2B c531af6cded6c9624581e4d14fb4d7713afbdcf173ec2a82e49789af1752568790dc346cc0293eddc68c0943fec4f742de726953de34441771711a938ba858fa SHA512 99a75ff19bf1b4613c312921452f190334e3e2036c28cda070169e3d1d352a5d2e7a56a393326efd679076257412e281dc94b628429119fcad58060d1a88ea98
|
||||
|
||||
@@ -1,82 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit gnome.org gnome2-utils meson python-single-r1 xdg
|
||||
|
||||
DESCRIPTION="An API documentation browser for GNOME"
|
||||
HOMEPAGE="https://wiki.gnome.org/Apps/Devhelp"
|
||||
|
||||
LICENSE="GPL-3+ CC-BY-SA-4.0"
|
||||
SLOT="0/3-6" # subslot = 3-(libdevhelp-3 soname version)
|
||||
KEYWORDS="amd64 ~arm ~ppc64 ~sparc x86"
|
||||
IUSE="+gedit gtk-doc +introspection"
|
||||
REQUIRED_USE="gedit? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
DEPEND="
|
||||
>=dev-libs/glib-2.64:2
|
||||
>=x11-libs/gtk+-3.22:3[introspection?]
|
||||
>=net-libs/webkit-gtk-2.26:4[introspection?]
|
||||
>=gui-libs/amtk-5.0:5
|
||||
gnome-base/gsettings-desktop-schemas
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.54:= )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
gedit? (
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep '
|
||||
app-editors/gedit[introspection(+),python,${PYTHON_SINGLE_USEDEP}]
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
')
|
||||
)
|
||||
"
|
||||
# libxml2 required for glib-compile-resources
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
dev-libs/libxml2:2
|
||||
dev-util/glib-utils
|
||||
dev-util/itstool
|
||||
gtk-doc? (
|
||||
>=dev-util/gtk-doc-1.25
|
||||
app-text/docbook-xml-dtd:4.3
|
||||
)
|
||||
>=sys-devel/gettext-0.19.8
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/40.0-optional-introspection.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
use gedit && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Dflatpak_build=false
|
||||
$(meson_use gtk-doc gtk_doc)
|
||||
$(meson_use introspection)
|
||||
-Dplugin_emacs=true
|
||||
$(meson_use gedit plugin_gedit)
|
||||
-Dplugin_vim=true
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
use gedit && python_optimize "${ED}"/usr/$(get_libdir)/gedit/plugins
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_schemas_update
|
||||
}
|
||||
Reference in New Issue
Block a user