From 73ce17cba81f7dbf646f839a07d8b5d7b57b73bc Mon Sep 17 00:00:00 2001 From: odrling Date: Mon, 22 Jan 2024 08:53:08 +0100 Subject: [PATCH] media-video/aegisub: builtin bestsource --- media-video/aegisub/aegisub-9999.ebuild | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/media-video/aegisub/aegisub-9999.ebuild b/media-video/aegisub/aegisub-9999.ebuild index feaf9e2..ec9f1c0 100644 --- a/media-video/aegisub/aegisub-9999.ebuild +++ b/media-video/aegisub/aegisub-9999.ebuild @@ -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() {