diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-07-22 17:27:36 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-07-22 20:24:49 -0300 |
commit | fbd4af73cc9349387729ffdd375f4262268939a6 (patch) | |
tree | bb39093cf8303acc7f5c3335082d30bfb597c835 /community/ncmpc | |
parent | 09a707f9ae93da7a9e6c3ce63fa7fbfc5a4e685c (diff) | |
download | aports-fbd4af73cc9349387729ffdd375f4262268939a6.tar.bz2 aports-fbd4af73cc9349387729ffdd375f4262268939a6.tar.xz |
community/ncmpc: use py3-sphinx to build docs
Diffstat (limited to 'community/ncmpc')
-rw-r--r-- | community/ncmpc/APKBUILD | 13 | ||||
-rw-r--r-- | community/ncmpc/doc-py3.patch | 11 |
2 files changed, 17 insertions, 7 deletions
diff --git a/community/ncmpc/APKBUILD b/community/ncmpc/APKBUILD index 72df59e33d..797fc2432c 100644 --- a/community/ncmpc/APKBUILD +++ b/community/ncmpc/APKBUILD @@ -8,13 +8,13 @@ pkgdesc="Ncurses client for the Music Player Daemon (MPD)" url="https://www.musicpd.org/clients/ncmpc" arch="all" license="GPL-2.0-or-later" -makedepends="glib-dev libmpdclient-dev meson ncurses-dev py-sphinx boost-dev" +makedepends="glib-dev libmpdclient-dev meson ncurses-dev py3-sphinx boost-dev" subpackages="$pkgname-doc $pkgname-lang $pkgname-dbg" -source="https://www.musicpd.org/download/$pkgname/0/$pkgname-$pkgver.tar.xz" -builddir="$srcdir/$pkgname-$pkgver" +source="https://www.musicpd.org/download/$pkgname/0/$pkgname-$pkgver.tar.xz + doc-py3.patch + " build() { - cd "$builddir" LDFLAGS="$LDFLAGS -lintl" meson \ --prefix=/usr \ --sysconfdir=/etc \ @@ -29,12 +29,10 @@ build() { } check() { - cd "$builddir" ./output/ncmpc --help > /dev/null } package() { - cd "$builddir" DESTDIR="$pkgdir" ninja -C output install mkdir -p "$pkgdir"/usr/share/$pkgname/lyrics @@ -45,4 +43,5 @@ package() { rm -rf "$pkgdir"/usr/share/doc/$pkgname/html } -sha512sums="e206cc2d61799a97edf1182de4cee1c0fa447bd1fac136dc48670cb624a7efc903c693b0c541fbc00fcb94e055c83be1ca6370386c99131a1b571f47b67c35f4 ncmpc-0.34.tar.xz" +sha512sums="e206cc2d61799a97edf1182de4cee1c0fa447bd1fac136dc48670cb624a7efc903c693b0c541fbc00fcb94e055c83be1ca6370386c99131a1b571f47b67c35f4 ncmpc-0.34.tar.xz +de2f4ed40c72047e535b97a7a4ae57d36e15bab167a1724e636628e1a55134c128e1e13d5bc12d3223d095f8d91e966aa660af70004312b58e6d040b8914ba8e doc-py3.patch" diff --git a/community/ncmpc/doc-py3.patch b/community/ncmpc/doc-py3.patch new file mode 100644 index 0000000000..7270931e38 --- /dev/null +++ b/community/ncmpc/doc-py3.patch @@ -0,0 +1,11 @@ +diff --git a/doc/meson.build b/doc/meson.build +index f4b491d..2eec1e5 100644 +--- a/doc/meson.build ++++ b/doc/meson.build +@@ -1,4 +1,4 @@ +-sphinx = find_program('sphinx-build', required: get_option('documentation')) ++sphinx = find_program('sphinx-build-3', required: get_option('documentation')) + if not sphinx.found() + subdir_done() + endif + |