Make vlc-plugins split package
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
name: vlc
|
||||
description: Free and open source cross-platform multimedia player and framework
|
||||
version: 3.0.23
|
||||
revision: 2
|
||||
revision: 3
|
||||
url: https://www.videolan.org/vlc/
|
||||
license: GPL2-or-later,LGPL2.1-or-later
|
||||
architecture: any
|
||||
@@ -64,6 +64,7 @@ make_depends:
|
||||
- protobuf-compiler
|
||||
- qt6-base
|
||||
- qt6-svg
|
||||
- qt6-wayland
|
||||
- speex
|
||||
- speexdsp
|
||||
- taglib
|
||||
@@ -80,13 +81,29 @@ downloads:
|
||||
checksum: e891cae6aa3ccda69bf94173d5105cbc55c7a7d9b1d21b9b21666e69eff3e7e0
|
||||
split_packages:
|
||||
- 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:
|
||||
- aalib
|
||||
- abseil-cpp
|
||||
- alsa-lib
|
||||
- libaom
|
||||
- avahi
|
||||
- bash
|
||||
- cairo
|
||||
- dav1d
|
||||
- dbus
|
||||
@@ -135,20 +152,10 @@ split_packages:
|
||||
- opus
|
||||
- pcsclite
|
||||
- protobuf-compiler
|
||||
- qt6-base
|
||||
- qt6-svg
|
||||
- speex
|
||||
- speexdsp
|
||||
- taglib
|
||||
- wayland
|
||||
- wayland-protocols
|
||||
- x264
|
||||
- x265
|
||||
- xcb-util-keysyms
|
||||
- zlib
|
||||
- name: libvlc
|
||||
description: https://apps.kde.org/dragonplayer/
|
||||
depends:
|
||||
- dbus
|
||||
- gcc-libs
|
||||
- glibc
|
||||
|
||||
@@ -33,6 +33,10 @@ package_vlc() {
|
||||
_pick libvlc usr/lib/pkgconfig
|
||||
_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 -Dm644 "$BPM_SOURCE"/COPYING* -t "$BPM_OUTPUT"/usr/share/licenses/vlc
|
||||
}
|
||||
@@ -41,3 +45,8 @@ package_libvlc() {
|
||||
# Install package license
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user