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 61A0F158086 for ; Sat, 6 Nov 2021 12:46:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2C3E7E08F3; Sat, 6 Nov 2021 12:46:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 81690E08FE for ; Sat, 6 Nov 2021 12:46:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 C5610342AB5 for ; Sat, 6 Nov 2021 12:46:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 825C91AD for ; Sat, 6 Nov 2021 12:46:44 +0000 (UTC) From: "Anna Vyalkova" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anna Vyalkova" Message-ID: <1636202630.c5daf69b839cb5b11f98c0a0401bc0219724bbd2.cybertailor@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-video/mpv-mpris/ X-VCS-Repository: repo/proj/guru X-VCS-Files: media-video/mpv-mpris/mpv-mpris-9999.ebuild X-VCS-Directories: media-video/mpv-mpris/ X-VCS-Committer: cybertailor X-VCS-Committer-Name: Anna Vyalkova X-VCS-Revision: c5daf69b839cb5b11f98c0a0401bc0219724bbd2 X-VCS-Branch: dev Date: Sat, 6 Nov 2021 12:46:44 +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: a236aa3a-df79-42af-a2b1-25e6673f79fb X-Archives-Hash: c555af6fee1c7432aaf528b1eedb0c2a commit: c5daf69b839cb5b11f98c0a0401bc0219724bbd2 Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Sat Nov 6 12:40:34 2021 +0000 Commit: Anna Vyalkova sysrq in> CommitDate: Sat Nov 6 12:43:50 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c5daf69b media-video/mpv-mpris: add slot operators * Use `dosym -r` instead of absolute paths * Use dolib.so instead of doins Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> media-video/mpv-mpris/mpv-mpris-9999.ebuild | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/media-video/mpv-mpris/mpv-mpris-9999.ebuild b/media-video/mpv-mpris/mpv-mpris-9999.ebuild index ccf53bf09..afb890923 100644 --- a/media-video/mpv-mpris/mpv-mpris-9999.ebuild +++ b/media-video/mpv-mpris/mpv-mpris-9999.ebuild @@ -20,23 +20,21 @@ SLOT="0" LICENSE="MIT" IUSE="+autoload" -BDEPEND="virtual/pkgconfig" -RDEPEND="media-video/mpv:=[cplugins,libmpv] - dev-libs/glib" +RDEPEND=" + dev-libs/glib:2 + media-video/mpv:=[cplugins,libmpv] +" DEPEND="${RDEPEND}" - -DOCS=( - README.md -) +BDEPEND="virtual/pkgconfig" src_compile() { - emake CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)" + tc-export CC + emake PKG_CONFIG="$(tc-getPKG_CONFIG)" } src_install() { - insinto "/usr/$(get_libdir)/mpv" - doins mpris.so - use autoload && dosym "/usr/$(get_libdir)/mpv/mpris.so" "/etc/mpv/scripts/mpris.so" + dolib.so mpris.so + use autoload && dosym -r /usr/$(get_libdir)/mpv/mpris.so /etc/mpv/scripts/mpris.so einstalldocs } @@ -45,8 +43,8 @@ pkg_postinst() { elog elog "The plugin has not been installed to /etc/mpv/scripts for autoloading." elog "You have to activate it manually by passing" - elog " \"/usr/$(get_libdir)/mpv/mpris.so\" " - elog "as script option to mpv or symlinking the library to \"scripts/\" in your mpv" + elog " '${EPREFIX}/usr/$(get_libdir)/mpv/mpris.so' " + elog "as a script option to mpv or symlinking the library to 'scripts' in your mpv" elog "config directory." elog "Alternatively, activate the autoload use flag." elog