summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2022-07-01 13:02:21 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2022-07-01 13:02:21 +0200
commitdfe769d276aa9f6092ff70c146e2b848d9de9e9b (patch)
tree414a2ca65332d71f53ab946f5a34c43289953e2e /media-libs/libnjb
parentmedia-libs/libmtp: fixed doc installation path (diff)
downloadgentoo-dfe769d276aa9f6092ff70c146e2b848d9de9e9b.tar.gz
gentoo-dfe769d276aa9f6092ff70c146e2b848d9de9e9b.tar.bz2
gentoo-dfe769d276aa9f6092ff70c146e2b848d9de9e9b.zip
media-libs/libnjb: fixed doc installation path
Closes: https://bugs.gentoo.org/854813 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-libs/libnjb')
-rw-r--r--media-libs/libnjb/files/libnjb-2.2.7-fix-docdir.patch13
-rw-r--r--media-libs/libnjb/libnjb-2.2.7-r2.ebuild (renamed from media-libs/libnjb/libnjb-2.2.7-r1.ebuild)5
2 files changed, 17 insertions, 1 deletions
diff --git a/media-libs/libnjb/files/libnjb-2.2.7-fix-docdir.patch b/media-libs/libnjb/files/libnjb-2.2.7-fix-docdir.patch
new file mode 100644
index 000000000000..efa6825e7473
--- /dev/null
+++ b/media-libs/libnjb/files/libnjb-2.2.7-fix-docdir.patch
@@ -0,0 +1,13 @@
+diff --git a/doc/Makefile.in b/doc/Makefile.in
+index 5a9b1bb..3e25fb5 100644
+--- a/doc/Makefile.in
++++ b/doc/Makefile.in
+@@ -169,7 +169,7 @@ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ EXTRA_DIST = Doxyfile.in examples.h mainpage.h
+-@HAVE_DOXYGEN_TRUE@pkgdocdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
++@HAVE_DOXYGEN_TRUE@pkgdocdir = $(docdir)
+ @HAVE_DOXYGEN_TRUE@htmldocdir = $(pkgdocdir)/html
+ all: all-am
+
diff --git a/media-libs/libnjb/libnjb-2.2.7-r1.ebuild b/media-libs/libnjb/libnjb-2.2.7-r2.ebuild
index 2f593d538544..5673ca924821 100644
--- a/media-libs/libnjb/libnjb-2.2.7-r1.ebuild
+++ b/media-libs/libnjb/libnjb-2.2.7-r2.ebuild
@@ -18,7 +18,10 @@ RDEPEND="virtual/libusb:0"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )"
-PATCHES=( "${FILESDIR}"/${P}-exclude-samples.patch )
+PATCHES=(
+ "${FILESDIR}"/${P}-exclude-samples.patch
+ "${FILESDIR}"/${P}-fix-docdir.patch
+)
src_prepare() {
default