diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2023-12-23 10:30:58 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2023-12-23 10:30:58 +0100 |
commit | aad47812b7687fe83fae7c0d4ca9881cf632e7d0 (patch) | |
tree | 7f18374c00fa7add508cfe444d80b0e0f8aad9f6 /media-sound | |
parent | media-sound/qtractor: added github site (diff) | |
download | gentoo-aad47812b7687fe83fae7c0d4ca9881cf632e7d0.tar.gz gentoo-aad47812b7687fe83fae7c0d4ca9881cf632e7d0.tar.bz2 gentoo-aad47812b7687fe83fae7c0d4ca9881cf632e7d0.zip |
media-sound/mpc: bump 0.35
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/mpc/Manifest | 1 | ||||
-rw-r--r-- | media-sound/mpc/mpc-0.35.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/media-sound/mpc/Manifest b/media-sound/mpc/Manifest index 4fa3905b1b9d..02b310324832 100644 --- a/media-sound/mpc/Manifest +++ b/media-sound/mpc/Manifest @@ -1 +1,2 @@ DIST mpc-0.34.tar.xz 47940 BLAKE2B 709f54ceebd66f703e5b1bf6ff8deb890e484fdc29c0b2198922763e347caac89d6eec5f74101f9fa860436e7493e2b02cc6b1b26e800e783546fe5a0c6e0d8f SHA512 d43d5547134ffb24f2a2972882f6e264c1011a94d1033369d329487f59414d32d9842835afdd05da96fd8ed28f823d2ae2f46d8d8d24b68f3695badca2a9bbb2 +DIST mpc-0.35.tar.xz 49820 BLAKE2B 7e47d78b762b7334f5fec13897bdf11859310932371a55c189c4554b347f097852e5fa17be3df03d047fabcc60699a3b310d0aa395aadd96a5ebff009a2ddba0 SHA512 be7ec268432eb8e34092d025e6a40379e83d54e5f87943beeb87ed8fe9db4c5c8261b09cc3230ada28300151382f97b1c2da45f54e8aad68af9946f484d0b28b diff --git a/media-sound/mpc/mpc-0.35.ebuild b/media-sound/mpc/mpc-0.35.ebuild new file mode 100644 index 000000000000..7d7a7aa755cb --- /dev/null +++ b/media-sound/mpc/mpc-0.35.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit bash-completion-r1 meson + +DESCRIPTION="Commandline client for Music Player Daemon (media-sound/mpd)" +HOMEPAGE="https://www.musicpd.org https://github.com/MusicPlayerDaemon/mpc" +SRC_URI="https://www.musicpd.org/download/${PN}/${PV%.*}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="doc iconv test" + +BDEPEND=" + virtual/pkgconfig + doc? ( dev-python/sphinx ) + iconv? ( virtual/libiconv ) + test? ( dev-libs/check ) +" +DEPEND="media-libs/libmpdclient" +RDEPEND="${DEPEND}" + +RESTRICT="!test? ( test )" + +PATCHES=( "${FILESDIR}/${PN}-0.31-nodoc.patch" ) + +src_prepare() { + default + + # use correct docdir + sed -e "/install_dir:.*contrib/s/meson.project_name()/'${PF}'/" \ + -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=( + -Ddocumentation=$(usex doc enabled disabled) + -Diconv=$(usex iconv enabled disabled) + -Dtest=$(usex test true false) + ) + meson_src_configure +} + +src_install() { + meson_src_install + newbashcomp contrib/mpc-completion.bash mpc +} |