Make vlc-plugins split package

This commit is contained in:
2026-01-07 12:58:59 +02:00
parent 83bacdc99b
commit 1bbc1be3ca
2 changed files with 28 additions and 12 deletions
+19 -12
View File
@@ -1,7 +1,7 @@
name: vlc name: vlc
description: Free and open source cross-platform multimedia player and framework description: Free and open source cross-platform multimedia player and framework
version: 3.0.23 version: 3.0.23
revision: 2 revision: 3
url: https://www.videolan.org/vlc/ url: https://www.videolan.org/vlc/
license: GPL2-or-later,LGPL2.1-or-later license: GPL2-or-later,LGPL2.1-or-later
architecture: any architecture: any
@@ -64,6 +64,7 @@ make_depends:
- protobuf-compiler - protobuf-compiler
- qt6-base - qt6-base
- qt6-svg - qt6-svg
- qt6-wayland
- speex - speex
- speexdsp - speexdsp
- taglib - taglib
@@ -80,13 +81,29 @@ downloads:
checksum: e891cae6aa3ccda69bf94173d5105cbc55c7a7d9b1d21b9b21666e69eff3e7e0 checksum: e891cae6aa3ccda69bf94173d5105cbc55c7a7d9b1d21b9b21666e69eff3e7e0
split_packages: split_packages:
- name: vlc - name: vlc
depends:
- bash
- libvlc
- libx11
- qt6-base
- qt6-svg
- qt6-wayland
- vlc-plugins
- wayland
- name: libvlc
description: Main VLC library
depends:
- dbus
- gcc-libs
- glibc
- name: vlc-plugins
description: VLC plugins
depends: depends:
- aalib - aalib
- abseil-cpp - abseil-cpp
- alsa-lib - alsa-lib
- libaom - libaom
- avahi - avahi
- bash
- cairo - cairo
- dav1d - dav1d
- dbus - dbus
@@ -135,20 +152,10 @@ split_packages:
- opus - opus
- pcsclite - pcsclite
- protobuf-compiler - protobuf-compiler
- qt6-base
- qt6-svg
- speex - speex
- speexdsp - speexdsp
- taglib - taglib
- wayland
- wayland-protocols
- x264 - x264
- x265 - x265
- xcb-util-keysyms - xcb-util-keysyms
- zlib - zlib
- name: libvlc
description: https://apps.kde.org/dragonplayer/
depends:
- dbus
- gcc-libs
- glibc
+9
View File
@@ -33,6 +33,10 @@ package_vlc() {
_pick libvlc usr/lib/pkgconfig _pick libvlc usr/lib/pkgconfig
_pick libvlc usr/lib/vlc/vlc-cache-gen _pick libvlc usr/lib/vlc/vlc-cache-gen
# Move plugins into split package
_pick vlc-plugins usr/lib/vlc/plugins
_pick vlc-plugins usr/lib/vlc/lua
# Install package license # Install package license
install -Dm644 "$BPM_SOURCE"/COPYING* -t "$BPM_OUTPUT"/usr/share/licenses/vlc install -Dm644 "$BPM_SOURCE"/COPYING* -t "$BPM_OUTPUT"/usr/share/licenses/vlc
} }
@@ -41,3 +45,8 @@ package_libvlc() {
# Install package license # Install package license
install -Dm644 "$BPM_SOURCE"/COPYING* -t "$BPM_OUTPUT"/usr/share/licenses/vlc install -Dm644 "$BPM_SOURCE"/COPYING* -t "$BPM_OUTPUT"/usr/share/licenses/vlc
} }
package_vlc-plugins() {
# Install package license
install -Dm644 "$BPM_SOURCE"/COPYING* -t "$BPM_OUTPUT"/usr/share/licenses/vlc
}