From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D88AE15806E for ; Fri, 26 May 2023 09:35:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C0654E087E; Fri, 26 May 2023 09:35:34 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A9E4FE087E for ; Fri, 26 May 2023 09:35:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8F024340775 for ; Fri, 26 May 2023 09:35:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2CE61A67 for ; Fri, 26 May 2023 09:35:32 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1685093715.567272bcb529b9a1d45d39b477fef0b172a215a1.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/playerctl/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/playerctl/Manifest media-sound/playerctl/playerctl-2.4.1.ebuild X-VCS-Directories: media-sound/playerctl/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 567272bcb529b9a1d45d39b477fef0b172a215a1 X-VCS-Branch: master Date: Fri, 26 May 2023 09:35:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6c251310-2a1b-444f-ae40-89f3644ce152 X-Archives-Hash: bb96dc0d3d8368c2cd86f28d6675e972 commit: 567272bcb529b9a1d45d39b477fef0b172a215a1 Author: Sam James gentoo org> AuthorDate: Fri May 26 09:04:05 2023 +0000 Commit: Sam James gentoo org> CommitDate: Fri May 26 09:35:15 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=567272bc media-sound/playerctl: add 2.4.1 Closes: https://bugs.gentoo.org/907163 Signed-off-by: Sam James gentoo.org> media-sound/playerctl/Manifest | 1 + media-sound/playerctl/playerctl-2.4.1.ebuild | 54 ++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/media-sound/playerctl/Manifest b/media-sound/playerctl/Manifest index 1da1ef9c7128..3089e6924b4e 100644 --- a/media-sound/playerctl/Manifest +++ b/media-sound/playerctl/Manifest @@ -1 +1,2 @@ DIST playerctl-2.3.1.tar.gz 73595 BLAKE2B d6d60d82fb0a8951fba4a3de91ff1e3f4bdba7177563b65b2da53525af4ca40f42755c577f652aaa24d2de308f56a495c8f87840ad67d6cda840cba1411abdb0 SHA512 06a10d193c83f60a9a9c50dddfb0a74e00be8cde34ddaa9d75582b7ce487ac564d1ff0675f6cb0c27d968e7d435b6a427818ac14e0cdd94b86af8f5d89661a93 +DIST playerctl-2.4.1.tar.gz 77371 BLAKE2B ae9f691d714d6235bd7dc3e3d9a2ed21190482bd2aa8642c108ade0c09902ccb20196d0180ed3b1ffe680ca4e6a4ee293de1a6f10d54878589e3d8c81ca81c53 SHA512 2d84f657b07c948cd6990d9e79c4eb6e83f97c387ac53c2322fc0adbeb853950fa935332233329e7555db7d157f3ced6498cc102edaffd78849ca1f7d4c49bdc diff --git a/media-sound/playerctl/playerctl-2.4.1.ebuild b/media-sound/playerctl/playerctl-2.4.1.ebuild new file mode 100644 index 000000000000..710b5c8ab50a --- /dev/null +++ b/media-sound/playerctl/playerctl-2.4.1.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 xdg + +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="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="doc introspection" +RESTRICT="test" # Seems to want a system bus, rather than a session one? + +RDEPEND=" + >=dev-libs/glib-2.38:2 + introspection? ( dev-libs/gobject-introspection:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/gdbus-codegen + dev-util/glib-utils + virtual/pkgconfig + doc? ( dev-util/gtk-doc ) +" + +src_configure() { + local emesonargs=( + -Ddatadir=share + -Dbindir=bin + -Dbash-completions=false + -Dzsh-completions=false + $(meson_use doc gtk-doc) + $(meson_use introspection) + ) + + xdg_environment_reset # bug #596166 + meson_src_configure +} + +src_install() { + meson_src_install + + 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 +}