* [gentoo-commits] repo/proj/guru:master commit in: media-video/mpv-mpris/
@ 2020-06-02 17:07 Andrew Ammerlaan
0 siblings, 0 replies; 11+ messages in thread
From: Andrew Ammerlaan @ 2020-06-02 17:07 UTC (permalink / raw
To: gentoo-commits
commit: 99f678492d15f81466c38763b0fa2c48d0d6cc47
Author: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Tue Jun 2 16:33:44 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue Jun 2 16:33:44 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=99f67849
media-video/mpv-mpris: New package.
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com>
media-video/mpv-mpris/Manifest | 1 +
media-video/mpv-mpris/metadata.xml | 15 +++++++++
media-video/mpv-mpris/mpv-mpris-0.5.ebuild | 48 +++++++++++++++++++++++++++++
media-video/mpv-mpris/mpv-mpris-9999.ebuild | 48 +++++++++++++++++++++++++++++
4 files changed, 112 insertions(+)
diff --git a/media-video/mpv-mpris/Manifest b/media-video/mpv-mpris/Manifest
new file mode 100644
index 0000000..21feb4b
--- /dev/null
+++ b/media-video/mpv-mpris/Manifest
@@ -0,0 +1 @@
+DIST mpv-mpris-0.5.tar.gz 8559 BLAKE2B 7eef231ab3855ed3f0a708484881f1df93152d9b79be491986ed0da2cd54870101d5fd90a35d95344b886a6af930c303b3f8c0bc480b55c8799ec8b96e7acdab SHA512 9c28b4f3fdcd6bddf3824125f994807d7a31f8e7398178296dab9d4422d3cc71a0b798ae75fe68c890556c993fb04bf5d7ffa379676312840fdf219bf4a974f7
diff --git a/media-video/mpv-mpris/metadata.xml b/media-video/mpv-mpris/metadata.xml
new file mode 100644
index 0000000..b7574b8
--- /dev/null
+++ b/media-video/mpv-mpris/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>o.freyermuth@googlemail.com</email>
+ <name>Oliver Freyermuth</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://github.com/hoyon/mpv-mpris/issues</bugs-to>
+ <remote-id type="github">hoyon/mpv-mpris</remote-id>
+ </upstream>
+ <use>
+ <flag name="autoload">Load plugin automatically</flag>
+ </use>
+</pkgmetadata>
diff --git a/media-video/mpv-mpris/mpv-mpris-0.5.ebuild b/media-video/mpv-mpris/mpv-mpris-0.5.ebuild
new file mode 100644
index 0000000..290300d
--- /dev/null
+++ b/media-video/mpv-mpris/mpv-mpris-0.5.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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
+
+SLOT="0"
+LICENSE="MIT"
+IUSE="+autoload"
+
+RDEPEND="media-video/mpv:=[cplugins]
+ dev-libs/glib"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS=(
+ README.md
+)
+
+src_install() {
+ insinto "/usr/$(get_libdir)/mpv"
+ doins mpris.so
+ use autoload && dosym "/usr/$(get_libdir)/mpv/mpris.so" "/etc/mpv/scripts/mpris.so"
+ einstalldocs
+}
+
+pkg_postinst() {
+ if ! use autoload; then
+ 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 "config directory."
+ elog "Alternatively, activate the autoload use flag."
+ elog
+ fi
+}
diff --git a/media-video/mpv-mpris/mpv-mpris-9999.ebuild b/media-video/mpv-mpris/mpv-mpris-9999.ebuild
new file mode 100644
index 0000000..290300d
--- /dev/null
+++ b/media-video/mpv-mpris/mpv-mpris-9999.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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
+
+SLOT="0"
+LICENSE="MIT"
+IUSE="+autoload"
+
+RDEPEND="media-video/mpv:=[cplugins]
+ dev-libs/glib"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS=(
+ README.md
+)
+
+src_install() {
+ insinto "/usr/$(get_libdir)/mpv"
+ doins mpris.so
+ use autoload && dosym "/usr/$(get_libdir)/mpv/mpris.so" "/etc/mpv/scripts/mpris.so"
+ einstalldocs
+}
+
+pkg_postinst() {
+ if ! use autoload; then
+ 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 "config directory."
+ elog "Alternatively, activate the autoload use flag."
+ elog
+ fi
+}
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: media-video/mpv-mpris/
@ 2020-06-02 17:07 Andrew Ammerlaan
0 siblings, 0 replies; 11+ messages in thread
From: Andrew Ammerlaan @ 2020-06-02 17:07 UTC (permalink / raw
To: gentoo-commits
commit: 9ef79e7cec50c7f1bb959cc797f31a313916d3dd
Author: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Tue Jun 2 17:05:53 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue Jun 2 17:05:53 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9ef79e7c
media-video/mpv-mpris: Fix missing dep on media-video/mpv[libmpv].
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com>
media-video/mpv-mpris/mpv-mpris-0.5.ebuild | 2 +-
media-video/mpv-mpris/mpv-mpris-9999.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/media-video/mpv-mpris/mpv-mpris-0.5.ebuild b/media-video/mpv-mpris/mpv-mpris-0.5.ebuild
index 290300d..f9abd91 100644
--- a/media-video/mpv-mpris/mpv-mpris-0.5.ebuild
+++ b/media-video/mpv-mpris/mpv-mpris-0.5.ebuild
@@ -18,7 +18,7 @@ SLOT="0"
LICENSE="MIT"
IUSE="+autoload"
-RDEPEND="media-video/mpv:=[cplugins]
+RDEPEND="media-video/mpv:=[cplugins,libmpv]
dev-libs/glib"
DEPEND="${RDEPEND}
virtual/pkgconfig"
diff --git a/media-video/mpv-mpris/mpv-mpris-9999.ebuild b/media-video/mpv-mpris/mpv-mpris-9999.ebuild
index 290300d..f9abd91 100644
--- a/media-video/mpv-mpris/mpv-mpris-9999.ebuild
+++ b/media-video/mpv-mpris/mpv-mpris-9999.ebuild
@@ -18,7 +18,7 @@ SLOT="0"
LICENSE="MIT"
IUSE="+autoload"
-RDEPEND="media-video/mpv:=[cplugins]
+RDEPEND="media-video/mpv:=[cplugins,libmpv]
dev-libs/glib"
DEPEND="${RDEPEND}
virtual/pkgconfig"
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: media-video/mpv-mpris/
@ 2020-06-13 13:13 Andrew Ammerlaan
0 siblings, 0 replies; 11+ messages in thread
From: Andrew Ammerlaan @ 2020-06-13 13:13 UTC (permalink / raw
To: gentoo-commits
commit: 5690361135ffb707ca912c094d0c874afd1a66e4
Author: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Sat Jun 13 01:29:52 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat Jun 13 01:30:01 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=56903611
media-video/mpv-mpris: move virtual/pkgconfig to BDEPEND
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com>
media-video/mpv-mpris/mpv-mpris-0.5.ebuild | 4 ++--
media-video/mpv-mpris/mpv-mpris-9999.ebuild | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/media-video/mpv-mpris/mpv-mpris-0.5.ebuild b/media-video/mpv-mpris/mpv-mpris-0.5.ebuild
index f9abd91..0254241 100644
--- a/media-video/mpv-mpris/mpv-mpris-0.5.ebuild
+++ b/media-video/mpv-mpris/mpv-mpris-0.5.ebuild
@@ -18,10 +18,10 @@ SLOT="0"
LICENSE="MIT"
IUSE="+autoload"
+BDEPEND="virtual/pkgconfig"
RDEPEND="media-video/mpv:=[cplugins,libmpv]
dev-libs/glib"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
+DEPEND="${RDEPEND}"
DOCS=(
README.md
diff --git a/media-video/mpv-mpris/mpv-mpris-9999.ebuild b/media-video/mpv-mpris/mpv-mpris-9999.ebuild
index f9abd91..0254241 100644
--- a/media-video/mpv-mpris/mpv-mpris-9999.ebuild
+++ b/media-video/mpv-mpris/mpv-mpris-9999.ebuild
@@ -18,10 +18,10 @@ SLOT="0"
LICENSE="MIT"
IUSE="+autoload"
+BDEPEND="virtual/pkgconfig"
RDEPEND="media-video/mpv:=[cplugins,libmpv]
dev-libs/glib"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
+DEPEND="${RDEPEND}"
DOCS=(
README.md
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: media-video/mpv-mpris/
@ 2021-04-23 8:47 Haelwenn Monnier
0 siblings, 0 replies; 11+ messages in thread
From: Haelwenn Monnier @ 2021-04-23 8:47 UTC (permalink / raw
To: gentoo-commits
commit: 48ba306a591d62cad7b1b8d91d7822c414377ea1
Author: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Thu Apr 22 22:18:09 2021 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Thu Apr 22 22:18:09 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=48ba306a
media-video/mpv-mpris: Do not call cc directly.
Closes: https://bugs.gentoo.org/785124
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com>
media-video/mpv-mpris/mpv-mpris-0.5.ebuild | 8 +++++++-
media-video/mpv-mpris/mpv-mpris-9999.ebuild | 8 +++++++-
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/media-video/mpv-mpris/mpv-mpris-0.5.ebuild b/media-video/mpv-mpris/mpv-mpris-0.5.ebuild
index 025424181..ef693dac1 100644
--- a/media-video/mpv-mpris/mpv-mpris-0.5.ebuild
+++ b/media-video/mpv-mpris/mpv-mpris-0.5.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+inherit toolchain-funcs
+
DESCRIPTION="MPRIS plugin for mpv"
HOMEPAGE="https://github.com/hoyon/mpv-mpris"
@@ -27,6 +29,10 @@ DOCS=(
README.md
)
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
src_install() {
insinto "/usr/$(get_libdir)/mpv"
doins mpris.so
diff --git a/media-video/mpv-mpris/mpv-mpris-9999.ebuild b/media-video/mpv-mpris/mpv-mpris-9999.ebuild
index 025424181..ef693dac1 100644
--- a/media-video/mpv-mpris/mpv-mpris-9999.ebuild
+++ b/media-video/mpv-mpris/mpv-mpris-9999.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+inherit toolchain-funcs
+
DESCRIPTION="MPRIS plugin for mpv"
HOMEPAGE="https://github.com/hoyon/mpv-mpris"
@@ -27,6 +29,10 @@ DOCS=(
README.md
)
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
src_install() {
insinto "/usr/$(get_libdir)/mpv"
doins mpris.so
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: media-video/mpv-mpris/
@ 2021-04-23 8:47 Haelwenn Monnier
0 siblings, 0 replies; 11+ messages in thread
From: Haelwenn Monnier @ 2021-04-23 8:47 UTC (permalink / raw
To: gentoo-commits
commit: 5b8ea731eb48e9a81545c069643029734776e2fe
Author: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Fri Apr 23 07:03:59 2021 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Fri Apr 23 07:04:09 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5b8ea731
media-video/mpv-mpris: Do not call pkg-config directly.
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com>
media-video/mpv-mpris/mpv-mpris-0.5.ebuild | 2 +-
media-video/mpv-mpris/mpv-mpris-9999.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/media-video/mpv-mpris/mpv-mpris-0.5.ebuild b/media-video/mpv-mpris/mpv-mpris-0.5.ebuild
index ef693dac1..4bfc1e8b8 100644
--- a/media-video/mpv-mpris/mpv-mpris-0.5.ebuild
+++ b/media-video/mpv-mpris/mpv-mpris-0.5.ebuild
@@ -30,7 +30,7 @@ DOCS=(
)
src_compile() {
- emake CC="$(tc-getCC)"
+ emake CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)"
}
src_install() {
diff --git a/media-video/mpv-mpris/mpv-mpris-9999.ebuild b/media-video/mpv-mpris/mpv-mpris-9999.ebuild
index ef693dac1..4bfc1e8b8 100644
--- a/media-video/mpv-mpris/mpv-mpris-9999.ebuild
+++ b/media-video/mpv-mpris/mpv-mpris-9999.ebuild
@@ -30,7 +30,7 @@ DOCS=(
)
src_compile() {
- emake CC="$(tc-getCC)"
+ emake CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)"
}
src_install() {
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: media-video/mpv-mpris/
@ 2021-10-25 11:56 Andrew Ammerlaan
0 siblings, 0 replies; 11+ messages in thread
From: Andrew Ammerlaan @ 2021-10-25 11:56 UTC (permalink / raw
To: gentoo-commits
commit: 9eea32bdc7cfd1aab60614ab1fd941123edf7ebe
Author: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Mon Oct 25 00:19:55 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Oct 25 00:19:55 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9eea32bd
media-video/mpv-mpris: bump to 0.6.
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com>
media-video/mpv-mpris/Manifest | 1 +
media-video/mpv-mpris/{mpv-mpris-9999.ebuild => mpv-mpris-0.6.ebuild} | 2 +-
media-video/mpv-mpris/mpv-mpris-9999.ebuild | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/media-video/mpv-mpris/Manifest b/media-video/mpv-mpris/Manifest
index 21feb4bc2..fe3bc469b 100644
--- a/media-video/mpv-mpris/Manifest
+++ b/media-video/mpv-mpris/Manifest
@@ -1 +1,2 @@
DIST mpv-mpris-0.5.tar.gz 8559 BLAKE2B 7eef231ab3855ed3f0a708484881f1df93152d9b79be491986ed0da2cd54870101d5fd90a35d95344b886a6af930c303b3f8c0bc480b55c8799ec8b96e7acdab SHA512 9c28b4f3fdcd6bddf3824125f994807d7a31f8e7398178296dab9d4422d3cc71a0b798ae75fe68c890556c993fb04bf5d7ffa379676312840fdf219bf4a974f7
+DIST mpv-mpris-0.6.tar.gz 8910 BLAKE2B 44888f9a0945bf850ba48a4b2a5b2d03325e05b17111a6184c3540eaf15745c7bb18006b03dd018599e017837c005bf10dafc910b3e031e440a511a5496d6ab4 SHA512 da92e4cf6541f0f18fc1c779ab87eef914e6e76a94bfe1259b323953a11654b228d02c4d352ea0c588308bedc8aa807bdaa41023917629a90d50269f454e256d
diff --git a/media-video/mpv-mpris/mpv-mpris-9999.ebuild b/media-video/mpv-mpris/mpv-mpris-0.6.ebuild
similarity index 99%
copy from media-video/mpv-mpris/mpv-mpris-9999.ebuild
copy to media-video/mpv-mpris/mpv-mpris-0.6.ebuild
index 4bfc1e8b8..ccf53bf09 100644
--- a/media-video/mpv-mpris/mpv-mpris-9999.ebuild
+++ b/media-video/mpv-mpris/mpv-mpris-0.6.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit toolchain-funcs
diff --git a/media-video/mpv-mpris/mpv-mpris-9999.ebuild b/media-video/mpv-mpris/mpv-mpris-9999.ebuild
index 4bfc1e8b8..ccf53bf09 100644
--- a/media-video/mpv-mpris/mpv-mpris-9999.ebuild
+++ b/media-video/mpv-mpris/mpv-mpris-9999.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit toolchain-funcs
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: media-video/mpv-mpris/
@ 2021-11-08 13:02 Andrew Ammerlaan
0 siblings, 0 replies; 11+ messages in thread
From: Andrew Ammerlaan @ 2021-11-08 13:02 UTC (permalink / raw
To: gentoo-commits
commit: c5daf69b839cb5b11f98c0a0401bc0219724bbd2
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sat Nov 6 12:40:34 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
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 <cyber+gentoo <AT> 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
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: media-video/mpv-mpris/
@ 2022-03-18 6:35 Arthur Zamarin
0 siblings, 0 replies; 11+ messages in thread
From: Arthur Zamarin @ 2022-03-18 6:35 UTC (permalink / raw
To: gentoo-commits
commit: d3848685c7106bbbdf6fd444f46d582b76d0cdc7
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue Mar 8 10:10:13 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 18 03:31:08 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d3848685
media-video/mpv-mpris: rename library
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
media-video/mpv-mpris/mpv-mpris-9999.ebuild | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/media-video/mpv-mpris/mpv-mpris-9999.ebuild b/media-video/mpv-mpris/mpv-mpris-9999.ebuild
index 8814420b5..2b4e36729 100644
--- a/media-video/mpv-mpris/mpv-mpris-9999.ebuild
+++ b/media-video/mpv-mpris/mpv-mpris-9999.ebuild
@@ -51,9 +51,8 @@ src_test() {
}
src_install() {
- insinto "/usr/$(get_libdir)/mpv"
- doins mpris.so
- use autoload && dosym -r /usr/$(get_libdir)/mpv/mpris.so /etc/mpv/scripts/mpris.so
+ newlib.so mpris.so ${PN}.so
+ use autoload && dosym -r /usr/$(get_libdir)/${PN}.so /etc/mpv/scripts/mpris.so
einstalldocs
}
@@ -62,7 +61,7 @@ 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 " '${EPREFIX}/usr/$(get_libdir)/mpv/mpris.so' "
+ elog " '${EPREFIX}/usr/$(get_libdir)/${PN}.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."
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: media-video/mpv-mpris/
@ 2022-04-08 2:43 Ronny Gutbrod
0 siblings, 0 replies; 11+ messages in thread
From: Ronny Gutbrod @ 2022-04-08 2:43 UTC (permalink / raw
To: gentoo-commits
commit: 8c09b92f1ffd27159052843903aa75053f1b66cb
Author: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Wed Apr 6 21:37:52 2022 +0000
Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Wed Apr 6 21:37:52 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8c09b92f
media-video/mpv-mpris: drop 0.6
Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com>
media-video/mpv-mpris/Manifest | 1 -
media-video/mpv-mpris/mpv-mpris-0.6.ebuild | 54 ------------------------------
2 files changed, 55 deletions(-)
diff --git a/media-video/mpv-mpris/Manifest b/media-video/mpv-mpris/Manifest
index afd0ebfa1..4c69ea672 100644
--- a/media-video/mpv-mpris/Manifest
+++ b/media-video/mpv-mpris/Manifest
@@ -1,3 +1,2 @@
-DIST mpv-mpris-0.6.tar.gz 8910 BLAKE2B 44888f9a0945bf850ba48a4b2a5b2d03325e05b17111a6184c3540eaf15745c7bb18006b03dd018599e017837c005bf10dafc910b3e031e440a511a5496d6ab4 SHA512 da92e4cf6541f0f18fc1c779ab87eef914e6e76a94bfe1259b323953a11654b228d02c4d352ea0c588308bedc8aa807bdaa41023917629a90d50269f454e256d
DIST mpv-mpris-0.7.1.tar.gz 13432 BLAKE2B 884204c2186bc3b52378113dde87e58578b3811ec1a40576eb30e779fe3a3575ad9db802a51434e9fc3d22785db6036f898c76acab61780fac4b35276a17524f SHA512 7e928bbbf85b5c8e1e92ce51e65986ef7a7fe27a1e382b0148cdd70e22e5320be37a573c6206b3a1ab05119d9d24b861fd45081a008111f1da37673aa3896f23
DIST mpv-mpris-0.7.tar.gz 12982 BLAKE2B db919cdad6528519211725694f63871e371a33a331c46eebb202fa87d452d1cf30cecf3d4c2b26cb187cfa2c4cdd53411b88e6e7855510ffbaeef28ab3eb8346 SHA512 b370c9550622302cfdd07c21ae2f03a4e66e80da02e8f38c68d447ef273ae582ad6d918e207a9fb8c917a851163c6aadc08d3d68ad8e70ec85b37732c0cac96f
diff --git a/media-video/mpv-mpris/mpv-mpris-0.6.ebuild b/media-video/mpv-mpris/mpv-mpris-0.6.ebuild
deleted file mode 100644
index ccf53bf09..000000000
--- a/media-video/mpv-mpris/mpv-mpris-0.6.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit 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
-
-SLOT="0"
-LICENSE="MIT"
-IUSE="+autoload"
-
-BDEPEND="virtual/pkgconfig"
-RDEPEND="media-video/mpv:=[cplugins,libmpv]
- dev-libs/glib"
-DEPEND="${RDEPEND}"
-
-DOCS=(
- README.md
-)
-
-src_compile() {
- emake CC="$(tc-getCC)" 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"
- einstalldocs
-}
-
-pkg_postinst() {
- if ! use autoload; then
- 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 "config directory."
- elog "Alternatively, activate the autoload use flag."
- elog
- fi
-}
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: media-video/mpv-mpris/
@ 2022-04-08 2:43 Ronny Gutbrod
0 siblings, 0 replies; 11+ messages in thread
From: Ronny Gutbrod @ 2022-04-08 2:43 UTC (permalink / raw
To: gentoo-commits
commit: 66b2e16ccbd1efb1eb55965ef8853082dc1d6c47
Author: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Wed Apr 6 21:37:36 2022 +0000
Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Wed Apr 6 21:37:36 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=66b2e16c
media-video/mpv-mpris: add 0.7.1
Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com>
media-video/mpv-mpris/Manifest | 1 +
media-video/mpv-mpris/mpv-mpris-0.7.1.ebuild | 70 ++++++++++++++++++++++++++++
2 files changed, 71 insertions(+)
diff --git a/media-video/mpv-mpris/Manifest b/media-video/mpv-mpris/Manifest
index cee0cf89e..afd0ebfa1 100644
--- a/media-video/mpv-mpris/Manifest
+++ b/media-video/mpv-mpris/Manifest
@@ -1,2 +1,3 @@
DIST mpv-mpris-0.6.tar.gz 8910 BLAKE2B 44888f9a0945bf850ba48a4b2a5b2d03325e05b17111a6184c3540eaf15745c7bb18006b03dd018599e017837c005bf10dafc910b3e031e440a511a5496d6ab4 SHA512 da92e4cf6541f0f18fc1c779ab87eef914e6e76a94bfe1259b323953a11654b228d02c4d352ea0c588308bedc8aa807bdaa41023917629a90d50269f454e256d
+DIST mpv-mpris-0.7.1.tar.gz 13432 BLAKE2B 884204c2186bc3b52378113dde87e58578b3811ec1a40576eb30e779fe3a3575ad9db802a51434e9fc3d22785db6036f898c76acab61780fac4b35276a17524f SHA512 7e928bbbf85b5c8e1e92ce51e65986ef7a7fe27a1e382b0148cdd70e22e5320be37a573c6206b3a1ab05119d9d24b861fd45081a008111f1da37673aa3896f23
DIST mpv-mpris-0.7.tar.gz 12982 BLAKE2B db919cdad6528519211725694f63871e371a33a331c46eebb202fa87d452d1cf30cecf3d4c2b26cb187cfa2c4cdd53411b88e6e7855510ffbaeef28ab3eb8346 SHA512 b370c9550622302cfdd07c21ae2f03a4e66e80da02e8f38c68d447ef273ae582ad6d918e207a9fb8c917a851163c6aadc08d3d68ad8e70ec85b37732c0cac96f
diff --git a/media-video/mpv-mpris/mpv-mpris-0.7.1.ebuild b/media-video/mpv-mpris/mpv-mpris-0.7.1.ebuild
new file mode 100644
index 000000000..2b4e36729
--- /dev/null
+++ b/media-video/mpv-mpris/mpv-mpris-0.7.1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit 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
+
+SLOT="0"
+LICENSE="MIT"
+IUSE="+autoload test"
+
+RDEPEND="
+ dev-libs/glib:2
+ media-video/mpv:=[cplugins,libmpv]
+"
+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
+ )
+"
+RESTRICT="!test? ( test )"
+
+src_compile() {
+ tc-export CC
+ emake PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
+src_test() {
+ emake test
+}
+
+src_install() {
+ newlib.so mpris.so ${PN}.so
+ use autoload && dosym -r /usr/$(get_libdir)/${PN}.so /etc/mpv/scripts/mpris.so
+ einstalldocs
+}
+
+pkg_postinst() {
+ if ! use autoload; then
+ elog
+ elog "The plugin has not been installed to /etc/mpv/scripts for autoloading."
+ elog "You have to activate it manually by passing"
+ elog " '${EPREFIX}/usr/$(get_libdir)/${PN}.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
+ fi
+}
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: media-video/mpv-mpris/
@ 2022-04-14 13:31 Andrew Ammerlaan
0 siblings, 0 replies; 11+ messages in thread
From: Andrew Ammerlaan @ 2022-04-14 13:31 UTC (permalink / raw
To: gentoo-commits
commit: b8477664e800c33fd4236d21da3401c78ba81c5a
Author: Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Thu Apr 14 09:18:09 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Thu Apr 14 09:26:30 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b8477664
media-video/mpv-mpris: add 0.7.1-r1
-r1 uses the new eclass, 0.7.1 is left in case something is wrong.
Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>
media-video/mpv-mpris/mpv-mpris-0.7.1-r1.ebuild | 53 +++++++++++++++++++++++++
1 file changed, 53 insertions(+)
diff --git a/media-video/mpv-mpris/mpv-mpris-0.7.1-r1.ebuild b/media-video/mpv-mpris/mpv-mpris-0.7.1-r1.ebuild
new file mode 100644
index 000000000..ba02bf7f6
--- /dev/null
+++ b/media-video/mpv-mpris/mpv-mpris-0.7.1-r1.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
+}
^ permalink raw reply related [flat|nested] 11+ messages in thread
end of thread, other threads:[~2022-04-14 13:31 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-08 2:43 [gentoo-commits] repo/proj/guru:master commit in: media-video/mpv-mpris/ Ronny Gutbrod
-- strict thread matches above, loose matches on Subject: below --
2022-04-14 13:31 Andrew Ammerlaan
2022-04-08 2:43 Ronny Gutbrod
2022-03-18 6:35 Arthur Zamarin
2021-11-08 13:02 Andrew Ammerlaan
2021-10-25 11:56 Andrew Ammerlaan
2021-04-23 8:47 Haelwenn Monnier
2021-04-23 8:47 Haelwenn Monnier
2020-06-13 13:13 Andrew Ammerlaan
2020-06-02 17:07 Andrew Ammerlaan
2020-06-02 17:07 Andrew Ammerlaan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox