media-video/popcorntime-bin: unpin nwjs dependency

Turns out those localisation files are just the ones from nwjs, they
are identical. This has the nice side-effect of simplifying the
ebuild, and also makes the app work with ffmpeg-7+

Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org>
This commit is contained in:
Nowa Ammerlaan 2025-12-04 16:56:18 +01:00
parent 3478331a5f
commit 0aa984f95c
No known key found for this signature in database
GPG Key ID: A2E2304370447E8E
2 changed files with 6 additions and 30 deletions

View File

@ -1 +1 @@
DIST popcorntime-bin-0.5.1-r3-amd64.deb 150327218 BLAKE2B 230fa548d2f47fa774164704aef703f75bf543fb666ce73300bc1c56b1ee1b3133e229d02608c7584b72f81550c1bc480b8368128efdb38b77ee4061dac44224 SHA512 de2a3538da8e98d5d8ba3adc88355adec1c6c681a6bf82a46c678a38e1989d5754659e6f9f9dab9c197ec507d0c90b6b60ca3a068f861abb0cbbbf7020f68a97
DIST popcorntime-bin-0.5.1-r4-amd64.deb 150327218 BLAKE2B 230fa548d2f47fa774164704aef703f75bf543fb666ce73300bc1c56b1ee1b3133e229d02608c7584b72f81550c1bc480b8368128efdb38b77ee4061dac44224 SHA512 de2a3538da8e98d5d8ba3adc88355adec1c6c681a6bf82a46c678a38e1989d5754659e6f9f9dab9c197ec507d0c90b6b60ca3a068f861abb0cbbbf7020f68a97

View File

@ -3,13 +3,7 @@
EAPI=8
CHROMIUM_LANGS="
af am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi
hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv
sw ta te th tr uk ur vi zh-CN zh-TW
"
inherit chromium-2 desktop unpacker xdg
inherit desktop unpacker xdg
DESCRIPTION="BitTorrent client that includes an integrated media player"
HOMEPAGE="https://github.com/popcorn-time-ru/popcorn-desktop"
@ -25,30 +19,11 @@ KEYWORDS="-* ~amd64 ~x86"
RESTRICT="bindist mirror"
RDEPEND="
~dev-libs/nwjs-0.86.0[sdk(-)]
dev-libs/nwjs[sdk(-)]
"
QA_PREBUILT="opt/Popcorn-Time/*"
pkg_pretend() {
chromium_suid_sandbox_check_kernel_config
}
src_prepare() {
default
# cleanup languages
pushd "opt/Popcorn-Time/locales" || die
# No l10n use entries for these langs
rm ar-XB.pak* en-XA.pak* || die
chromium_remove_language_paks
popd || die
}
src_configure() {
chromium_suid_sandbox_check_kernel_config
default
}
src_install() {
doicon -s 256 "usr/share/icons/butter.png"
@ -62,6 +37,7 @@ src_install() {
chrome_crashpad_handler
icudtl.dat
lib
locales
minidump_stackwalk
nw
nw_100_percent.pak
@ -72,7 +48,7 @@ src_install() {
)
for file in ${nwjs_files[@]}; do
dosym ."./nwjs/${file}" "${DESTDIR}/${file}"
dosym "../nwjs/${file}" "${DESTDIR}/${file}"
done
exeinto "${DESTDIR}"
@ -81,7 +57,7 @@ src_install() {
insinto "${DESTDIR}"
doins package.json git.json
insopts -m0755
doins -r locales src node_modules
doins -r src node_modules
dosym "${DESTDIR}"/Popcorn-Time /opt/bin/Popcorn-Time