stremio-shell: use create_wrksrc

This commit is contained in:
Đoàn Trần Công Danh 2022-10-27 18:59:15 +07:00
parent c9dbbfd7d4
commit bb20574bb1
1 changed files with 4 additions and 2 deletions

View File

@ -4,6 +4,7 @@ version=4.4.159
revision=1
_singleapplication_hash=f1e15081dc57a9c03f7f4f165677f18802e1437a
_libmpv_hash=822a41a1087daf2911fc336fbd9509f962158fef
create_wrksrc=yes
build_style=qmake
hostmakedepends="qt5-host-tools qt5-qmake"
makedepends="mpv-devel qt5-webview-devel qt5-webengine-devel
@ -28,10 +29,11 @@ checksum="aca0e5bf026e31399571f5cdc1485cbb2540e7ad7b981f10adb0e87ee47b9af5
skip_extraction="server.js stremio.asar"
post_extract() {
mv stremio-shell-$version/* .
rmdir deps/singleapplication
mv ../SingleApplication-${_singleapplication_hash} deps/singleapplication
mv SingleApplication-${_singleapplication_hash} deps/singleapplication
rmdir deps/libmpv
mv ../libmpv-${_libmpv_hash} deps/libmpv
mv libmpv-${_libmpv_hash} deps/libmpv
}
post_install() {