diff --git a/media-plugins/osdlyrics/Manifest b/media-plugins/osdlyrics/Manifest index 9caefc08e48..01c0e89b0dc 100644 --- a/media-plugins/osdlyrics/Manifest +++ b/media-plugins/osdlyrics/Manifest @@ -1,2 +1,2 @@ -DIST osdlyrics-0.5.10.tar.gz 555876 BLAKE2B 37b7833167202f7b0e056b35583ce1e84fe138e59f6b63f2af7de2a1a4aae2aa815404123f2d5f08ad9e93504b1eef02e909929eef412126452af337deece385 SHA512 caa86cb8a85edca078c499cd38f4a6e180b1f5d42928df3fdb8bb9916dcc2c6a77c7798145f26db04dd03ac426c06e0fb7cc133bb82d3ad83ce14214c13226b2 DIST osdlyrics-0.5.11.tar.gz 556142 BLAKE2B b7ab63a52e5759694f47de92a6fd180a117105422f7909e2be4aeb34ca54322c0a18b0743f96493394901726cb9f569947547eb4c0543670dd9a10597b6cf3bf SHA512 883f7cadbeecb7492e608460137f561ef59a6228ce1be67ba0cf5425c648ff8399ab8644d100b67c4938ec546ce7af5f0d7e0c092b581b467d4e16c161070079 +DIST osdlyrics-0.5.14.tar.gz 556229 BLAKE2B ab61ff2fc19db368edb4cdf9d178fd40f746ac03f2c3d79c5ce72f6775f45b5d6aebea91f71313f4433035ff82401903f18c5294e16b3b1967a66ff353e85c03 SHA512 fa29ef7f9ba44a14f95bdcf2b4434330156f2d1d2c43450a8ec409d71f268753e80d427e43b34e117442489252fc4b1f095812d5906be23cab4ab09a6e296214 diff --git a/media-plugins/osdlyrics/osdlyrics-0.5.10-r1.ebuild b/media-plugins/osdlyrics/osdlyrics-0.5.14.ebuild similarity index 84% rename from media-plugins/osdlyrics/osdlyrics-0.5.10-r1.ebuild rename to media-plugins/osdlyrics/osdlyrics-0.5.14.ebuild index 1ee0991a678..23d409fd0f1 100644 --- a/media-plugins/osdlyrics/osdlyrics-0.5.10-r1.ebuild +++ b/media-plugins/osdlyrics/osdlyrics-0.5.14.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{9..11} ) -inherit python-r1 autotools xdg +inherit python-r1 autotools optfeature xdg DESCRIPTION="Standalone lyrics fetcher/displayer (windowed and OSD mode)." HOMEPAGE="https://github.com/osdlyrics/osdlyrics" @@ -14,7 +14,7 @@ SLOT="0" if [[ "${PV}" == 9999 ]]; then inherit git-r3 - KEYWORDS="" + #KEYWORDS="" EGIT_REPO_URI="https://github.com/osdlyrics/osdlyrics.git" else KEYWORDS="~amd64" @@ -67,3 +67,10 @@ src_compile() { src_install() { python_foreach_impl run_in_build_dir default } + +pkg_postinst() { + xdg_pkg_postinst + if has_version media-sound/mpd; then + optfeature "to interface with MPD" dev-python/python-mpd2 + fi +} diff --git a/media-plugins/osdlyrics/osdlyrics-9999.ebuild b/media-plugins/osdlyrics/osdlyrics-9999.ebuild index 1ee0991a678..23d409fd0f1 100644 --- a/media-plugins/osdlyrics/osdlyrics-9999.ebuild +++ b/media-plugins/osdlyrics/osdlyrics-9999.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 PYTHON_COMPAT=( python3_{9..11} ) -inherit python-r1 autotools xdg +inherit python-r1 autotools optfeature xdg DESCRIPTION="Standalone lyrics fetcher/displayer (windowed and OSD mode)." HOMEPAGE="https://github.com/osdlyrics/osdlyrics" @@ -14,7 +14,7 @@ SLOT="0" if [[ "${PV}" == 9999 ]]; then inherit git-r3 - KEYWORDS="" + #KEYWORDS="" EGIT_REPO_URI="https://github.com/osdlyrics/osdlyrics.git" else KEYWORDS="~amd64" @@ -67,3 +67,10 @@ src_compile() { src_install() { python_foreach_impl run_in_build_dir default } + +pkg_postinst() { + xdg_pkg_postinst + if has_version media-sound/mpd; then + optfeature "to interface with MPD" dev-python/python-mpd2 + fi +}