shithub: treason

Download patch

ref: 1b36716f0034856c80aa45ebfde74b0649b26186
parent: 2851666eb49698f989c23c94240f4a3f9d60f5d9
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Fri Jan 15 07:17:20 EST 2021

download a smaller 3rd party libs archive

--- a/install.rc
+++ b/install.rc
@@ -4,35 +4,17 @@
 
 cd ..
 
-echo downloading and building dav1d
-test -d dav1d || { hget https://git.sr.ht/~ft/dav1d/archive/master.tar.gz | tar xz && \
-	mv dav1d-master dav1d && \
+echo downloading and building 3rd party libraries
+test -d dav1d || { hget https://ftrv.se/_/treason3rd.tar.gz | tar xz && \
 	cd dav1d/src && \
 	mk && \
-	cd ../../
-}
-
-echo downloading and building faad2
-test -d faad2-master || { hget https://git.sr.ht/~ft/faad2/archive/master.tar.gz | tar xz && \
-	cd faad2-master/libfaad && \
+	cd ../../faad2/libfaad && \
 	mk install && \
 	cd ../frontend && \
 	mk install && \
-	cd ../..
-}
-
-echo downloading and building openh264
-test -d openh264 || { hget https://git.sr.ht/~ft/openh264/archive/master.tar.gz | tar xz && \
-	mv openh264-master openh264 && \
-	cd openh264/codec && \
+	cd ../../openh264/codec && \
 	mk && \
-	cd ../..
-}
-
-echo downloading and building libvpx
-test -d libvpx || { hget https://git.sr.ht/~ft/libvpx/archive/master.tar.gz | tar xz && \
-	mv libvpx-master libvpx && \
-	cd libvpx && \
+	cd ../../libvpx && \
 	mk && \
 	cd ..
 }