media-sound/yesplaymusic-bin: bump to 0.4.8 & drop old

This commit is contained in:
Nurali Abdukadir 2024-08-07 11:09:57 +08:00 committed by 梁永祥
parent 4f7d7f8665
commit 04f8ddb47a
4 changed files with 5 additions and 61 deletions

View File

@ -1,2 +1 @@
DIST yesplaymusic-0.4.6.pacman 65833888 BLAKE2B 08185b0a3aa63fb0e6d38ef60fd54d342785d91be5cb06b6a7546044cc254466c764b815f4d2ab98c99d8a4b52892f87b675b20b6f8e148040e60475602868cf SHA512 765db58b6238b261fdf599be4bc0966b5dfed9710537f803011be125e19a8ca71b6656a784e0af29b1c62abeaa99d04f1ebda16039b7f119dd0aa55daec78719
DIST yesplaymusic-0.4.7.pacman 65835000 BLAKE2B 0c88d4da141d9f22cf4ceda0b9162eb955a3972a4fdc246bf345ae168a9ef217783c9ae2df63ce1cc36e30db4e322031922bad13283011acf7b3b225efbfde65 SHA512 77d247f553e7667b25549f23f22493ba4fdc4debbdc21622d9027d574824f070590c551b61e522225171d30d4ff5c7bfa7b4cf50b91a7e04828543b58b8ac5ff
DIST yesplaymusic-0.4.8.pacman 78528060 BLAKE2B f2d11419880b1b5e290b523acd54e06742e8eecb145e3bcab8216bd7721919deac89022b3c169ad906964bb671ad7c84f7130b9a79d82960405053e70da8d40d SHA512 fd361088ad04875de6d43cb6dc7ff4cc46b60c55751ca0f49b11faf703bc9e1067f57991c3bf1db057040cc9bc95fe229c983611d57e586d6e076b20821e2d33

View File

@ -6,6 +6,6 @@ Terminal=false
Type=Application
Icon=yesplaymusic
StartupWMClass=YesPlayMusic
Comment=A third party music player for Netease Music
Comment=A third party music player for Netease Cloud Music
Comment[zh_CN]=
Categories=Music;AudioVideo;Player;

View File

@ -1,55 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop xdg
DESCRIPTION="A third party music player for Netease Music"
HOMEPAGE="https://github.com/qier222/YesPlayMusic"
BASE_URI="https://github.com/qier222/YesPlayMusic/releases/download/v${PV}"
SRC_URI="${BASE_URI}/${PN%-bin}-${PV}.pacman"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="mirror strip"
QA_PRESTRIPPED="*"
RDEPEND="
app-arch/gzip
dev-libs/nss
media-libs/alsa-lib
net-print/cups
x11-libs/gtk+:*
x11-libs/libxkbcommon"
S="${WORKDIR}"
QA_PREBUILT="
opt/YesPlayMusic/chrome-sandbox
opt/YesPlayMusic/libEGL.so
opt/YesPlayMusic/libGLESv2.so
opt/YesPlayMusic/libffmpeg.so
opt/YesPlayMusic/libvk_swiftshader.so
opt/YesPlayMusic/libvulkan.so.1
opt/YesPlayMusic/swiftshader/libEGL.so
opt/YesPlayMusic/swiftshader/libGLESv2.so
opt/YesPlayMusic/yesplaymusic
"
src_unpack(){
tar xf "${DISTDIR}/yesplaymusic-${PV}.pacman" || die
}
src_install(){
insinto "/opt"
doins -r "${S}/opt/YesPlayMusic"
for si in 16 24 32 48 64 128 256 512; do
doicon -s ${si} usr/share/icons/hicolor/${si}x${si}/apps/${PN%-bin}.png
done
domenu "${FILESDIR}/${PN%-bin}.desktop"
fperms 0755 "/opt/YesPlayMusic/yesplaymusic"
}

View File

@ -7,9 +7,11 @@ inherit desktop xdg
DESCRIPTION="A third party music player for Netease Music"
HOMEPAGE="https://github.com/qier222/YesPlayMusic"
BASE_URI="https://github.com/qier222/YesPlayMusic/releases/download/v${PV}"
BASE_URI="https://github.com/qier222/YesPlayMusic/releases/download/v${PV}-2"
SRC_URI="${BASE_URI}/${PN%-bin}-${PV}.pacman"
S="${WORKDIR}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
@ -26,8 +28,6 @@ RDEPEND="
x11-libs/gtk+:*
x11-libs/libxkbcommon"
S="${WORKDIR}"
QA_PREBUILT="
opt/YesPlayMusic/chrome-sandbox
opt/YesPlayMusic/libEGL.so