diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-12-23 13:50:55 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-12-23 13:50:55 +0000 |
commit | ed8299fef4175104e66b734cfc0482770614f398 (patch) | |
tree | d701a504c6fca51a0182f6ba21f16af855ee24b4 /media-sound/mpc | |
parent | 4035d30ea0ada73d992bb7d583c0b37a053714fe (diff) |
gentoo auto-resync : 23:12:2023 - 13:50:55
Diffstat (limited to 'media-sound/mpc')
-rw-r--r-- | media-sound/mpc/Manifest | 4 | ||||
-rw-r--r-- | media-sound/mpc/metadata.xml | 5 | ||||
-rw-r--r-- | media-sound/mpc/mpc-0.35.ebuild | 54 |
3 files changed, 61 insertions, 2 deletions
diff --git a/media-sound/mpc/Manifest b/media-sound/mpc/Manifest index cc39f8eb5dc5..cbf8437fdc4e 100644 --- a/media-sound/mpc/Manifest +++ b/media-sound/mpc/Manifest @@ -1,4 +1,6 @@ AUX mpc-0.31-nodoc.patch 403 BLAKE2B d829c6f40005531ec7657054549b5fa9acd32d15d41ca8685b4292aac804af52f2f4754b557b69663d4240e6690fe4ab19a15b72459cea321944afacf2a179f3 SHA512 2a028d57fbd76290bc300d0546b52571b6c7c29cf8d2f53cb859b5250c55ae631fe15c8589a1b11c5fef5dacff2ad8535dbfae6c8b2b72dc8a4dc795dfc658b6 DIST mpc-0.34.tar.xz 47940 BLAKE2B 709f54ceebd66f703e5b1bf6ff8deb890e484fdc29c0b2198922763e347caac89d6eec5f74101f9fa860436e7493e2b02cc6b1b26e800e783546fe5a0c6e0d8f SHA512 d43d5547134ffb24f2a2972882f6e264c1011a94d1033369d329487f59414d32d9842835afdd05da96fd8ed28f823d2ae2f46d8d8d24b68f3695badca2a9bbb2 +DIST mpc-0.35.tar.xz 49820 BLAKE2B 7e47d78b762b7334f5fec13897bdf11859310932371a55c189c4554b347f097852e5fa17be3df03d047fabcc60699a3b310d0aa395aadd96a5ebff009a2ddba0 SHA512 be7ec268432eb8e34092d025e6a40379e83d54e5f87943beeb87ed8fe9db4c5c8261b09cc3230ada28300151382f97b1c2da45f54e8aad68af9946f484d0b28b EBUILD mpc-0.34.ebuild 1250 BLAKE2B 426a4114abbe007957e13b95c12555f226b9e8c9bfb14ddc3c8e885a2f21c167cd651998b5e50836deb839b62eb77a34e61b2f64555c6cd68723d21c3f5c60fd SHA512 ad75724005a784dbdea2c6236c0c23be6645b65db43ce7ab5d286c9814ef1777402237662c9a085822a18a39eb06dcd71238f4eecc15bdde0355750607a28d66 -MISC metadata.xml 253 BLAKE2B 28ffabdefb9bd43e6269d7a64025a2fa69e2c2fe578b98092c970a155f685ef5aa7865f4984bc8001a4c3f5b35cfd8137c9a94ec461c40a3e5d14a8349720a3b SHA512 cf54ea17afbfc9172877f6c715973917f70e34e4f7dfe613efb0e0c937d34e8c4211964b52c138d19005ed54fc12c6047da15b6a82c12e94ae939284289a4dc5 +EBUILD mpc-0.35.ebuild 1255 BLAKE2B ab391c904084eb3b818ec498c167c6d2d8ce5cb09fa02be0f1ea0f0a2cb5d2576314725ad0749175db281b883bdd4199cb1c15fe221b8d6c49dcf99c657af758 SHA512 49bd57c7951f06d08b22391b918a4171fc8984b6a343d4c2bd0f121b8e98531cf9b1a9a2aaa52c021f0bbcc1ee95b979ec0547b932eee7bc8f2a26b7cafb0deb +MISC metadata.xml 340 BLAKE2B f217951a8eb47558f01ef31c2de536f130aed9181a83875d18c0019b419eb3996f209cfdd3ccfd886ca06ec22c3d1e632cb5b9eb616d79588a580f39c49eb8a2 SHA512 eb5bad9b67d231c45e2920cde7175fc7288e43895e1662a11229c161a08d7b9162299a30a4ffeb18aceb3712541bd1516404eb01c023cbf767be5d482e98222d diff --git a/media-sound/mpc/metadata.xml b/media-sound/mpc/metadata.xml index 77c7ce4130af..76093b170e90 100644 --- a/media-sound/mpc/metadata.xml +++ b/media-sound/mpc/metadata.xml @@ -1,8 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<maintainer type="project"> + <maintainer type="project"> <email>sound@gentoo.org</email> <name>Gentoo Sound project</name> </maintainer> + <upstream> + <remote-id type="github">MusicPlayerDaemon/mpc</remote-id> + </upstream> </pkgmetadata> 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 +} |