mirror of
https://github.com/gentoo-mirror/gentoo-zh.git
synced 2025-04-19 07:48:56 -04:00
media-sound/youtube-music-bin: treeclean
Signed-off-by: oatiz <iamoatiz@gmail.com>
This commit is contained in:
parent
aca6afc86b
commit
c41897eea4
@ -1 +0,0 @@
|
||||
DIST youtube-music_2.2.0_amd64.deb 79043784 BLAKE2B 32edd630f8aeb4f8289b1e2d7d8dde4743c4bd51e42404d3ddc63720eab6f46bd68d47c80bc226b20a31f064954c40dae6312594fd3c834b7efc199db153facc SHA512 f2cda8159fe41ecc3e26922a2d823595f43562c78dba3d2c45a890177227594d44ce1bea4b295c76fc8318391a8414212b5e8bc36d9be0a62e0ac9c102957dc7
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<name>lyraile</name>
|
||||
<email>iamoatiz@gmail.com</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">th-ch/youtube-music</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,63 +0,0 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit unpacker desktop xdg
|
||||
|
||||
MY_PN="${PN/-bin/}"
|
||||
|
||||
DESCRIPTION="YouTube Music Desktop App bundled with custom plugins"
|
||||
HOMEPAGE="https://th-ch.github.io/youtube-music/"
|
||||
SRC_URI="https://github.com/th-ch/youtube-music/releases/download/v${PV}/${MY_PN}_${PV}_amd64.deb"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64"
|
||||
S="${WORKDIR}"
|
||||
|
||||
RDEPEND="
|
||||
app-accessibility/at-spi2-core:2
|
||||
app-crypt/libsecret
|
||||
dev-libs/nss
|
||||
x11-misc/xdg-utils
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libnotify
|
||||
x11-libs/libXtst
|
||||
"
|
||||
|
||||
RESTRICT="mirror strip"
|
||||
|
||||
QA_PREBUILT="
|
||||
opt/${MY_PN}/chrome-sandbox
|
||||
opt/${MY_PN}/chrome_crashpad_handler
|
||||
opt/${MY_PN}/libEGL.so
|
||||
opt/${MY_PN}/libffmpeg.so
|
||||
opt/${MY_PN}/libGLESv2.so
|
||||
opt/${MY_PN}/libvk_swiftshader.so
|
||||
opt/${MY_PN}/libvulkan.so.1
|
||||
opt/${MY_PN}/${MY_PN}
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i 's/\/opt\/YouTube Music/\/opt\/'${MY_PN}'/' usr/share/applications/"${MY_PN}".desktop || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /opt/"${MY_PN}"
|
||||
doins -r opt/"YouTube Music"/*
|
||||
|
||||
insinto /usr/share
|
||||
doins -r usr/share/icons
|
||||
|
||||
domenu usr/share/applications/"${MY_PN}".desktop
|
||||
|
||||
local f
|
||||
for f in ${QA_PREBUILT}; do
|
||||
fperms +x "/${f}"
|
||||
done
|
||||
|
||||
fperms u+s /opt/"${MY_PN}"/chrome-sandbox
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user