mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
community/mpc: use py3-sphinx to build docs
This commit is contained in:
parent
65b30edae8
commit
09a707f9ae
@ -7,9 +7,11 @@ pkgdesc="Minimalist command line interface to MPD"
|
||||
url="https://www.musicpd.org/clients/mpc/"
|
||||
arch="all"
|
||||
license="GPL-2.0-or-later"
|
||||
makedepends="libmpdclient-dev py-sphinx meson check-dev"
|
||||
makedepends="libmpdclient-dev py3-sphinx meson check-dev"
|
||||
subpackages="$pkgname-bash-completion:bashcomp:noarch $pkgname-doc"
|
||||
source="https://www.musicpd.org/download/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
|
||||
source="https://www.musicpd.org/download/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
|
||||
doc-py3.patch
|
||||
"
|
||||
|
||||
build() {
|
||||
meson \
|
||||
@ -41,4 +43,5 @@ bashcomp() {
|
||||
"$subpkgdir"/usr/share/bash-completion/completions/$pkgname
|
||||
}
|
||||
|
||||
sha512sums="1913249da8b29123005a9877ff2e68f9469f8fd48f5411ea0e651255c93fbe14ef6029dadc7d256a99b566085dc19f4c62bdcf55260b27de3d088b8e9c17fcde mpc-0.32.tar.xz"
|
||||
sha512sums="1913249da8b29123005a9877ff2e68f9469f8fd48f5411ea0e651255c93fbe14ef6029dadc7d256a99b566085dc19f4c62bdcf55260b27de3d088b8e9c17fcde mpc-0.32.tar.xz
|
||||
7be9a58480b5b7b78e411272aa1ccc996e3c837b954c14cfed9cbed31897ae0c34afc4fad5e7dc7ad194dc6e24cebcff7e063610db73f94327de4c9656a946c5 doc-py3.patch"
|
||||
|
||||
14
community/mpc/doc-py3.patch
Normal file
14
community/mpc/doc-py3.patch
Normal file
@ -0,0 +1,14 @@
|
||||
diff --git a/meson.build b/meson.build
|
||||
index d919bc3..3390fb5 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -126,7 +126,7 @@ endif
|
||||
|
||||
with_documentation = get_option('documentation')
|
||||
if not with_documentation.disabled()
|
||||
- sphinx = find_program('sphinx-build', required: with_documentation)
|
||||
+ sphinx = find_program('sphinx-build-3', required: with_documentation)
|
||||
if sphinx.found()
|
||||
subdir('doc')
|
||||
endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user