Skip to content

Commit 83e61a0

Browse files
committed
feat(player): Integrate VLC libraries for cross-platform support
1 parent 44acfc0 commit 83e61a0

File tree

1,534 files changed

+1485
-14
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,534 files changed

+1485
-14
lines changed

.github/workflows/build-desktop.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -200,21 +200,18 @@ jobs:
200200
id: release_body
201201
shell: bash
202202
run: |
203-
WARNING_MSG="> ⚠️ **运行此应用程序前请保证本地已安装 VLC 播放器,否则会导致此应用程序无法正常运行**"
204203
if [[ "${{ github.ref }}" =~ [Aa]lpha ]]; then
205204
{
206205
echo "WARNING_TEXT<<EOF"
207-
echo "新增若干功能,优化使用体验,详情请参考 git commit 日志"
208-
echo ""
209-
echo "⚠️ **此版本为开发中的版本,请酌情下载安装。**"
206+
echo "集成 VLC 播放器,详情请参考 git commit 日志"
210207
echo ""
211208
echo "**当前应用中没有展示出来或者点击没有反应的就是还没做的功能,后面陆续都会实现,请仅对已实现的功能提出合理意见**"
209+
echo "> **此版本为开发中的版本,请酌情下载安装。**"
210+
echo ""
212211
echo "EOF"
213212
} >> $GITHUB_ENV
214-
echo "VLC_WARNING=$WARNING_MSG" >> $GITHUB_ENV
215213
else
216214
echo "WARNING_TEXT=" >> $GITHUB_ENV
217-
echo "VLC_WARNING=$WARNING_MSG" >> $GITHUB_ENV
218215
fi
219216
220217
- name: Create Release
@@ -225,8 +222,6 @@ jobs:
225222
prerelease: ${{ contains(github.ref, '-') }}
226223
body: |
227224
${{ env.WARNING_TEXT }}
228-
229-
${{ env.VLC_WARNING }}
230225
generate_release_notes: true
231226
env:
232227
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 1 addition & 3 deletions

composeApp/appResources/README.md

Lines changed: 11 additions & 0 deletions
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash
2+
3+
#
4+
# Copyright (C) 2024-2025 OpenAni and contributors.
5+
#
6+
# 此源代码的使用受 GNU AFFERO GENERAL PUBLIC LICENSE version 3 许可证的约束, 可以在以下链接找到该许可证.
7+
# Use of this source code is governed by the GNU AGPLv3 license, which can be found at the following link.
8+
#
9+
# https://github.com/open-ani/ani/blob/main/LICENSE
10+
#
11+
12+
export APPDIR="$(dirname "$(readlink -f "$0")")"
13+
export PATH="$APPDIR/usr/bin/:$PATH"
14+
export LD_LIBRARY_PATH="$APPDIR/usr/lib:$PATH"
15+
export XDG_DATA_DIRS="$APPDIR/usr/share/:/usr/share/:$XDG_DATA_DIRS"
16+
17+
"$APPDIR"/usr/bin/Ani $@
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[Desktop Entry]
2+
Name=Animeko
3+
Comment=集找番、追番、看番的一站式弹幕追番平台
4+
Exec=Ani
5+
Icon=icon
6+
Terminal=false
7+
Type=Application
8+
Categories=AudioVideo;Player;Video;
12.5 KB
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
prefix=/usr
2+
exec_prefix=${prefix}
3+
libdir=${prefix}/lib/x86_64-linux-gnu
4+
includedir=${prefix}/include
5+
6+
Name: LibVLC control API
7+
Description: VLC media player external control library
8+
Version: 3.0.20
9+
Cflags: -I${includedir}
10+
Libs: -L${libdir} -lvlc
11+
Libs.private: -lvlccore
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
libvlc.so.5.6.1
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
libvlc.so.5.6.1
154 KB
Binary file not shown.

0 commit comments

Comments
 (0)