+++ /dev/null
-From 821acdad907d1558c570bca6e2ac63d55905f363 Mon Sep 17 00:00:00 2001
-From: kaliko <kaliko@azylum.org>
-Date: Mon, 10 Dec 2018 13:46:42 +0100
-Subject: [PATCH] Fixed manual install dir
-
----
- doc/meson.build | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/doc/meson.build b/doc/meson.build
-index aadea58..f4b491d 100644
---- a/doc/meson.build
-+++ b/doc/meson.build
-@@ -30,9 +30,9 @@ endif
- if get_option('manual')
- custom_target(
- 'Manpage documentation',
-- output: 'man',
-+ output: 'man1',
- input: ['index.rst', 'conf.py'],
-- command: [sphinx, '-q', '-b', 'man', '-d', '@OUTDIR@/man_doctrees', meson.current_source_dir(), '@OUTPUT@/man1'],
-+ command: [sphinx, '-q', '-b', 'man', '-d', '@OUTDIR@/man_doctrees', meson.current_source_dir(), '@OUTPUT@'],
- build_by_default: true,
- install: true,
- install_dir: get_option('mandir'),
+++ /dev/null
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit meson
-
-DESCRIPTION="Ncurses client for the Music Player Daemon (MPD)"
-HOMEPAGE="https://www.musicpd.org/clients/ncmpc/ https://github.com/MusicPlayerDaemon/ncmpc"
-SRC_URI="https://www.musicpd.org/download/${PN}/${PV%.*}/${P}.tar.xz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ~hppa ppc ppc64 ~sparc x86"
-IUSE="async-connect chat-screen doc +help-screen key-screen +library-screen lirc lyrics-screen +mouse nls outputs-screen pcre search-screen +song-screen"
-
-BDEPEND="
- virtual/pkgconfig
- doc? ( dev-python/sphinx )
-"
-RDEPEND="
- >=media-libs/libmpdclient-2.9
- sys-libs/ncurses:0=[unicode]
- lirc? ( app-misc/lirc )
- pcre? ( dev-libs/libpcre )
-"
-DEPEND="${RDEPEND}
- >=dev-libs/boost-1.62
-"
-
-PATCHES=( "${FILESDIR}/${P}-mandir.patch" )
-
-src_prepare() {
- default
-
- # use correct docdir and don't install license file
- sed -e "/^docdir =/s/meson.project_name()/'${PF}'/" \
- -e "s/'COPYING', //" \
- -i meson.build || die
-
- # use correct (html) docdir
- sed -e "/install_dir:.*doc/s/meson.project_name()/'${PF}'/" \
- -i doc/meson.build || die
-}
-
-src_configure() {
- local emesonargs=(
- -Dcurses=ncursesw
- -Dcolors=true
- -Dmini=false
- -Dlyrics_plugin_dir="${EPREFIX}/usr/$(get_libdir)/ncmpc/lyrics"
- -Dasync_connect=$(usex async-connect true false)
- -Dchat_screen=$(usex chat-screen true false)
- -Ddocumentation=$(usex doc enabled disabled)
- -Dhelp_screen=$(usex help-screen true false)
- -Dkey_screen=$(usex key-screen true false)
- -Dlibrary_screen=$(usex library-screen true false)
- -Dlirc=$(usex lirc enabled disabled)
- -Dlocale=$(usex nls enabled disabled)
- -Dlyrics_screen=$(usex lyrics-screen true false)
- -Dmouse=$(usex mouse enabled disabled)
- -Dmultibyte=$(usex nls true false)
- -Dnls=$(usex nls enabled disabled)
- -Doutputs_screen=$(usex outputs-screen true false)
- -Dregex=$(usex pcre enabled disabled)
- -Dsearch_screen=$(usex search-screen true false)
- -Dsong_screen=$(usex song-screen true false)
- )
-
- meson_src_configure
-}