Skip to content

Commit

Permalink
media-plugins/osdlyrics: add 0.5.14, drop 0.5.10, update live
Browse files Browse the repository at this point in the history
Signed-off-by: liuyujielol <[email protected]>
  • Loading branch information
liuyujielol committed Nov 6, 2023
1 parent 47b58df commit 8c19bd5
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 9 deletions.
2 changes: 1 addition & 1 deletion media-plugins/osdlyrics/Manifest
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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"
Expand Down Expand Up @@ -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
}
15 changes: 11 additions & 4 deletions media-plugins/osdlyrics/osdlyrics-9999.ebuild
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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"
Expand Down Expand Up @@ -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
}

0 comments on commit 8c19bd5

Please sign in to comment.