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 28E0D158095 for ; Mon, 12 Sep 2022 14:21:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 43C32E08ED; Mon, 12 Sep 2022 14:21:45 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2DBCEE08ED for ; Mon, 12 Sep 2022 14:21:45 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 60777335D9D for ; Mon, 12 Sep 2022 14:21:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BD80A5D3 for ; Mon, 12 Sep 2022 14:21:42 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1662824210.292e5141cb3735f1e7656c3a7747ca7cafca9164.flow@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: mpv-plugin/mpv-mpris/ X-VCS-Repository: repo/proj/guru X-VCS-Files: mpv-plugin/mpv-mpris/Manifest mpv-plugin/mpv-mpris/mpv-mpris-0.9.ebuild X-VCS-Directories: mpv-plugin/mpv-mpris/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: 292e5141cb3735f1e7656c3a7747ca7cafca9164 X-VCS-Branch: master Date: Mon, 12 Sep 2022 14:21:42 +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: d8ef328a-1250-4c1a-aa20-e8e99c46d601 X-Archives-Hash: e6e296f9b0db202245be0142a3c51e4e commit: 292e5141cb3735f1e7656c3a7747ca7cafca9164 Author: Oliver Freyermuth googlemail com> AuthorDate: Sat Sep 10 15:36:50 2022 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Sat Sep 10 15:36:50 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=292e5141 mpv-plugin/mpv-mpris: add 0.9 Signed-off-by: Oliver Freyermuth googlemail.com> mpv-plugin/mpv-mpris/Manifest | 1 + mpv-plugin/mpv-mpris/mpv-mpris-0.9.ebuild | 53 +++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/mpv-plugin/mpv-mpris/Manifest b/mpv-plugin/mpv-mpris/Manifest index c6d93f775..3a64844c2 100644 --- a/mpv-plugin/mpv-mpris/Manifest +++ b/mpv-plugin/mpv-mpris/Manifest @@ -1,3 +1,4 @@ DIST mpv-mpris-0.7.1.tar.gz 13432 BLAKE2B 884204c2186bc3b52378113dde87e58578b3811ec1a40576eb30e779fe3a3575ad9db802a51434e9fc3d22785db6036f898c76acab61780fac4b35276a17524f SHA512 7e928bbbf85b5c8e1e92ce51e65986ef7a7fe27a1e382b0148cdd70e22e5320be37a573c6206b3a1ab05119d9d24b861fd45081a008111f1da37673aa3896f23 DIST mpv-mpris-0.8.1.tar.gz 13469 BLAKE2B a284a9ffb7f0c36254bcec6d5cc102e19bca551b02657c1802cc0790e7ce61866b8928fa42e0de483463a05e2e513d90f53477b3fd5ca2cf29c1ce0fe8efc766 SHA512 a7ed2c7d5d0b7eb323026ae7b21c8a55e02a90b9fe761d7162ed7162200cf00793842f04a7a2ac841f7de3196657cfb17029ce7285ea977cd35284879db0184d DIST mpv-mpris-0.8.tar.gz 13477 BLAKE2B 57ac9e0604bfcb979595f42a9bede20cb4e27c07e768cade3a996bbcb7226cf01704cfc52448a5eb363e1aba1e0b48e90edfcc858a7913649c740c0fa82c5ed1 SHA512 97387caa98296bbcb71c847ada45f8baac8cfb9536554d38accd706800d9b867ac0012d330e9b548926184fff9e4952ff90b22a3e7d42c68ac74fbd6d61c3006 +DIST mpv-mpris-0.9.tar.gz 13746 BLAKE2B bcfb6efd51265409545e007980774b1ee7b7415fd89788c909be95d0fa12175c8ef9529d18c608345e88b6cba2b11f98a7bcb6cc1977a8b791b7025b6197c269 SHA512 82845320fe8d1ce903e8c9027070339d0281ace3887743728df0c0b4abb12de59bd7e86927d86b2669c54f80fee03d5f65e2c086ddafd5bcf55039db51bf64fc diff --git a/mpv-plugin/mpv-mpris/mpv-mpris-0.9.ebuild b/mpv-plugin/mpv-mpris/mpv-mpris-0.9.ebuild new file mode 100644 index 000000000..ba02bf7f6 --- /dev/null +++ b/mpv-plugin/mpv-mpris/mpv-mpris-0.9.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MPV_REQ_USE="cplugins,libmpv" +inherit mpv-plugin toolchain-funcs + +DESCRIPTION="MPRIS plugin for mpv" +HOMEPAGE="https://github.com/hoyon/mpv-mpris" + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/hoyon/${PN}.git" +else + SRC_URI="https://github.com/hoyon/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +fi + +LICENSE="MIT" +IUSE="test" + +RDEPEND=" + dev-libs/glib:2 +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig + test? ( + app-misc/jq + app-shells/bash + app-text/jo + media-sound/playerctl + net-misc/socat + sys-apps/dbus + virtual/awk + x11-apps/xauth + x11-misc/xvfb-run + x11-themes/sound-theme-freedesktop + ) +" + +MPV_PLUGIN_FILES=( mpris.so ) + +RESTRICT="!test? ( test )" + +src_compile() { + tc-export CC + emake PKG_CONFIG="$(tc-getPKG_CONFIG)" +} + +src_test() { + emake test +}