Skip to content

Commit

Permalink
Alpha test
Browse files Browse the repository at this point in the history
  • Loading branch information
MatMaul committed Jan 20, 2025
1 parent fc6813b commit 59094aa
Show file tree
Hide file tree
Showing 4 changed files with 80 additions and 255 deletions.
123 changes: 77 additions & 46 deletions org.videolan.VLC.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
app-id: org.videolan.VLC
runtime: org.kde.Platform
runtime-version: 5.15-24.08
runtime-version: '6.8'
sdk: org.kde.Sdk
command: vlc
finish-args:
- --require-version=0.11.4
- --share=ipc
- --socket=x11
- --socket=wayland
- --socket=fallback-x11
- --socket=pulseaudio
- --share=network
- --filesystem=host
Expand All @@ -18,10 +19,9 @@ finish-args:
- --talk-name=org.mpris.MediaPlayer2.Player
- --own-name=org.mpris.MediaPlayer2.vlc
- --device=all
- --filesystem=xdg-run/gvfs
add-extensions:
org.videolan.VLC.Plugin:
versions: 3-5.15-24.08;3-24.08
versions: 4-6.8;4-24.08
directory: share/vlc/extra
subdirectories: true
merge-dirs: plugins
Expand All @@ -43,7 +43,7 @@ cleanup-commands:
- mkdir -p /app/share/vlc/extra
- ln -s /app/share/vlc/extra/plugins /app/lib/vlc/plugins/extra
- rm -f /app/lib/vlc/plugins/plugins.dat
- /app/lib/vlc/vlc-cache-gen /app/lib/vlc/plugins
- /app/libexec/vlc/vlc-cache-gen /app/lib/vlc/plugins
build-options:
env:
V: '1'
Expand Down Expand Up @@ -373,14 +373,14 @@ modules:
- --enable-libopus
sources:
- type: archive
url: https://ffmpeg.org/releases/ffmpeg-4.4.5.tar.xz
sha256: f9514e0d3515aee5a271283df71636e1d1ff7274b15853bcd84e144be416ab07
url: https://ffmpeg.org/releases/ffmpeg-7.1.tar.xz
sha256: 40973d44970dbc83ef302b0609f2e74982be2d85916dd2ee7472d30678a7abe6
x-checker-data:
type: anitya
project-id: 5405
versions:
'>=': '4'
<: '5'
'>=': '7'
'<': '8'
url-template: https://ffmpeg.org/releases/ffmpeg-$version.tar.xz
- shared-modules/libsecret/libsecret.json
# libgcrypt-1.11.0 build fails with freedeskop 24.08
Expand Down Expand Up @@ -455,20 +455,6 @@ modules:
type: anitya
project-id: 10017
url-template: https://github.com/libmtp/libmtp/releases/download/v$version/libmtp-$version.tar.gz
- name: chromaprint
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
- -DBUILD_SHARED_LIBS=ON
- -DCMAKE_POSITION_INDEPENDENT_CODE=ON
sources:
- type: archive
url: https://github.com/acoustid/chromaprint/releases/download/v1.5.1/chromaprint-1.5.1.tar.gz
sha256: a1aad8fa3b8b18b78d3755b3767faff9abb67242e01b478ec9a64e190f335e1c
x-checker-data:
type: anitya
project-id: 286
url-template: https://github.com/acoustid/chromaprint/releases/download/v$version/chromaprint-$version.tar.gz
- name: fluidlite
buildsystem: cmake-ninja
config-opts:
Expand All @@ -492,18 +478,63 @@ modules:
- name: libplacebo
buildsystem: meson
config-opts:
- -Dvulkan=false
- -Dvulkan=enabled
- -Dshaderc=enabled
sources:
- type: archive
url: https://github.com/haasn/libplacebo/archive/refs/tags/v0.2.1.tar.gz
sha256: d5d920a1745e4209287d32e8b96a85127b61b843304813980e11104cd9f15e82
x-checker-data:
type: anitya
project-id: 20101
versions:
'>=': '0.2'
<: '0.3'
url-template: https://github.com/haasn/libplacebo/archive/refs/tags/v$version.tar.gz
- type: git
url: https://code.videolan.org/videolan/libplacebo.git
mirror-urls:
- https://github.com/haasn/libplacebo.git
tag: v5.264.1
commit: ed29e541a55acf28022738440b2a925386292551
# x-checker-data:
# type: git
# tag-pattern: ^v([\d.]+)$
modules:
- name: shaderc
buildsystem: cmake-ninja
builddir: true
config-opts:
- -DSHADERC_SKIP_COPYRIGHT_CHECK=ON
- -DSHADERC_SKIP_EXAMPLES=ON
- -DSHADERC_SKIP_TESTS=ON
- -DSPIRV_SKIP_EXECUTABLES=ON
- -DENABLE_GLSLANG_BINARIES=OFF
cleanup:
- /bin
- /lib/cmake
sources:
- type: git
url: https://github.com/google/shaderc.git
tag: v2023.4
commit: 45b735dfddefe26a99b77e5a74e30d860713ac64
# x-checker-data:
# type: git
# tag-pattern: ^v(\d{4}\.\d{1,2})$
- type: git
url: https://github.com/KhronosGroup/SPIRV-Tools.git
tag: v2023.2
commit: 44d72a9b36702f093dd20815561a56778b2d181e
dest: third_party/spirv-tools
# x-checker-data:
# type: git
# tag-pattern: ^v(\d{4}\.\d{1})$
- type: git
url: https://github.com/KhronosGroup/SPIRV-Headers.git
tag: sdk-1.3.246.1
commit: 1feaf4414eb2b353764d01d88f8aa4bcc67b60db
dest: third_party/spirv-headers
# x-checker-data:
# type: git
# tag-pattern: ^sdk-([\d.]+)$
- type: git
url: https://github.com/KhronosGroup/glslang.git
tag: 12.2.0
commit: d1517d64cfca91f573af1bf7341dc3a5113349c0
dest: third_party/glslang
# x-checker-data:
# type: git
# tag-pattern: ^(\d{1,2}\.\d{1,2}\.\d{1,4})$
- name: lmdb
sources:
- sha256: dd70a8c67807b3b8532b3e987b0a4e998962ecc28643e1af5ec77696b081c9b0
Expand Down Expand Up @@ -623,6 +654,15 @@ modules:
url-template: https://github.com/protocolbuffers/protobuf/releases/download/v$version/protobuf-cpp-3.$version.tar.gz
cleanup:
- /bin
- name: medialibrary
buildsystem: meson
config-opts:
- -Dlibvlc=disabled
- -Dlibtool_workaround=true
sources:
- type: archive
url: https://code.videolan.org/videolan/medialibrary/-/archive/0.13.1/medialibrary-0.13.1.tar.bz2
sha256: e838dc093eae490879f69ca8b07dd5de90367bc8693943f4eefa38289c33ec2d
- name: vlc
config-opts:
- BUILDCC=/usr/bin/gcc -std=gnu99
Expand All @@ -641,20 +681,11 @@ modules:
- tar xf chrpath-0.16.tar.gz && cd chrpath-0.16 && ./configure && make
- ./chrpath-0.16/chrpath -d /app/lib/vlc/plugins/access/liblibbluray_plugin.so
sources:
- type: archive
url: https://download.videolan.org/videolan/vlc/3.0.21/vlc-3.0.21.tar.xz
sha256: 24dbbe1d7dfaeea0994d5def0bbde200177347136dbfe573f5b6a4cee25afbb0
x-checker-data:
type: anitya
project-id: 6504
versions:
'>=': '3'
<: '4'
url-template: https://download.videolan.org/videolan/vlc/$version/vlc-$version.tar.xz
- type: git
url: https://code.videolan.org/videolan/vlc.git
commit: 3c8ec534e26513c6ce769b2aa9a34e3f831d43fc
- type: patch
path: vlc-fix-appdata.patch
- type: patch
path: vlc-disc-shortcuts.patch
- type: patch
path: vlc-ignore-time-for-cache.patch
- type: file
Expand Down
115 changes: 0 additions & 115 deletions vlc-disc-shortcuts.patch

