summaryrefslogtreecommitdiff
path: root/app-text/rarian
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-text/rarian
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-text/rarian')
-rw-r--r--app-text/rarian/Manifest4
-rw-r--r--app-text/rarian/metadata.xml8
-rw-r--r--app-text/rarian/rarian-0.8.1-r3.ebuild65
3 files changed, 77 insertions, 0 deletions
diff --git a/app-text/rarian/Manifest b/app-text/rarian/Manifest
new file mode 100644
index 000000000000..c7894901a087
--- /dev/null
+++ b/app-text/rarian/Manifest
@@ -0,0 +1,4 @@
+DIST rarian-0.8.1-r3-patches.tar.xz 33508 BLAKE2B 772f2e2ff45b707e45da16103da665c54655dae0b904db5240964a25591f5871fb28c37e42a99cb98c760a214e6b039af12015bffb9b51ccb50e6bb054d3effa SHA512 a6a258803ce165854047aacd1ffef32d8d5c271cad3e6b74fb3c694ca6a0de9a8f253c89f9ff53279e7228ae401fad06721f10a6374a03a51bad76b2ef969000
+DIST rarian-0.8.1.tar.gz 459461 BLAKE2B 7589633a3abc188a7e83adede964b4d293984ad9c896e5c8116775905dfc3acc3b0cfbbee574b26d1c3966501f8b42e61df9910c840c58bfcd0b41d065a30c26 SHA512 ddc640e1ac210e9dc3fcdde6bbff6e21dabe97b160b531cac68d47d1b831dec71b7c4aced9819cfafd8f89f290920c4e33550b8e29d9872a1c1a202d6fe8e3eb
+EBUILD rarian-0.8.1-r3.ebuild 1837 BLAKE2B 9469bc44dc063490380b3ca8ae45e5182890f83336ad1f75e4605d87b2f1c9bc048709a88597e5acdc99663894fc87746c7bcf0cad35f073fbb5c8fbe0f0975c SHA512 d07b0d20dcc2b17f8b24e60692f9fcb096287b1b086d22dbdf412de02883688de6054b2940cce4ba1a37bfb20b9259531b3dc7f50e524f081b5a2a058c773781
+MISC metadata.xml 249 BLAKE2B e71e1b95fee768c696704acbf7e3cf0e599ed2bc8de92bae0141d1194ef9e842bdc292798904487a9b90ddfda9b0e84abd3b76b1518576c1d288240e4e46f110 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506
diff --git a/app-text/rarian/metadata.xml b/app-text/rarian/metadata.xml
new file mode 100644
index 000000000000..39980802b1da
--- /dev/null
+++ b/app-text/rarian/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-text/rarian/rarian-0.8.1-r3.ebuild b/app-text/rarian/rarian-0.8.1-r3.ebuild
new file mode 100644
index 000000000000..f620a54c2025
--- /dev/null
+++ b/app-text/rarian/rarian-0.8.1-r3.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools eutils
+
+DESCRIPTION="A documentation metadata library"
+HOMEPAGE="https://rarian.freedesktop.org/"
+SRC_URI="https://${PN}.freedesktop.org/Releases/${P}.tar.gz
+ https://dev.gentoo.org/~eva/distfiles/${PN}/${P}-r3-patches.tar.xz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE="static-libs"
+
+RDEPEND="
+ dev-libs/libxslt
+ dev-libs/tinyxml
+ || (
+ sys-apps/util-linux
+ app-misc/getopt )
+"
+DEPEND="${RDEPEND}
+ !<app-text/scrollkeeper-9999
+"
+
+DOCS=( ChangeLog NEWS README )
+
+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
+)
+
+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 \
+ $(use_enable static-libs static) \
+ ${myconf[@]}
+}
+
+src_install() {
+ default
+ prune_libtool_files --all
+}