Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DO NOT MERGE] PR hosting develop builds of VLC 4 #194

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
96 changes: 43 additions & 53 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,17 +19,16 @@ 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
add-ld-path: lib
no-autodownload: true
autodelete: true
rename-appdata-file: vlc.appdata.xml
rename-appdata-file: org.videolan.vlc.appdata.xml
rename-desktop-file: vlc.desktop
rename-icon: vlc
copy-icon: true
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 @@ -342,12 +342,13 @@ modules:
- -DCMAKE_POSITION_INDEPENDENT_CODE=ON
sources:
- type: archive
url: https://bitbucket.org/multicoreware/x265_git/downloads/x265_4.1.tar.gz
sha256: a31699c6a89806b74b0151e5e6a7df65de4b49050482fe5ebf8a4379d7af8f29
x-checker-data:
type: anitya
project-id: 7275
url-template: https://bitbucket.org/multicoreware/x265_git/downloads/x265_$version.tar.gz
url: https://download.videolan.org/videolan/x265/x265_4.0.tar.gz
sha256: 75b4d05629e365913de3100b38a459b04e2a217a8f30efaa91b572d8e6d71282
# Do not update to 4.1 for now, some API changes has been reverted
# x-checker-data:
# type: anitya
# project-id: 7275
# url-template: https://download.videolan.org/videolan/x265/x265_$version.tar.gz
- name: dav1d
buildsystem: meson
sources:
Expand All @@ -373,14 +374,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 +456,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 +479,21 @@ modules:
- name: libplacebo
buildsystem: meson
config-opts:
- -Dvulkan=false
- -Dvulkan=enabled
- -Dshaderc=enabled
cleanup:
- /include
- /lib/pkgconfig
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.]+)$
- name: lmdb
sources:
- sha256: dd70a8c67807b3b8532b3e987b0a4e998962ecc28643e1af5ec77696b081c9b0
Expand Down Expand Up @@ -623,6 +613,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 +640,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: b606a740e85520f3f1e6f49811ef71da14ea13e1
- 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.

30 changes: 13 additions & 17 deletions vlc-fix-appdata.patch
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
diff --git a/share/vlc.appdata.xml.in.in b/share/vlc.appdata.xml.in.in
index cc9c39a..e55c8d6 100644
--- a/share/vlc.appdata.xml.in.in
+++ b/share/vlc.appdata.xml.in.in
@@ -14,11 +14,12 @@
VCDs, and various streaming protocols.
</p>
</description>
+ <content_rating type="oars-1.1" />
<url type="homepage">https://www.videolan.org/vlc/</url>
diff --git a/share/org.videolan.vlc.appdata.xml.in.in b/share/org.videolan.vlc.appdata.xml.in.in
index 0a66303c92..e103973433 100644
--- a/share/org.videolan.vlc.appdata.xml.in.in
+++ b/share/org.videolan.vlc.appdata.xml.in.in
@@ -18,7 +18,7 @@
<url type="bugtracker">https://trac.videolan.org/vlc/</url>
<url type="donation">https://www.videolan.org/contribute.html</url>
<releases>
Expand All @@ -16,23 +11,24 @@ index cc9c39a..e55c8d6 100644
</releases>
<provides>
<library>libvlc.so.5</library>
@@ -26,16 +27,9 @@
@@ -26,17 +26,10 @@
<project_group>VideoLAN</project_group>
<project_license>GPL-2.0+</project_license>
<developer_name>VideoLAN et al.</developer_name>
- <update_contact>vlc-devel -- videolan.org</update_contact>
+ <update_contact>matmaul_at_gmail.com</update_contact>
++ <update_contact>mathieu --at-- velten.xyz</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>
- <screenshot>
- <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>
- <screenshot>
- <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>
</screenshots>
<content_rating type="oars-1.1" />
</component>
Loading