media-video/aegisub: builtin bestsource

This commit is contained in:
odrling 2024-01-22 08:53:08 +01:00
parent 2117f333fa
commit 73ce17cba8
No known key found for this signature in database
GPG Key ID: E24CA7508C27AF5B
1 changed files with 9 additions and 2 deletions

View File

@ -13,7 +13,7 @@ inherit meson lua-single wxwidgets xdg-utils git-r3
DESCRIPTION="Advanced subtitle editor"
HOMEPAGE="http://www.aegisub.org/ https://github.com/Aegisub/Aegisub"
EGIT_REPO_URI="https://github.com/odrling/${PN^}.git"
EGIT_REPO_URI="https://github.com/odrling/${PN^}.git https://github.com/vapoursynth/bestsource.git https://github.com/sekrit-twc/libp2p.git https://github.com/vapoursynth/vapoursynth.git"
EGIT_BRANCH="master"
_depctrlver="0.6.3-alpha"
_ffiexpver=b8897ead55b84ec4148e900882bff8336b38f939
@ -57,7 +57,6 @@ RDEPEND="
>=dev-libs/openssl-1.0.1h-r2:0
fonts? ( media-fonts/japan7-fonts-ttf )
vapoursynth? ( media-libs/vapoursynth )
bestsource? ( media-plugins/bestsource )
"
DEPEND="${RDEPEND}
>=dev-build/meson-0.56.0
@ -79,6 +78,14 @@ pkg_setup() {
src_unpack() {
default_src_unpack
git-r3_src_unpack
if use bestsource; then
git-r3_fetch "https://github.com/vapoursynth/bestsource.git" "ba1249c1f5443be6d0ec2be32490af5bbc96bf99"
git-r3_checkout "https://github.com/vapoursynth/bestsource.git" "${S}/subprojects/bestsource"
git-r3_fetch "https://github.com/sekrit-twc/libp2p.git" "5e65679ae54d0f9fa412ab36289eb2255e341625"
git-r3_checkout "https://github.com/sekrit-twc/libp2p.git" "${S}/subprojects/bestsource/libp2p"
git-r3_fetch "https://github.com/vapoursynth/vapoursynth.git" "R59"
git-r3_checkout "https://github.com/vapoursynth/bestsource.git" "${S}/subprojects/vapoursynth"
fi
}
src_prepare() {