aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakuya Wakazono <pastalian46@gmail.com>2024-10-15 23:52:49 +0900
committerTakuya Wakazono <pastalian46@gmail.com>2024-10-15 23:52:49 +0900
commitf869b70d0156091ce1358f3a0e4e20fedb0169e4 (patch)
treea8801a2dad694322aae60de1cb9649214d23b19d
parentgui-apps/nwg-panel: add 0.9.44 (diff)
downloadguru-f869b70d0156091ce1358f3a0e4e20fedb0169e4.tar.gz
guru-f869b70d0156091ce1358f3a0e4e20fedb0169e4.tar.bz2
guru-f869b70d0156091ce1358f3a0e4e20fedb0169e4.zip
dev-libs/libdatrie: add USE=doc
Closes: https://bugs.gentoo.org/807909 Closes: https://bugs.gentoo.org/839861 Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
-rw-r--r--dev-libs/libdatrie/libdatrie-0.2.13-r1.ebuild (renamed from dev-libs/libdatrie/libdatrie-0.2.13.ebuild)31
1 files changed, 17 insertions, 14 deletions
diff --git a/dev-libs/libdatrie/libdatrie-0.2.13.ebuild b/dev-libs/libdatrie/libdatrie-0.2.13-r1.ebuild
index fafa5f485..71339777c 100644
--- a/dev-libs/libdatrie/libdatrie-0.2.13.ebuild
+++ b/dev-libs/libdatrie/libdatrie-0.2.13-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit autotools
@@ -16,23 +16,26 @@ else
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
fi
-LICENSE="LGPL-2.1"
+LICENSE="LGPL-2.1+"
SLOT="0"
+IUSE="doc"
-DEPEND="${RDEPEND}"
-BDEPEND="dev-vcs/git"
+BDEPEND="doc? ( app-text/doxygen )"
src_prepare() {
default
# Fixed version if in non git project
echo ${PV} > VERSION
- # From upstreams autogen.sh, to make it utilize the autotools eclass
- # Here translate the autogen.sh, equivalent to the following code
- # > sh autogen.sh
- eautoheader
- _elibtoolize --force
- eaclocal
- eautomake --add-missing
- # Not allow git-version-gen does refresh
- eautoconf
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable doc doxygen-doc) \
+ --with-html-docdir="${EPREFIX}"/usr/share/doc/${PF}/html
+}
+
+src_install() {
+ default
+ find "${ED}" -name '*.la' -delete || die
}