-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
317 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule borealis
updated
25 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
diff --git a/libavcodec/vitadec_video.c b/libavcodec/vitadec_video.c | ||
index 8e0b6348c5..6a391be944 100644 | ||
--- a/libavcodec/vitadec_video.c | ||
+++ b/libavcodec/vitadec_video.c | ||
@@ -270,7 +270,7 @@ fail: | ||
return false; | ||
} | ||
|
||
-static void do_mem_free(VitaDecodeBufferFreeParams *p) | ||
+static void __attribute__((optimize("no-optimize-sibling-calls"))) do_mem_free(VitaDecodeBufferFreeParams *p) | ||
{ | ||
sceKernelFreeMemBlock(*p->mb); | ||
} | ||
@@ -285,7 +285,7 @@ static bool do_unmap_open(VitaDecodeBufferAllocParams *p) | ||
return true; | ||
} | ||
|
||
-static void do_unmap_close(VitaDecodeBufferFreeParams *p) | ||
+static void __attribute__((optimize("no-optimize-sibling-calls"))) do_unmap_close(VitaDecodeBufferFreeParams *p) | ||
{ | ||
sceCodecEngineCloseUnmapMemBlock(*p->mb); | ||
} | ||
@@ -302,7 +302,7 @@ static bool do_vaddr_alloc(VitaDecodeBufferAllocParams *p) | ||
return true; | ||
} | ||
|
||
-static void do_vaddr_free(VitaDecodeBufferFreeParams *p) | ||
+static void __attribute__((optimize("no-optimize-sibling-calls"))) do_vaddr_free(VitaDecodeBufferFreeParams *p) | ||
{ | ||
SceUID *unmap = p->ref; | ||
SceUIntVAddr *vaddr = p->ptr; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
FROM vitasdk/vitasdk:latest | ||
|
||
MAINTAINER xfangfang <[email protected]> | ||
|
||
RUN apk update && \ | ||
apk add cmake ninja meson pkgconf bash git zstd tar patch && \ | ||
git config --global --add safe.directory $(pwd) | ||
|
||
# Install VDPM Dependencies | ||
ADD . /vdpm | ||
RUN vdpm sdl2 mbedtls libass harfbuzz fribidi freetype libpng libwebp && \ | ||
adduser --gecos '' --disabled-password builder && \ | ||
echo 'builder ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers.d/builder && \ | ||
chown -R builder:builder /vdpm && \ | ||
ls -l /vdpm && \ | ||
su - builder -c "cd /vdpm/ffmpeg && vita-makepkg" && \ | ||
vdpm /vdpm/ffmpeg/*-arm.tar.xz && \ | ||
touch /tmp/vdpm_install_ffmpeg && \ | ||
su - builder -c "cd /vdpm/mpv_gxm && vita-makepkg" && \ | ||
vdpm /vdpm/mpv_gxm/*-arm.tar.xz && \ | ||
touch /tmp/vdpm_install_mpv && \ | ||
su - builder -c "cd /vdpm/curl && vita-makepkg" && \ | ||
vdpm /vdpm/curl/*-arm.tar.xz && \ | ||
touch /tmp/vdpm_install_curl && \ | ||
rm -rf /vdpm | ||
|
||
RUN mkdir /src/ &&\ | ||
echo \#\!/bin/bash -i >> /entrypoint.sh &&\ | ||
echo >> /entrypoint.sh &&\ | ||
echo "set -e" >> /entrypoint.sh &&\ | ||
echo "cd /src" >> /entrypoint.sh &&\ | ||
echo "echo \"\$@\"" >> /entrypoint.sh &&\ | ||
echo "bash -c \"\$@\"" >> /entrypoint.sh &&\ | ||
chmod +x /entrypoint.sh | ||
|
||
VOLUME /src/ | ||
WORKDIR /src/ | ||
SHELL ["/bin/bash", "-i", "-c"] | ||
ENTRYPOINT ["/entrypoint.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
pkgname=mpv | ||
pkgver=e6f1d2fe199d3442150cef71de2aca3f7a554047 | ||
pkgrel=3 | ||
url="https://mpv.io/" | ||
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/xfangfang/mpv/archive/${pkgver}.tar.gz") | ||
sha256sums=('SKIP') | ||
depends=('sdl2' 'libass' 'ffmpeg') | ||
|
||
prepare() { | ||
cd $pkgname-$pkgver | ||
} | ||
|
||
build() { | ||
cd $pkgname-$pkgver | ||
meson setup build --prefix=$prefix --cross-file crossfile.txt \ | ||
--default-library static \ | ||
-Diconv=disabled \ | ||
-Dlua=disabled \ | ||
-Djpeg=disabled \ | ||
-Dopensles=disabled \ | ||
-Dlibavdevice=disabled \ | ||
-Dmanpage-build=disabled \ | ||
-Dhtml-build=disabled \ | ||
-Dsdl2=enabled \ | ||
-Dlibmpv=true \ | ||
-Dgxm=enabled \ | ||
-Dvitashark=enabled \ | ||
-Dcplayer=false | ||
|
||
meson compile -C build | ||
} | ||
|
||
package () { | ||
cd $pkgname-$pkgver | ||
DESTDIR=$pkgdir meson install -C build | ||
} |
Oops, something went wrong.