Gentoo Archives: gentoo-commits

From: Oliver Freyermuth <o.freyermuth@××××××××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-video/mpv-mpris/
Date: Sat, 05 Mar 2022 23:18:30
Message-Id: 1646522303.ad592a04439e60d8b356a88b92f79578cc1077cc.freyermuth@gentoo
1 commit: ad592a04439e60d8b356a88b92f79578cc1077cc
2 Author: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
3 AuthorDate: Sat Mar 5 23:18:23 2022 +0000
4 Commit: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
5 CommitDate: Sat Mar 5 23:18:23 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ad592a04
7
8 media-video/mpv-mpris: Drop oldest version.
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com>
12
13 media-video/mpv-mpris/Manifest | 1 -
14 media-video/mpv-mpris/mpv-mpris-0.5.ebuild | 54 ------------------------------
15 2 files changed, 55 deletions(-)
16
17 diff --git a/media-video/mpv-mpris/Manifest b/media-video/mpv-mpris/Manifest
18 index e4703e19a..cee0cf89e 100644
19 --- a/media-video/mpv-mpris/Manifest
20 +++ b/media-video/mpv-mpris/Manifest
21 @@ -1,3 +1,2 @@
22 -DIST mpv-mpris-0.5.tar.gz 8559 BLAKE2B 7eef231ab3855ed3f0a708484881f1df93152d9b79be491986ed0da2cd54870101d5fd90a35d95344b886a6af930c303b3f8c0bc480b55c8799ec8b96e7acdab SHA512 9c28b4f3fdcd6bddf3824125f994807d7a31f8e7398178296dab9d4422d3cc71a0b798ae75fe68c890556c993fb04bf5d7ffa379676312840fdf219bf4a974f7
23 DIST mpv-mpris-0.6.tar.gz 8910 BLAKE2B 44888f9a0945bf850ba48a4b2a5b2d03325e05b17111a6184c3540eaf15745c7bb18006b03dd018599e017837c005bf10dafc910b3e031e440a511a5496d6ab4 SHA512 da92e4cf6541f0f18fc1c779ab87eef914e6e76a94bfe1259b323953a11654b228d02c4d352ea0c588308bedc8aa807bdaa41023917629a90d50269f454e256d
24 DIST mpv-mpris-0.7.tar.gz 12982 BLAKE2B db919cdad6528519211725694f63871e371a33a331c46eebb202fa87d452d1cf30cecf3d4c2b26cb187cfa2c4cdd53411b88e6e7855510ffbaeef28ab3eb8346 SHA512 b370c9550622302cfdd07c21ae2f03a4e66e80da02e8f38c68d447ef273ae582ad6d918e207a9fb8c917a851163c6aadc08d3d68ad8e70ec85b37732c0cac96f
25
26 diff --git a/media-video/mpv-mpris/mpv-mpris-0.5.ebuild b/media-video/mpv-mpris/mpv-mpris-0.5.ebuild
27 deleted file mode 100644
28 index 4bfc1e8b8..000000000
29 --- a/media-video/mpv-mpris/mpv-mpris-0.5.ebuild
30 +++ /dev/null
31 @@ -1,54 +0,0 @@
32 -# Copyright 1999-2021 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -inherit toolchain-funcs
38 -
39 -DESCRIPTION="MPRIS plugin for mpv"
40 -HOMEPAGE="https://github.com/hoyon/mpv-mpris"
41 -
42 -if [[ ${PV} == *9999* ]]; then
43 - inherit git-r3
44 - EGIT_REPO_URI="https://github.com/hoyon/${PN}.git"
45 -else
46 - SRC_URI="https://github.com/hoyon/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
47 - KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
48 -fi
49 -
50 -SLOT="0"
51 -LICENSE="MIT"
52 -IUSE="+autoload"
53 -
54 -BDEPEND="virtual/pkgconfig"
55 -RDEPEND="media-video/mpv:=[cplugins,libmpv]
56 - dev-libs/glib"
57 -DEPEND="${RDEPEND}"
58 -
59 -DOCS=(
60 - README.md
61 -)
62 -
63 -src_compile() {
64 - emake CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)"
65 -}
66 -
67 -src_install() {
68 - insinto "/usr/$(get_libdir)/mpv"
69 - doins mpris.so
70 - use autoload && dosym "/usr/$(get_libdir)/mpv/mpris.so" "/etc/mpv/scripts/mpris.so"
71 - einstalldocs
72 -}
73 -
74 -pkg_postinst() {
75 - if ! use autoload; then
76 - elog
77 - elog "The plugin has not been installed to /etc/mpv/scripts for autoloading."
78 - elog "You have to activate it manually by passing"
79 - elog " \"/usr/$(get_libdir)/mpv/mpris.so\" "
80 - elog "as script option to mpv or symlinking the library to \"scripts/\" in your mpv"
81 - elog "config directory."
82 - elog "Alternatively, activate the autoload use flag."
83 - elog
84 - fi
85 -}