Initial Commit

This commit is contained in:
2026-01-06 14:33:28 +02:00
commit 80f7d25c10
4 changed files with 119 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
# Exclude bpm archives
*.bpm
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
# Gitlab repository
REPO="videolan/vlc"
# Replace slash with URL encoded representation
REPO=$(echo "$REPO" | sed 's|/|%2F|g')
# Get tag name using Gitlab Rest API
TAG_NAME=$(curl -s -L https://code.videolan.org/api/v4/projects/"$REPO"/repository/tags | jq -r '.[].name' | grep -v '-' | head -n1)
echo "$TAG_NAME"
+80
View File
@@ -0,0 +1,80 @@
name: vlc
description: Free and open source cross-platform multimedia player and framework
version: 3.0.23
revision: 1
url: https://www.videolan.org/vlc/
license: GPL2-or-later,LGPL2.1-or-later
architecture: any
type: source
depends:
- aalib
- abseil-cpp
- alsa-lib
- libaom
- avahi
- bash
- cairo
- dav1d
- dbus
- ffmpeg4.4
- flac
- fontconfig
- freetype2
- fribidi
- gcc-libs
- gdk-pixbuf
- glib
- glibc
- gnutls
- gst-plugins-base
- gtk3
- harfbuzz
- hicolor-icon-theme
- jack
- libarchive
- libass
- libglvnd
- libjpeg-turbo
- libmad
- libmtp
- libnfs
- libnotify
- libogg
- libpng
- libproxy
- libpulse
- librsvg
- libsamplerate
- libsecret
- libssh2
- libudev
- libva
- libvorbis
- libvpx
- libx11
- libxcb
- libxinerama
- libxml2
- libxpm
- lua
- mesa
- mpg123
- opus
- pcsclite
- protobuf-compiler
- qt6-base
- qt6-svg
- speex
- speexdsp
- taglib
- wayland
- wayland-protocols
- x264
- x265
- xcb-util-keysyms
- zlib
downloads:
- url: https://download.videolan.org/vlc/${BPM_PKG_VERSION}/vlc-${BPM_PKG_VERSION}.tar.xz
extract_to: ${BPM_SOURCE}
extract_strip_components: 1
checksum: e891cae6aa3ccda69bf94173d5105cbc55c7a7d9b1d21b9b21666e69eff3e7e0
+25
View File
@@ -0,0 +1,25 @@
# This is the source.sh script. It is executed by BPM in a temporary directory when compiling a source package
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
BUILDCC=gcc ./configure --prefix=/usr --prefix=/usr --disable-libplacebo
make
}
# The check function is executed in the source directory
# This function is used to run tests to verify the package has been compiled correctly
check() {
make check
}
# The package function is executed in the source directory
# This function is used to move the compiled files into the output directory
package() {
make DESTDIR="$BPM_OUTPUT" install
# Install package license
install -Dm644 "$BPM_SOURCE"/COPYING* -t "$BPM_OUTPUT"/usr/share/licenses/vlc
}