summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGöktürk Yüksek <gokturk@gentoo.org>2018-11-07 16:47:19 -0500
committerGöktürk Yüksek <gokturk@gentoo.org>2018-11-07 17:47:22 -0500
commit851be93c4a15fe55265101b6f67597169446c9f0 (patch)
tree6509a789abe3bd95cf2fbbc8e2a6789aa886dbd4 /media-sound
parentsys-apps/rng-tools: bump to 6.6 (diff)
downloadgentoo-851be93c4a15fe55265101b6f67597169446c9f0.tar.gz
gentoo-851be93c4a15fe55265101b6f67597169446c9f0.tar.bz2
gentoo-851be93c4a15fe55265101b6f67597169446c9f0.zip
media-sound/playerctl: bump to 2.0.0-rc1
Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: Göktürk Yüksek <gokturk@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/playerctl/Manifest1
-rw-r--r--media-sound/playerctl/playerctl-2.0.0_rc1.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/media-sound/playerctl/Manifest b/media-sound/playerctl/Manifest
index 7f6cf729b539..e6a12ad5a77e 100644
--- a/media-sound/playerctl/Manifest
+++ b/media-sound/playerctl/Manifest
@@ -1,3 +1,4 @@
DIST playerctl-0.5.0.tar.gz 17015 BLAKE2B 5da1d0fd4e442ac5f124bd693ae14222624c5239c9fad72e57d43977467339522344bc8d8c37b0f2bfda51c61861dc33d7e35e4a730ce59a87b691b5657ec729 SHA512 307cad5eeea7efa0c97c885660f49468f442fe907ef2495b56ac512e0551c7248750897b6d00934cbfcfcb35f486a101a238b276ef71d2ef866132ca3cc0932c
DIST playerctl-0.6.0.tar.gz 22124 BLAKE2B 6bb90586c56e21a00b5e6e1769248b9782a8211b01dacf590857fe4fe199d6d3fa7aa46a36cba9a8e198a1aad0bf17973fc15140db11c484edfb0275971d3d08 SHA512 8023b5704ca2a428510df6228850b616061289764cc3c4190c0c46f79d6a20e499495f2d773bd821357653ba63bca40eac70f7cc3a11251da3c6a4f7781db739
DIST playerctl-0.6.1.tar.gz 22921 BLAKE2B d2f5874280e1a99b318bc83c40a38ee31d9c68426cb63e1e16e8ded26bac1a894d78a929f46d45d631af70e37476a4151c520eb69c94e80026689a12c682f0ad SHA512 07c302eb06a96bf3b8aa180e68e85ef6f9fdb5933b80fbce8ee5f9a36c1d961eaf5638e319ff0b26475984acc57a447a4aa8e705667f77e4bd393364cdbfb284
+DIST playerctl-2.0.0_rc1.tar.gz 42452 BLAKE2B e9a5d2b12b2687d0f06993860cd242551c15e66fb7a58e3b034350c8be9d29f5506a3c588cb2a7e7a7932011aeaa19b600060bc2ed78f994382a10f768fe5d43 SHA512 a38e5a0f729b305ac2d87ea34995dedf3c083599d8960fcc55a0273b0ced26ad72eface57a859a9e7b61ed3a2e4a0e8a419c5523087f2349ed4d32099e4512f1
diff --git a/media-sound/playerctl/playerctl-2.0.0_rc1.ebuild b/media-sound/playerctl/playerctl-2.0.0_rc1.ebuild
new file mode 100644
index 000000000000..c4f666a38bf8
--- /dev/null
+++ b/media-sound/playerctl/playerctl-2.0.0_rc1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit meson xdg-utils
+
+DESCRIPTION="A CLI utility to control media players over MPRIS"
+HOMEPAGE="https://github.com/acrisci/playerctl"
+SRC_URI="https://github.com/acrisci/playerctl/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz"
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="doc introspection"
+
+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}
+ dev-util/gdbus-codegen
+ >=dev-util/meson-0.46.0
+ doc? ( dev-util/gtk-doc )
+ virtual/pkgconfig
+"
+
+S="${WORKDIR}/${PN}-${PV/_/-}"
+
+src_configure() {
+ local emesonargs=(
+ $(meson_use doc gtk-doc)
+ $(meson_use introspection)
+ )
+
+ xdg_environment_reset # 596166
+ meson_src_configure
+}
+
+src_install() {
+ meson_src_install
+ docinto examples
+ dodoc -r "${S}"/examples/.
+ docompress -x "/usr/share/doc/${PF}/examples"
+}