Commit Graph

90 Commits

Author SHA1 Message Date
Khem Raj cdbdb57bb3 vlc: Disable recipe
OE-core has moved to ffmpeg7, vlc3 needs to be ported to work
with this version and vlc4 is not released yet.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-29 20:59:16 -07:00
Khem Raj 36fb679ef2 vlc: Upgrade to 3.0.21
Changes between 3.0.20 and 3.0.21:
----------------------------------

Decoders:
 * Improve Opus ambisonic support
 * Fix some ASS subtitle rendering issues
 * Fix Opus in MP4 behaviour
 * Fix VAAPI hw decoding with some drivers

Input:
 * Add support for HTTP content range handling according to RFC 9110
 * Fix some HLS Adaptive Streaming not working in audio-only mode

Video Output:
 * Super Resolution scaling with AMD GPUs
 * The D3D11 HDR option can also turn on/off HDR for all sources regardless of
   the display
 * Improve subtitles rendering on Apple platforms of notably Asian languages
   by correcting font fallback lookups

Video Filter:
 * New AMD VQ Enhancer filter
 * Add D3D11 option to use NVIDIA TrueHDR to generate HDR from SDR sources

Audio Output:
 * Fix regression on macOS causing crashes when using audio devices
   with more than 9 channels

Services Discovery:
 * Fix exposed UPnP directory URL schemes to be compliant with RFC 3986

Contrib:
 * Update FFmpeg to 4.4.4
 * Update dav1d to 1.4.2
 * Update libvpx to 1.14.1

libVLC:
 * the HWND passed to libvlc_media_player_set_hwnd must have the WS_CLIPCHILDREN
   style set.
 * Fix crashes when using caopengllayer

Misc:
 * Fix various warnings, leaks and potential crashes
 * Fix security integer overflow in MMS module

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-29 20:59:15 -07:00
Khem Raj 5413301d49 vlc: Backport fixes to enable GCC-14 based builds
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-23 08:44:41 -07:00
Alexander Kanavin 1d9962de9e vlc: do not depend on mpeg2dec
The format is obsolete, the code hasn't been touched in well over 10
years and the recipe is about to be removed from oe-core. VLC can still
access such files via its gstreamer module/ffmpeg.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-23 15:15:30 -07:00
Khem Raj b956b89fcd vlc: Fix build on 32bit x86
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-09 12:35:14 -08:00
Khem Raj 22c255b2e9 vlc: Upgrade to 3.0.20
Fix build with taglib 2.0

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-08 10:07:29 -08:00
Khem Raj ec86150015 libdvdcss: upgrade 1.4.2 -> 1.4.3
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-06 08:48:27 -08:00
Khem Raj 878e71e344 vlc: Fix build with gettext 0.22+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-10 06:49:11 -07:00
Khem Raj e30a2566ff vlc: Remove WORKDIR from CONFIGURE_LINE definition
This is emitted by configure into generated config.h which is used in
src/misc/messages.c and flows into binaries

