[gentoo-commits] repo/proj/guru:dev commit in: media-video/mpv-mpris/
commit: b8477664e800c33fd4236d21da3401c78ba81c5a Author: Nicola Smaniotto gmail com> AuthorDate: Thu Apr 14 09:18:09 2022 + Commit: Nicola Smaniotto gmail com> CommitDate: Thu Apr 14 09:26:30 2022 + 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 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 0..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} == ** ]]; 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 +}
[gentoo-commits] repo/proj/guru:dev commit in: media-video/mpv-mpris/
commit: 66b2e16ccbd1efb1eb55965ef8853082dc1d6c47 Author: Oliver Freyermuth googlemail com> AuthorDate: Wed Apr 6 21:37:36 2022 + Commit: Oliver Freyermuth googlemail com> CommitDate: Wed Apr 6 21:37:36 2022 + 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 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 0..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} == ** ]]; 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 +}
[gentoo-commits] repo/proj/guru:dev commit in: media-video/mpv-mpris/
commit: 8c09b92f1ffd27159052843903aa75053f1b66cb Author: Oliver Freyermuth googlemail com> AuthorDate: Wed Apr 6 21:37:52 2022 + Commit: Oliver Freyermuth googlemail com> CommitDate: Wed Apr 6 21:37:52 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8c09b92f media-video/mpv-mpris: drop 0.6 Signed-off-by: Oliver Freyermuth 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..0 --- 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} == ** ]]; 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 -}
[gentoo-commits] repo/proj/guru:dev commit in: media-video/mpv-mpris/
commit: ad592a04439e60d8b356a88b92f79578cc1077cc Author: Oliver Freyermuth googlemail com> AuthorDate: Sat Mar 5 23:18:23 2022 + Commit: Oliver Freyermuth googlemail com> CommitDate: Sat Mar 5 23:18:23 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ad592a04 media-video/mpv-mpris: Drop oldest version. Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Oliver Freyermuth googlemail.com> media-video/mpv-mpris/Manifest | 1 - media-video/mpv-mpris/mpv-mpris-0.5.ebuild | 54 -- 2 files changed, 55 deletions(-) diff --git a/media-video/mpv-mpris/Manifest b/media-video/mpv-mpris/Manifest index e4703e19a..cee0cf89e 100644 --- a/media-video/mpv-mpris/Manifest +++ b/media-video/mpv-mpris/Manifest @@ -1,3 +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 DIST mpv-mpris-0.7.tar.gz 12982 BLAKE2B db919cdad6528519211725694f63871e371a33a331c46eebb202fa87d452d1cf30cecf3d4c2b26cb187cfa2c4cdd53411b88e6e7855510ffbaeef28ab3eb8346 SHA512 b370c9550622302cfdd07c21ae2f03a4e66e80da02e8f38c68d447ef273ae582ad6d918e207a9fb8c917a851163c6aadc08d3d68ad8e70ec85b37732c0cac96f diff --git a/media-video/mpv-mpris/mpv-mpris-0.5.ebuild b/media-video/mpv-mpris/mpv-mpris-0.5.ebuild deleted file mode 100644 index 4bfc1e8b8..0 --- a/media-video/mpv-mpris/mpv-mpris-0.5.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# 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; - -if [[ ${PV} == ** ]]; 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 -}
[gentoo-commits] repo/proj/guru:dev commit in: media-video/mpv-mpris/
commit: 1a0ab44edcf9cf6ea1abe63e3146f5150b783cb7 Author: Oliver Freyermuth googlemail com> AuthorDate: Sat Mar 5 23:17:59 2022 + Commit: Oliver Freyermuth googlemail com> CommitDate: Sat Mar 5 23:17:59 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1a0ab44e media-video/mpv-mpris: bump to 0.7. Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Oliver Freyermuth googlemail.com> media-video/mpv-mpris/Manifest | 1 + media-video/mpv-mpris/mpv-mpris-0.7.ebuild | 71 ++ 2 files changed, 72 insertions(+) diff --git a/media-video/mpv-mpris/Manifest b/media-video/mpv-mpris/Manifest index fe3bc469b..e4703e19a 100644 --- a/media-video/mpv-mpris/Manifest +++ b/media-video/mpv-mpris/Manifest @@ -1,2 +1,3 @@ DIST mpv-mpris-0.5.tar.gz 8559 BLAKE2B 7eef231ab3855ed3f0a708484881f1df93152d9b79be491986ed0da2cd54870101d5fd90a35d95344b886a6af930c303b3f8c0bc480b55c8799ec8b96e7acdab SHA512 9c28b4f3fdcd6bddf3824125f994807d7a31f8e7398178296dab9d4422d3cc71a0b798ae75fe68c890556c993fb04bf5d7ffa379676312840fdf219bf4a974f7 DIST mpv-mpris-0.6.tar.gz 8910 BLAKE2B 44888f9a0945bf850ba48a4b2a5b2d03325e05b17111a6184c3540eaf15745c7bb18006b03dd018599e017837c005bf10dafc910b3e031e440a511a5496d6ab4 SHA512 da92e4cf6541f0f18fc1c779ab87eef914e6e76a94bfe1259b323953a11654b228d02c4d352ea0c588308bedc8aa807bdaa41023917629a90d50269f454e256d +DIST mpv-mpris-0.7.tar.gz 12982 BLAKE2B db919cdad6528519211725694f63871e371a33a331c46eebb202fa87d452d1cf30cecf3d4c2b26cb187cfa2c4cdd53411b88e6e7855510ffbaeef28ab3eb8346 SHA512 b370c9550622302cfdd07c21ae2f03a4e66e80da02e8f38c68d447ef273ae582ad6d918e207a9fb8c917a851163c6aadc08d3d68ad8e70ec85b37732c0cac96f diff --git a/media-video/mpv-mpris/mpv-mpris-0.7.ebuild b/media-video/mpv-mpris/mpv-mpris-0.7.ebuild new file mode 100644 index 0..8814420b5 --- /dev/null +++ b/media-video/mpv-mpris/mpv-mpris-0.7.ebuild @@ -0,0 +1,71 @@ +# 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} == ** ]]; 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() { + insinto "/usr/$(get_libdir)/mpv" + doins mpris.so + use autoload && dosym -r /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 " '${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 + fi +}
[gentoo-commits] repo/proj/guru:dev commit in: media-video/mpv-mpris/
commit: 791bf41f652e797c629ef5ff8e5aaecbbe422c25 Author: Oliver Freyermuth googlemail com> AuthorDate: Sat Mar 5 23:07:32 2022 + Commit: Oliver Freyermuth googlemail com> CommitDate: Sat Mar 5 23:07:32 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=791bf41f media-video/mpv-mpris: Add unit tests in live ebuild. Upstream now has a functional smoke test suite which we can leverage to implement tests. Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Oliver Freyermuth googlemail.com> media-video/mpv-mpris/mpv-mpris-.ebuild | 24 +--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/media-video/mpv-mpris/mpv-mpris-.ebuild b/media-video/mpv-mpris/mpv-mpris-.ebuild index afb890923..d56b88791 100644 --- a/media-video/mpv-mpris/mpv-mpris-.ebuild +++ b/media-video/mpv-mpris/mpv-mpris-.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -18,20 +18,38 @@ fi SLOT="0" LICENSE="MIT" -IUSE="+autoload" +IUSE="+autoload test" RDEPEND=" dev-libs/glib:2 media-video/mpv:=[cplugins,libmpv] " DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" +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() { dolib.so mpris.so use autoload && dosym -r /usr/$(get_libdir)/mpv/mpris.so /etc/mpv/scripts/mpris.so
[gentoo-commits] repo/proj/guru:dev commit in: media-video/mpv-mpris/
commit: 13beddbe34e5e6053341149a49024f6ee11981f0 Author: Oliver Freyermuth googlemail com> AuthorDate: Sat Mar 5 23:08:10 2022 + Commit: Oliver Freyermuth googlemail com> CommitDate: Sat Mar 5 23:08:10 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=13beddbe media-video/mpv-mpris: Fix broken library install path. This fixes the installation path for the library, which got broken in: c5daf69b839cb5b11f98c0a0401bc0219724bbd2 leading to a dangling symlink. Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Oliver Freyermuth googlemail.com> media-video/mpv-mpris/mpv-mpris-.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/media-video/mpv-mpris/mpv-mpris-.ebuild b/media-video/mpv-mpris/mpv-mpris-.ebuild index d56b88791..8814420b5 100644 --- a/media-video/mpv-mpris/mpv-mpris-.ebuild +++ b/media-video/mpv-mpris/mpv-mpris-.ebuild @@ -51,7 +51,8 @@ src_test() { } src_install() { - dolib.so mpris.so + insinto "/usr/$(get_libdir)/mpv" + doins mpris.so use autoload && dosym -r /usr/$(get_libdir)/mpv/mpris.so /etc/mpv/scripts/mpris.so einstalldocs }
[gentoo-commits] repo/proj/guru:dev commit in: media-video/mpv-mpris/
commit: 9eea32bdc7cfd1aab60614ab1fd941123edf7ebe Author: Oliver Freyermuth googlemail com> AuthorDate: Mon Oct 25 00:19:55 2021 + Commit: Oliver Freyermuth googlemail com> CommitDate: Mon Oct 25 00:19:55 2021 + 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 googlemail.com> media-video/mpv-mpris/Manifest| 1 + media-video/mpv-mpris/{mpv-mpris-.ebuild => mpv-mpris-0.6.ebuild} | 2 +- media-video/mpv-mpris/mpv-mpris-.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-.ebuild b/media-video/mpv-mpris/mpv-mpris-0.6.ebuild similarity index 99% copy from media-video/mpv-mpris/mpv-mpris-.ebuild copy to media-video/mpv-mpris/mpv-mpris-0.6.ebuild index 4bfc1e8b8..ccf53bf09 100644 --- a/media-video/mpv-mpris/mpv-mpris-.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-.ebuild b/media-video/mpv-mpris/mpv-mpris-.ebuild index 4bfc1e8b8..ccf53bf09 100644 --- a/media-video/mpv-mpris/mpv-mpris-.ebuild +++ b/media-video/mpv-mpris/mpv-mpris-.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
[gentoo-commits] repo/proj/guru:dev commit in: media-video/mpv-mpris/
commit: 5b8ea731eb48e9a81545c069643029734776e2fe Author: Oliver Freyermuth googlemail com> AuthorDate: Fri Apr 23 07:03:59 2021 + Commit: Oliver Freyermuth googlemail com> CommitDate: Fri Apr 23 07:04:09 2021 + 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 googlemail.com> media-video/mpv-mpris/mpv-mpris-0.5.ebuild | 2 +- media-video/mpv-mpris/mpv-mpris-.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-.ebuild b/media-video/mpv-mpris/mpv-mpris-.ebuild index ef693dac1..4bfc1e8b8 100644 --- a/media-video/mpv-mpris/mpv-mpris-.ebuild +++ b/media-video/mpv-mpris/mpv-mpris-.ebuild @@ -30,7 +30,7 @@ DOCS=( ) src_compile() { - emake CC="$(tc-getCC)" + emake CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)" } src_install() {
[gentoo-commits] repo/proj/guru:dev commit in: media-video/mpv-mpris/
commit: 48ba306a591d62cad7b1b8d91d7822c414377ea1 Author: Oliver Freyermuth googlemail com> AuthorDate: Thu Apr 22 22:18:09 2021 + Commit: Oliver Freyermuth googlemail com> CommitDate: Thu Apr 22 22:18:09 2021 + 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 googlemail.com> media-video/mpv-mpris/mpv-mpris-0.5.ebuild | 8 +++- media-video/mpv-mpris/mpv-mpris-.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-.ebuild b/media-video/mpv-mpris/mpv-mpris-.ebuild index 025424181..ef693dac1 100644 --- a/media-video/mpv-mpris/mpv-mpris-.ebuild +++ b/media-video/mpv-mpris/mpv-mpris-.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
[gentoo-commits] repo/proj/guru:dev commit in: media-video/mpv-mpris/
commit: 5690361135ffb707ca912c094d0c874afd1a66e4 Author: Oliver Freyermuth googlemail com> AuthorDate: Sat Jun 13 01:29:52 2020 + Commit: Oliver Freyermuth googlemail com> CommitDate: Sat Jun 13 01:30:01 2020 + 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 googlemail.com> media-video/mpv-mpris/mpv-mpris-0.5.ebuild | 4 ++-- media-video/mpv-mpris/mpv-mpris-.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-.ebuild b/media-video/mpv-mpris/mpv-mpris-.ebuild index f9abd91..0254241 100644 --- a/media-video/mpv-mpris/mpv-mpris-.ebuild +++ b/media-video/mpv-mpris/mpv-mpris-.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
[gentoo-commits] repo/proj/guru:dev commit in: media-video/mpv-mpris/
commit: 9ef79e7cec50c7f1bb959cc797f31a313916d3dd Author: Oliver Freyermuth googlemail com> AuthorDate: Tue Jun 2 17:05:53 2020 + Commit: Oliver Freyermuth googlemail com> CommitDate: Tue Jun 2 17:05:53 2020 + 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 googlemail.com> media-video/mpv-mpris/mpv-mpris-0.5.ebuild | 2 +- media-video/mpv-mpris/mpv-mpris-.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-.ebuild b/media-video/mpv-mpris/mpv-mpris-.ebuild index 290300d..f9abd91 100644 --- a/media-video/mpv-mpris/mpv-mpris-.ebuild +++ b/media-video/mpv-mpris/mpv-mpris-.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"
[gentoo-commits] repo/proj/guru:dev commit in: media-video/mpv-mpris/
commit: 99f678492d15f81466c38763b0fa2c48d0d6cc47 Author: Oliver Freyermuth googlemail com> AuthorDate: Tue Jun 2 16:33:44 2020 + Commit: Oliver Freyermuth googlemail com> CommitDate: Tue Jun 2 16:33:44 2020 + 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 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-.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 000..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 000..b7574b8 --- /dev/null +++ b/media-video/mpv-mpris/metadata.xml @@ -0,0 +1,15 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + +o.freyerm...@googlemail.com +Oliver Freyermuth + + +https://github.com/hoyon/mpv-mpris/issues +hoyon/mpv-mpris + + +Load plugin automatically + + 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 000..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} == ** ]]; 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-.ebuild b/media-video/mpv-mpris/mpv-mpris-.ebuild new file mode 100644 index 000..290300d --- /dev/null +++ b/media-video/mpv-mpris/mpv-mpris-.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} == ** ]]; 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 +}