summaryrefslogtreecommitdiff
path: root/media-sound/playerctl
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/playerctl')
-rw-r--r--media-sound/playerctl/Manifest4
-rw-r--r--media-sound/playerctl/playerctl-2.3.1.ebuild (renamed from media-sound/playerctl/playerctl-2.0.1.ebuild)23
2 files changed, 17 insertions, 10 deletions
diff --git a/media-sound/playerctl/Manifest b/media-sound/playerctl/Manifest
index 18341a618ebf..068bb22d905c 100644
--- a/media-sound/playerctl/Manifest
+++ b/media-sound/playerctl/Manifest
@@ -1,7 +1,7 @@
-DIST playerctl-2.0.1.tar.gz 43700 BLAKE2B 9df01bdb5f71a589a40462ed807b0f150d8c90921d1e0ef96bf99f20d9e58345307af35b39cc95e8ab37fcf9e5686935d856e050b61210188008b65281e63557 SHA512 6a5807abc79358bab0ad30a11897a8109121d5eb7d9e17d2c695221ef83942c3c7235fc738ab27c9dd2d3364c04737355e9c88ec5d49f999565565fb4494f720
DIST playerctl-2.0.2.tar.gz 44241 BLAKE2B 3a1d5f59fdb0067f1147f4ef95990ae0755a372469c0f03491b4f3aec8d0cf754bb4d3057063211ee810532967ace0d35fa6a7f3f8cee8d7a5c09031cb5b11c9 SHA512 ad588f81d42c8000ccd2d2dedacfcd82887a958189b354ad6285545f7ed59e885febe0c3f9e3da915ae0fd0af4bfb4cefda54f17f0560fc4c00b1be6e92f3ac0
DIST playerctl-2.2.1.tar.gz 66255 BLAKE2B 76732d8074b17ca958b7efe08d7be8d4bce3ba1ec65346a219478b4807c600218e1b8fe971892e7df16ad49273721a5b423bced2bd3441e9f89497375d4e0d84 SHA512 9c08a3f1d5517d7f4270ed92f226453618fc9f0688688d1af9ff55f0c77efeb1b67daa4adc481546215491550f8528095d376ab099c8ddca05235bfb34b36eb7
-EBUILD playerctl-2.0.1.ebuild 1053 BLAKE2B 2d5414790ca1e1745e6c86bf2524718c37c843c162050f688072ca9385d23054fb63494a9ac41fb89579eb5b28717650186f70b2ff10cdf0093b52c26dc0aa0f SHA512 d2b1bd2e41f60fb5c61923ec8088986ac5acd695462a5d4dd7be6b7689792072e8846de0da4071c26bb00add72e19f33ee063302760a26547948f4ce7782a84d
+DIST playerctl-2.3.1.tar.gz 73595 BLAKE2B d6d60d82fb0a8951fba4a3de91ff1e3f4bdba7177563b65b2da53525af4ca40f42755c577f652aaa24d2de308f56a495c8f87840ad67d6cda840cba1411abdb0 SHA512 06a10d193c83f60a9a9c50dddfb0a74e00be8cde34ddaa9d75582b7ce487ac564d1ff0675f6cb0c27d968e7d435b6a427818ac14e0cdd94b86af8f5d89661a93
EBUILD playerctl-2.0.2.ebuild 893 BLAKE2B 4c7298c6c3bd2ea410d2806014a53ca5d116cef4d816d347629ae7a9626a7f39a3bd6b9f2968e4aa15d6f9d86c209c8867e27237a198693a7a9481e3850766cd SHA512 861dd884b243df3975481e2b45e995f8db602705b9ba2be1e01a121cd8bbd0304af39ffe28aa8a6d9651256121b24e9583fd26bc3429b616edc09e67ab75c1e7
EBUILD playerctl-2.2.1.ebuild 1128 BLAKE2B 3edf328c12029aebf3e1777a3d66d679549f3a1a9014dc3583713d9202d33836cfc2f13de5c7947b97897d8bb0dbcef37542aded0e33624d5cddde8a9c9875e3 SHA512 b8802416fbe90360c78b69ee3e2e4697a1561a9c44d5278279de0a36b4f57fb3282bc5be18ac86d23ca7ade83025d7fcffac00b278f22a924431c4b1b2b1e67d
+EBUILD playerctl-2.3.1.ebuild 1205 BLAKE2B 857fe241b92a6648586928f99aeadad7a7ae2a52417a2706fdff0566c3d42f42ee9b7ad152cdba1827840bba3201ea5b3a4ec7db4ea330ca7412151d984b5836 SHA512 82b8d3e49152ee75b4e53f04c232bade35ba32458756d1a5cc0ee726d76cea3a1073289c4f0b20f411e2eb36f4e249a52beda9cd1ce24c7e6a22396886ee4e66
MISC metadata.xml 343 BLAKE2B ef2d8052365e3c1907a5f191523ae0abd08d81fe0da46e4429192003a4a8560d7bbe45507b0fcbc1600241e89fa3fd64c84e4c208f501a0fd0be26175c2b0c97 SHA512 8719414c1c680915060a614b3fc30b462562b953c6b5fc227f6525a8870d59010ce0e7c5c5744031ff14d4c8514bb6f451ae697f1adfd1f617de490070ea2c38
diff --git a/media-sound/playerctl/playerctl-2.0.1.ebuild b/media-sound/playerctl/playerctl-2.3.1.ebuild
index 18ed3cb3fc51..8641a7349d5c 100644
--- a/media-sound/playerctl/playerctl-2.0.1.ebuild
+++ b/media-sound/playerctl/playerctl-2.3.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit meson xdg-utils
+inherit bash-completion-r1 xdg-utils meson
DESCRIPTION="A CLI utility to control media players over MPRIS"
HOMEPAGE="https://github.com/acrisci/playerctl"
@@ -12,23 +12,24 @@ LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="doc introspection"
+RESTRICT="test" # Requires dbus-next python package that's not in the tree
RDEPEND="
dev-libs/glib:2
introspection? ( dev-libs/gobject-introspection:= )
"
-# Override the meson dependency in MESON_DEPEND of meson.eclass
-# The eclass depends on '>=dev-util/meson-0.40.0' as of writing this
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
+ doc? ( dev-util/gtk-doc )
dev-util/gdbus-codegen
dev-util/glib-utils
- >=dev-util/meson-0.46.0
- doc? ( dev-util/gtk-doc )
virtual/pkgconfig
"
src_configure() {
local emesonargs=(
+ -Ddatadir=share
+ -Dbindir=bin
$(meson_use doc gtk-doc)
$(meson_use introspection)
)
@@ -39,7 +40,13 @@ src_configure() {
src_install() {
meson_src_install
+ rm "${ED}"/usr/$(get_libdir)/libplayerctl.a || die
+
docinto examples
dodoc -r "${S}"/examples/.
docompress -x "/usr/share/doc/${PF}/examples"
+
+ newbashcomp data/playerctl.bash "${PN}"
+ insinto /usr/share/zsh/site-functions
+ newins data/playerctl.zsh _playerctl
}