Fixes
WARNING: vlc-3.0.18-r0 do_package_qa: QA Issue: File /usr/lib/libvlccore.so.9.0.1 in package libvlc contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-25 08:56:32 -07:00
Khem Raj 9e42462d5a meta-multimedia: Fix missing upstream status in several patches
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-04-05 20:34:24 -07:00
Khem Raj 9a6d101195 vlc: Upgrade to 3.0.18
Drop 64-bit time_t patch, its already fixed in 3.0.18
Add patches to fix buld with clang16 and musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-05 14:34:38 -08:00
Martin Jansa e99f187966 .patch: fix Upstream-Status formatting issues reported by patchreview tool from oe-core
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-27 17:06:52 -08:00
Khem Raj 4b50fb02cc recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Andreas Müller 3603a0b384 vlc: upgrade 3.0.12 -> 3.0.17-1 to fix build with ffmpeg5
* Tarballs are not (yet) avaliable -> get sources from git
* bison-native is required for yacc conversion
* yacc conversion is a not easy to read and not prepared for out of tree build
  To get around, use autotools-brokensep

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-03 08:50:19 -08:00
Andreas Müller 2509f659e4 All layers: Follow oe-core's variable name changes
Auto rename performed by oe-core's convert-variable-renames.py 0.1

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-24 08:35:24 -08:00
Andreas Müller e619d86433 vlc: Fix build with un-renameed native libtool
Fixes:
| ../doltlibtool: line 19: /home/superandy/tmp/oe-core-glibc/work/cortexa72-mortsgna-linux/vlc/3.0.12-r0/build/compat/../aarch64-mortsgna-linux-libtool: No such file or directory

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-12-21 18:53:28 -08:00
Martin Jansa c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Khem Raj dbd662de1c vlc: Exclude from world if commercial is not in inclusion list
Remove LICENSE_FLAGS setting as its no longer needed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andreas Müller <schnitzeltony@gmail.com>
2021-03-30 15:36:17 -07:00
Khem Raj fa0ef82344 vlc: Fix build with gcc 11
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andreas Müller <schnitzeltony@gmail.com>
2021-03-03 11:08:29 -08:00
Andreas Müller 29059f9c8f vlc: upgrade 3.0.11.1 -> 3.0.12
This at least a security upgrade. Although not mentioning CVEs in [1] it sounds
importand to upgrade.

[1] https://www.videolan.org/security/sb-vlc3012.html

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-01-21 17:50:42 -08:00
Khem Raj c9ed5424d9 vlc: Fix build on riscv32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-16 17:13:06 -08:00
Andreas Müller 0fd4433a24 vlc: upgrade 3.0.11 -> 3.0.11.1
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-20 12:47:40 -07:00
Andreas Müller cbbdf91509 vlc: upgrade 3.0.10 -> 3.0.11
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-19 10:17:50 -07:00
Andreas Müller 72c123f7bb libdvdcss: upgrade 1.3.0 -> 1.4.2
License checksum was changed by FSF address change

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-19 10:17:50 -07:00
Andreas Müller 2486d37877 vlc: upgrade 3.0.9.2 -> 3.0.10
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-08 22:00:37 -07:00
Andreas Müller aadbc77f8e vlc: Fix build with qt5 in PACKAGECONFIG and Qt >= 5.15 / renumber patches
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-06-08 22:00:37 -07:00
Khem Raj 0381df8146 vlc: Do not pin to ARM only ISA
this was added in 2011, and ever since it has remained so, but now vlc
can compile fine atleast with thumb2

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-16 11:40:40 -07:00
Khem Raj e7f454c6da vlc: Remove duplicate features_check inherit
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Martin Jansa <martin.jansa@gmail.com>
2020-04-16 11:40:40 -07:00
Khem Raj 0c4be31f62 vlc: Use pkgconfig to find userland graphics libs
Add mmal, x264, fluidsynth as packageconfigs so it can be easily
enabled/disabled by users

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andreas Müller <schnitzeltony@gmail.com>
2020-04-16 11:40:40 -07:00
Khem Raj ea0d7b6a52 vlc: Add check to require X11
It needs X11 as of now to build. there is a possiblily to build it
without X11, but lets keep this check until that path is fixed

Also fixes

