media-plugins/waylyrics: drop 0.4.0

Signed-off-by: Zakk <zakk@gentoozh.org>
This commit is contained in:
Zakk committed 2026-11-13 01:20:58 +11:00
1 parent 5029edc78a
commit c4dcabf3cf
2 files changed
-105

No files matched your search

-2
View File
@@ -1,5 +1,3 @@
DIST rust-dark-light-b8edef9072f7d38ae879129cde03bb1f40750c4c.gh.tar.gz 6848 BLAKE2B b7d68e32997b07653ba2235eb3f5b520c2b16c235d6d3ffe50acd7e74d443deb374e0d9da9cadd01529b84decbe311aada3c69ef05ab7319bc15c894b525568b SHA512 adde3a2cf64ebcc624df75f7b303984fd991f657d183f36f995036cce9b05234450d3dfee046e9e127e7f4893046a704db59621b1b45f93e9108751f25ab0aa2
DIST waylyrics-0.4.0-crates.tar.xz 50859164 BLAKE2B 9438bdd13cc6b35852a0dd7555916f43e59c5acf97a0aeb6a7d2bc0e09cf73df94a7c4a24d05e7d8926a068f6fce4a5bcdbd774a15590d5f59ec8a102a643362 SHA512 37f93698a45dbc65fdbb687e0a20e919ad6e9702b49814051d03df8e14e3764317b990ce78dba89682732c4ace63425135d67d5fca9d48df74f83ea7e0e84298
DIST waylyrics-0.4.0.tar.gz 562907 BLAKE2B 0482f6a1254d7a131fd108faab7b14f0c14b55fd5e1cf32ec4c95398ec3237e8cffe65b90d6690ce4399c4e9aae92c1cd93dd70155ee1d59305ac5a121f063d5 SHA512 56f8949ebc426dd9dc39efb6dc566abd2d6ea542922363f242d1f009ac940ff0f5d2d3ea6d98022bdac1ea541c91ac5210d378bbdf94a03bfb17108f8fed039d
DIST waylyrics-0.4.6-crates.tar.xz 53539868 BLAKE2B 2d052b266dd1c961ba5b04a612fc91da13e4492b3e522c0fc0530454267521a8756d49414dd27d005daa80cdb12a25e998e16b6fba1bbaefb4db3331702fb3ac SHA512 a623f225d7dd4f5aca03c1dc1ef75e6c5af3ac6845fc974d52d05c1e0a48b44450224470d86a5994cd02e8954e9f04f565099a655a9d5f2b865127423a94b27b
DIST waylyrics-0.4.6.tar.gz 561665 BLAKE2B c8a675f5eaa6e597236614ba329fdd8286745e07f5d7b36bdeffca73571ce7b088196b1c2634639d2590301bcb7c07e25ccbd667f35784d25a41e95127974c3c SHA512 4a76ecc78b364b3e1d0075ccd1ae194454bdf66eec74a20f649705ded11de316625f1fceba37f5deed3e68de32845f240c75bc28946e1f84b8a8276087cdc9d9
@@ -1,103 +0,0 @@
# Copyright 2024-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Autogenerated by pycargoebuild 0.15.1
EAPI=8
CRATES="
"
declare -A GIT_CRATES=(
[dark-light]='https://github.com/frewsxcv/rust-dark-light;b8edef9072f7d38ae879129cde03bb1f40750c4c;dark-light-%commit%'
)
PLOCALES="en_US it_IT zh_CN"
PLOCALE_BACKUP="en_US"
RUST_MIN_VER="1.92"
inherit cargo desktop gnome2-utils plocale xdg
DESCRIPTION="Simple On Screen lyrics Display for linux/unix"
HOMEPAGE="
https://waylyrics.github.io/waylyrics/waylyrics
https://github.com/waylyrics/waylyrics
"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/waylyrics/waylyrics.git"
else
SRC_URI="
https://github.com/waylyrics/waylyrics/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/gentoo-zh-drafts/${PN}/releases/download/v${PV}/${P}-crates.tar.xz
${CARGO_CRATE_URIS}
"
KEYWORDS="~amd64"
fi
LICENSE="MIT CC-BY-4.0"
# Dependent crate licenses
LICENSE+="
Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD CDLA-Permissive-2.0
GPL-3+ ISC MIT MPL-2.0 Unicode-3.0 Unlicense ZLIB
"
SLOT="0"
DEPEND="
dev-libs/glib:2
app-i18n/opencc
dev-libs/openssl:=
dev-libs/wayland
gnome-base/dconf
gui-libs/gtk:4
gui-libs/gtk4-layer-shell
sys-apps/dbus
sys-devel/gettext
x11-libs/cairo
"
RDEPEND="
${DEPEND}
sys-apps/xdg-desktop-portal
"
src_compile() {
export WAYLYRICS_THEME_PRESETS_DIR="/usr/share/${PN}/themes"
cargo_src_compile --all-targets --all-features
}
src_install() {
cargo_src_install
doicon -s scalable "${S}/res/icons/hicolor/scalable/apps/io.github.waylyrics.Waylyrics.svg"
domenu "${S}/metainfo/io.github.waylyrics.Waylyrics.desktop"
insinto "/usr/share/glib-2.0/schemas"
doins "${S}/metainfo/io.github.waylyrics.Waylyrics.gschema.xml"
insinto "/usr/share/metainfo"
doins "${S}/metainfo/io.github.waylyrics.Waylyrics.metainfo.xml"
insinto "/usr/share/${PN}"
doins -r themes
cd "${S}/locales" || die
install_locale() {
if [[ -f ${1}/LC_MESSAGES/waylyrics.po ]]; then
local file=${1}/LC_MESSAGES/waylyrics.po
msgfmt "${file}" -o "${file%.po}.mo" || die
insinto /usr/share/locale/${1}/LC_MESSAGES
doins "${file%.po}.mo"
fi
}
plocale_for_each_locale install_locale
}
pkg_postinst() {
gnome2_schemas_update
xdg_pkg_postinst
}
pkg_postrm() {
gnome2_schemas_update
xdg_pkg_postrm
}