This file was deleted.

6 changes: 3 additions & 3 deletions vlc-fix-appdata.patch
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ index cc9c39a..e55c8d6 100644
+ <update_contact>matmaul_at_gmail.com</update_contact>
<screenshots>
- <screenshot type="default">
- <image>http://images.videolan.org/vlc/screenshots/2.0.0/vlc-2.0-poney.jpg</image>
- <image>https://images.videolan.org/vlc/screenshots/2.0.0/vlc-2.0-poney.jpg</image>
- </screenshot>
- <screenshot type="default">
- <image>http://images.videolan.org/vlc/screenshots/2.0.0/vlc-2.0-gnome3-open.jpg</image>
- <image>https://images.videolan.org/vlc/screenshots/2.0.0/vlc-2.0-gnome3-open.jpg</image>
- </screenshot>
- <screenshot type="default">
- <image>http://images.videolan.org/vlc/screenshots/2.0.0/vlc-2.0-gnome3-debian.jpg</image>
- <image>https://images.videolan.org/vlc/screenshots/2.0.0/vlc-2.0-gnome3-debian.jpg</image>
- </screenshot>
+ <screenshot type="default"><image type="source">https://raw.githubusercontent.com/flathub/org.videolan.VLC/master/vlc_screenshot_gnome3.jpg</image></screenshot>
+ <screenshot><image type="source">https://raw.githubusercontent.com/flathub/org.videolan.VLC/master/vlc_screenshot_gnome3_dark.jpg</image></screenshot>
Expand Down
Loading

0 comments on commit 59094aa

Please sign in to comment.