TOPDIR/build/tmp/work/aarch64-yoe-linux/vlc/3.0.9.2-r0/recipe-sysroot-native/usr/bin/aarch64-yoe-linux/aarch64-yoe-linux-ld: cannot find -lGL

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-13 14:46:22 -07:00
Khem Raj deed8b4aaf vlc: Upgrade to 3.0.9.2
Add packageconfig for enabling wayland support

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-12 22:57:22 -07:00
Khem Raj a4004635b2 vlc: Depend on gst-1.0 plugins-bad instead of 0.10
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-04 11:23:44 -08:00
Khem Raj 5af9b2a3a9 vlc: Link with libatomic on rv64
Fixes
vlc-3.0.8/src/misc/picture_pool.c:200: undefined reference to `__atomic_fetch_add_2'
vlc-3.0.8/src/audio_output/dec.c:201: undefined reference to `__atomic_exchange_1'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-03 15:55:43 -08:00
Andreas Müller 02019291b2 vlc: add mime-xdg to inherit
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-19 02:20:59 -08:00
Denys Dmytriyenko 4c00e5fed9 recipes: rename distro_features_check to features_check
Avoid warning due to the class rename in OE-Core.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-21 17:51:37 -08:00
Adrian Bunk c986cbed93 vlc: Upgrade 3.0.6 -> 3.0.8
Workaround for riscv64 issue fixed upstream removed.
Also merge the inc into the recipe.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-10-28 15:26:43 -07:00
Anuj Mittal ecfe351e46 vlc: don't look at host headers for live555
Prevents errors when live555 is installed on build machine:

| ERROR: vlc-3.0.6-r0 do_configure: QA Issue: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.
| Rerun configure task after fixing this. [configure-unsafe]
| ERROR: vlc-3.0.6-r0 do_configure: Fatal QA errors found, failing task.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-27 12:11:16 -07:00
Adrian Bunk 065d20cff9 vlc: Remove the obsolete dependency on dbus-glib
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-10 09:24:32 -07:00
Adrian Bunk f0cdd50521 vlc: notify switched to GTK+3 some time ago
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-07-10 09:24:32 -07:00
Adrian Bunk d9b5e720a1 vlc: Remove workaround and patches for problems fixed upstream
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-09 20:34:33 -07:00
Andreas Müller a086334bce vlc: rework qt PACKAGECONFIG
* qt4 support is gone -> move to qt5
* while at it remove noop libtool copy

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-03 10:04:45 -07:00
Khem Raj f2728df71d vlc: Add -pthread on riscv
Fixes missing atomic symols during linking e.g.

vlc-3.0.6/src/misc/picture_pool.c:201: undefined reference to `__atomic_fetch_add_2'
collect2: error: ld returned 1 exit status

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-07 09:33:45 -08:00
Khem Raj da34efdc46 vlc: Upgrade to 3.0.6
Drop upstreamed patches or fixed differently upstream

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-03 14:00:26 -08:00
Ross Burton e8b9543fb9 vlc: use fribidi not libfribidi
The recipe is called fribidi, so use that instead of the PROVIDE.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-31 06:55:25 -07:00
Andreas Müller b6a43a2b1c vlc: remove gnome-vfs packageconfig
gnome-vfs is gone

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-03-29 16:48:44 -07:00
Mark Hatle f441696b67 recipes-multimedia: Add LICENSE_FLAGS
Multiple recipes require libmap, mpg123 or ffmpeg which all are defined
to have a LICENSE_FLAGS = "commercial".  Set these referring packages
to the same license flag so they are only enabled when their dependency
is also enabled.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2017-09-13 11:13:19 +02:00
Khem Raj 7c670ff337 vlc: Add packageconfig for vdpau
Fix packaging of libvlc_vdpau.so since this plugin
does not have soname version

Fixes

QA Issue: non -dev/-dbg/nativesdk- package contains symlink .so: vlc path '/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/vlc/2.2.2-r0/packages-split/vlc/usr/lib/vlc/libvlc_vdpau.so' [dev-so]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-11-26 01:07:22 +01:00
Martin Jansa dc48e768f5 meta-oe: remove trailing spaces
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-22 15:56:29 +02:00
Rafaël Carré 997688e21c vlc: add libpng PACKAGECONFIG (on by default)
WARNING: vlc-2.2.2-r0 do_package_qa: QA Issue: vlc rdepends on libpng, but it isn't a build dependency, missing libpng in DEPENDS or PACKAGECONFIG? [build-deps]
Signed-off-by: Rafaël Carré <funman@videolan.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-03-07 13:02:19 +01:00
Rafaël Carré bd1b046033 vlc: fix build with ffmpeg 3.0
Signed-off-by: Rafaël Carré <funman@videolan.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-03-07 13:02:19 +01:00