mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-25 07:08:13 -07:00
app-office/gnumeric: add 1.12.61
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST gnumeric-1.12.59.tar.xz 17773992 BLAKE2B be227ae70e4861ab1a7a1864ebcb57eed7f99052756f56cf29825a98682933f9ec7bbecd68e933043665065865466881ca1431b5e8b3b6a216461cc5e6495388 SHA512 51b4fc23166d75788bcb86260c5e17fa4bb48f8920a0f9bc001609417be75f707650f057c58d480e9ded1dc8460407629329c19154c65d273a6edc7682d3428f
|
||||
DIST gnumeric-1.12.60.tar.xz 17794296 BLAKE2B e3310dc02bb2bc0f111e003c3ff3ad455cac7ca6c4021bf46adf603a35a6ee35f47452ad869af533f715c5f12fc1c95a6c3377b6fb45e5017e6b3be4067a239f SHA512 43529ca05411cba02b052754cd15bbe84b5205e58ebb7dc5e7c07131600842e523a108f509020845f036f27b0d78eb9df6db970dfeb21285dc7e5fd8171fea56
|
||||
DIST gnumeric-1.12.61.tar.xz 17921384 BLAKE2B b0c07157d961e1b9d6636dd06b03aea922002257471799332a202f4a5b7543c5b6316d4a2d52e68b795c15189607da0b1777c6904fa327e0dcb6496164fbc50c SHA512 67a351fa850333743606ea77a2b4439b8932c51704c2d625a333a79ed1dcf40ac027259f76538136e3167dcadde59430552f7d455d3052cc420bbbe83ad001e3
|
||||
|
||||
93
app-office/gnumeric/gnumeric-1.12.61.ebuild
Normal file
93
app-office/gnumeric/gnumeric-1.12.61.ebuild
Normal file
@@ -0,0 +1,93 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit gnome.org libtool python-r1 xdg
|
||||
|
||||
DESCRIPTION="The GNOME Spreadsheet"
|
||||
HOMEPAGE="http://www.gnumeric.org/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
IUSE="+introspection libgda perl"
|
||||
REQUIRED_USE="introspection? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
# Missing gnome-extra/libgnomedb required version in tree
|
||||
# but its upstream is dead and will be dropped soon.
|
||||
|
||||
# lots of missing files, also fails tests due to 80-bit long story
|
||||
# upstream bug #721556
|
||||
RESTRICT="test"
|
||||
|
||||
# Gnumeric has two python components
|
||||
# 1. The python loader for loading python-based plugins.
|
||||
# This component is pure python 2 and a port "is not currently being worked on".
|
||||
# 2. The python gobject-based introspection API. This component is compatible
|
||||
# with python 3.
|
||||
# Component 1. can only be re-enabled once someone has ported the upstream
|
||||
# codebase to python 3.
|
||||
# https://gitlab.gnome.org/GNOME/gnumeric/issues/419#note_618852
|
||||
RDEPEND="
|
||||
app-arch/bzip2
|
||||
virtual/zlib:=
|
||||
>=dev-libs/glib-2.40.0:2
|
||||
>=gnome-extra/libgsf-1.14.45:=
|
||||
>=x11-libs/goffice-0.10.61:0.10[introspection?]
|
||||
>=dev-libs/libxml2-2.4.12:2=
|
||||
>=x11-libs/pango-1.46.0:=
|
||||
|
||||
>=x11-libs/gtk+-3.20.0:3
|
||||
x11-libs/cairo:=[svg(+)]
|
||||
|
||||
introspection? (
|
||||
${PYTHON_DEPS}
|
||||
>=dev-libs/gobject-introspection-1.82.0-r2:=
|
||||
)
|
||||
perl? ( dev-lang/perl:= )
|
||||
libgda? ( gnome-extra/libgda:5[gtk] )"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
app-text/docbook-xml-dtd:4.5
|
||||
app-text/yelp-tools
|
||||
dev-build/gtk-doc-am
|
||||
>=dev-util/intltool-0.35.0
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Manage gi overrides ourselves
|
||||
sed '/SUBDIRS/ s/introspection//' -i Makefile.{am,in} || die
|
||||
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-gtk-doc \
|
||||
--disable-maintainer-mode \
|
||||
--disable-schemas-compile \
|
||||
--disable-static \
|
||||
--without-psiconv \
|
||||
--without-python \
|
||||
--with-zlib \
|
||||
$(use_with libgda gda) \
|
||||
$(use_enable introspection) \
|
||||
$(use_with perl)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc MAINTAINERS
|
||||
|
||||
if use introspection; then
|
||||
python_moduleinto gi.overrides
|
||||
python_foreach_impl python_domodule introspection/gi/overrides/Gnm.py
|
||||
fi
|
||||
|
||||
# no static archives
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
Reference in New Issue
Block a user