diff options
author | 2022-10-02 21:56:52 +0200 | |
---|---|---|
committer | 2022-10-02 21:56:52 +0200 | |
commit | e39132661b8b4ad5bb7cc7571e2d393e5d59f9c3 (patch) | |
tree | 8288e75991acd781f51ae4a93910a899fb2423da /app-text/rarian/rarian-0.8.1-r4.ebuild | |
parent | app-text/rarian: add patch for -Wimplicit-int (diff) | |
download | gentoo-e39132661b8b4ad5bb7cc7571e2d393e5d59f9c3.tar.gz gentoo-e39132661b8b4ad5bb7cc7571e2d393e5d59f9c3.tar.bz2 gentoo-e39132661b8b4ad5bb7cc7571e2d393e5d59f9c3.zip |
app-text/rarian: update EAPI 6 -> 8
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-text/rarian/rarian-0.8.1-r4.ebuild')
-rw-r--r-- | app-text/rarian/rarian-0.8.1-r4.ebuild | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/app-text/rarian/rarian-0.8.1-r4.ebuild b/app-text/rarian/rarian-0.8.1-r4.ebuild new file mode 100644 index 000000000000..14156fe2ff4c --- /dev/null +++ b/app-text/rarian/rarian-0.8.1-r4.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="A documentation metadata library" +HOMEPAGE="https://rarian.freedesktop.org/" +SRC_URI=" + https://${PN}.freedesktop.org/Releases/${P}.tar.gz + https://dev.gentoo.org/~soap/distfiles/${P}-r4-patches.tar.xz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris ~x86-solaris" + +RDEPEND=" + dev-libs/libxslt + dev-libs/tinyxml + || ( + sys-apps/util-linux + app-misc/getopt + )" +DEPEND="${RDEPEND}" + +PATCHES=( + "${WORKDIR}"/0001-Fix-uri-of-omf-files-produced-by-rarian-sk-preinstal.patch + "${WORKDIR}"/0002-Allow-building-against-system-copy-of-tinyxml.patch + "${WORKDIR}"/0003-Allow-to-specify-only-the-prefix-of-an-info-page-e.g.patch + "${WORKDIR}"/0004-Fix-a-crash-when-opening-files-without-dots-in-their.patch + "${WORKDIR}"/0005-Make-librarian-obey-to-LC_MESSAGES.patch + "${WORKDIR}"/0006-Fix-m4-syntax-so-that-autoreconf-doesn-t-break.patch + "${WORKDIR}"/0007-Remove-the-nonexistent-dist-gzip-Automake-option.patch + "${WORKDIR}"/0008-Fix-OMF-category-parsing.patch + "${WORKDIR}"/0009-Allow-the-getopt-command-to-be-customized-at-configu.patch + "${WORKDIR}"/0010-Wimplicit-int.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myconf=() + # https://bugs.gentoo.org/show_bug.cgi?id=409811 + # https://bugs.freedesktop.org/show_bug.cgi?id=53264 + if ! has_version sys-apps/util-linux; then + myconf=( --with-getopt=getopt-long ) + fi + + econf \ + --localstatedir="${EPREFIX}"/var \ + "${myconf[@]}" +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} |