summaryrefslogtreecommitdiff
path: root/media-video
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-08-12 06:32:46 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-08-12 06:32:46 +0100
commit28e3d252dc8ac8a5635206dfefe1cfe05058d1db (patch)
treee75bce604750fb72e53ed3684059e2e5d2094509 /media-video
parentf625b9919a60a30f1bd860f7d1b2eac183ced593 (diff)
gentoo resync : 12.08.2018
Diffstat (limited to 'media-video')
-rw-r--r--media-video/Manifest.gzbin28392 -> 28390 bytes
-rw-r--r--media-video/vlc/Manifest11
-rw-r--r--media-video/vlc/files/vlc-3.0.3-fribidi-1.patch80
-rw-r--r--media-video/vlc/files/vlc-9999-libupnp-slot-1.8.patch18
-rw-r--r--media-video/vlc/metadata.xml2
-rw-r--r--media-video/vlc/vlc-3.0.3-r1.ebuild1
-rw-r--r--media-video/vlc/vlc-3.0.9999.ebuild21
-rw-r--r--media-video/vlc/vlc-9999.ebuild39
8 files changed, 130 insertions, 42 deletions
diff --git a/media-video/Manifest.gz b/media-video/Manifest.gz
index ac86db594733..ad582c07b38d 100644
--- a/media-video/Manifest.gz
+++ b/media-video/Manifest.gz
Binary files differ
diff --git a/media-video/vlc/Manifest b/media-video/vlc/Manifest
index a5485f450dfa..c93f3cc62450 100644
--- a/media-video/vlc/Manifest
+++ b/media-video/vlc/Manifest
@@ -12,11 +12,12 @@ AUX vlc-2.2.8-libupnp-compat.patch 815 BLAKE2B 059a1f572e39d09dc206a6af36bc5e50b
AUX vlc-2.2.8-libupnp-slot-1.8.patch 725 BLAKE2B eb217ef57f0709fa1d0bdf1644610588f373e17d18c2642ee6489ca00311772307d8fc67a07ecc8d29810b80aa8f14c40298285c3319d8ddede2552d28d2837e SHA512 890b91405cbf6105c932566fd7799fdccd1b27f1e0df0c6dae1511aeead2c28eb5fea7642b01af1abbcf546aae0559408c0ddf2ec82c92809f3b02d1d477bb51
AUX vlc-3.0.1-qt-5.11.patch 350 BLAKE2B e0980ebbefa94d9388785c12fa5cba666eb3681fa94b0c512018475477974502ce0df4aa4939865f43c2bf393654db902df5f070edd802296f1d3ef71b8caeb0 SHA512 66aad0ec32d1a96f65566b04eb9c0b4574824e281940fe5c0de54ac5f92189693a9f2576203d2c8562d7174ec5315cbbd683d93c481d16119d3038e30a58cbf5
AUX vlc-3.0.3-fix-disable-vlm.patch 1366 BLAKE2B a0ebb75f8b171063dfc4490ed8abfcad515cac85a618bcd0e157fda71a6673023d45682a5c5507ffbc1412e15f1edb3cd0e3f1e5095d9d5ce5dfb0ae51488e36 SHA512 544c3f57112e7c37c1fc3a853e45b6ca3c186ee70734cd755365b233cbd481257ec0a7be8e8213c55ee6c6110a2ee8c0d4bce50eab67cdd57cb4e74a9edab862
-AUX vlc-9999-libupnp-slot-1.8.patch 757 BLAKE2B 816ef97e0dc7218ed49ee8880aaa94649f2cffd4792520549c2627d0bc77a0ce6f7ec31538a740e0db75cb62e2c65b881aae50a955e7db95254c41e833aae898 SHA512 ad0831ddef22849f05d7c325e11723613f99f5b37cbf6a6361396375431f7ea7f7c113a412ee3f77e8822355e22abfa8c2c51c5eab0d4bd4db36b239ab01175b
+AUX vlc-3.0.3-fribidi-1.patch 3406 BLAKE2B d7c670a57a442a1f093f4ca72c84b633bafcf5a631f0a31af45109cf0cedc1761f93817c26b412fc1af0a7ee8a9f84b5e318d210d4e78c95a989af37d99410f4 SHA512 403524d92607e8862836fbbdd4f32c064ee67dac521fbbfdd474d4b057b76e006cca6e9541d95765451eb147320111ef1774b6399e05ce9d32db61430ab4ef2a
+AUX vlc-9999-libupnp-slot-1.8.patch 763 BLAKE2B 6bc8cf46f029db27d6d30d96e871d3bcfddee004e4e8469e1526a6a38fb5cc11a24a19888443e5f9062d7145665d594e142c12f3a9693967f195bab3b33ada38 SHA512 dd3375997a1935d3a227231785f35e300e3f992034da6a9c3019e28c68c1f005cbdd67190672264b342abc719e69005f965599f7af975e2bbd4cfccd89e3770d
DIST vlc-2.2.8.tar.xz 22137276 BLAKE2B 10780f79a5c45c44b8fb76f229512da3932883da4a1b292745cabc8544ed251a080813ef233c9438766f3e635bee40ef64b929f3d43e0d457907093be1edd2f9 SHA512 adde16f4b4bd2d94f104bb3b99995df6bf4603bc67333c7615cb8d1d31ca63440b6b0aa93de9ccf0dba717cf905577c7d0bca7baba63caf401790b82eac3e04a
DIST vlc-3.0.3.tar.xz 24941592 BLAKE2B dd6e27b10064ecae1c6f64459d2ed172d09f8dc1414c4d96bf66e8b3104154154229bb5d638955c855b6cf471b8630196b170db94b61506c7e0dd42bec8fbb20 SHA512 1569cefa6623b2631a832679bc9a63ebeba222901e5221d254e896a68d2ee467054da8de9eda566924e80a11bb29a673a9f0c4243793845547d8027b58a238ab
EBUILD vlc-2.2.8-r1.ebuild 14828 BLAKE2B b3f586131caf059eb621eb3d8b5a4acef12ea8e5a55aa5445b372777e9c67c5444e2c5ff0a2045d3a7c151b7453a10dfe6f55121b4afc7bbf2adcb065f94fa85 SHA512 de4c8f6b34dd6be0d7657c69fd926ba88e2d49fe2185d368693532c73d9ae497326742dc8608beca7f970c55a49e7471fb165a969b813cd2ac4b51afdcd4576d
-EBUILD vlc-3.0.3-r1.ebuild 13310 BLAKE2B d82054e40b55266e527b109ab3ffe712099a78ab65ac045b6903fa1b459428114e01a950981c69ecf5f697a329228c492bbdea6b96c3e5682de9bcd0427cef29 SHA512 f7f6d5c06e6c2b6205d067038788168b3c74e7fd3ad70a5dfba35d1dc71e22a1b4677435f7bf06533af07cd8cfdca94d5cbb9ab9477cfd30cbf060f6f8aac1be
-EBUILD vlc-3.0.9999.ebuild 13258 BLAKE2B a854c15e9d55053045a0579adb86b09e2e9666d90418c3e8de2bf93d005fba065b65896ff9a7ed5b5db5b1a2400a82ab62809a7eb99b07047daa9939dedc729d SHA512 86781b905ced59d14c9d6955d57ed4f9e076f2d2f5ca95d13cfd1171c285ef6cd7d1bbee11ea427bfd4250db3511fdfdb9782f1a7e6e78aa5e6163c428d3aa97
-EBUILD vlc-9999.ebuild 13182 BLAKE2B 7fe08b02b5cc03fa81a439c36a23725052047704bdf9d7cf38c05467108a5a539d3b87af99beb795094a2581558b20be8a281c3417ea717b4d6b420d28017c15 SHA512 9e7b21a95098c4a853efff043f3f00474b0a3e14c1ef17cac0ce579555bc5de4562561a5a0bbba3024030607b8fd94549ac917d684f4853e157a4961a478dcda
-MISC metadata.xml 6544 BLAKE2B 206a3f6f2f0f7b081db92625b722460814fb2ac71a579c3e32cffbbe2cdb4a49c89b25eb151052999ba9c56c82b0cf61da6c2e05eb01518e0d97a5371e14e29e SHA512 b9bc5b98d1ea0ee567d7b552afe9af9110ab8cacb5194cfa90800ae9fb021200eb3e983f45459649029e852584dee20c8ec844c1f158e514005b99d3d9f965e7
+EBUILD vlc-3.0.3-r1.ebuild 13359 BLAKE2B 668dd6af48ac14b1d76303ef31aa545b80dd6759ce6a3642108439e68ea641aa8bdc3f4d54c7d2c11d63f9759bbe3fccbe96ae6f922eb228e6a20e30a84a7937 SHA512 fceddfbae1c6d4fa1c7a5877b11e3459e1b2ad7f3f1f0d2b8e673dfd21bcf374bbab2cf8a9f469dd8f78a42a8d7db1595dcb0bb9c6b575a26300b1e41ec4dd5b
+EBUILD vlc-3.0.9999.ebuild 13254 BLAKE2B f832f75df4fc3870c5f2c773016f082d845b228d79f1cb5af0221d0f66ad9662151f15e4060b7e077011e8ce6e43aa513cba7eedf7239b3b7119ebc5ab9a37fe SHA512 22a62210fea9004186863009beafc5ed813eed61f8fd13e04e29fb26b1babaf5a51102472c8d035aa17e529f5aa7a77fdc89d1036cb014e8f65c185beb772945
+EBUILD vlc-9999.ebuild 13209 BLAKE2B 47add64565abb5e7f4fc44729f67de84d6bfe7bc025819d3f986d9497207bdb12c4a27462d917ae18197fe31899a252eed8aaf3efd80a0350e7c2c32d21e7706 SHA512 86bfd49188514a5ccd813590f8ec8eff9bd55d751b8c2f6057d250031bbcbe3dade0a18a55bfaba07ea7b11f42208d431fe04dc7c79a500679268a9cdf4fc49b
+MISC metadata.xml 6729 BLAKE2B 876e4e6ff75fd7c20ccb373acbdcb830aa44fcc3c22277ec23ac4a9e2130d88253e20bb280d4f7151341deb557071b73eac3edfbf950f822902bd1011e826903 SHA512 23ef149f37722137c3c3fc320f6bca126084edb0af94b2f6446735294bd933b575c2cfe0984100ff8f0dd333a7672657963428687537f4c69392852b87ed2dbb
diff --git a/media-video/vlc/files/vlc-3.0.3-fribidi-1.patch b/media-video/vlc/files/vlc-3.0.3-fribidi-1.patch
new file mode 100644
index 000000000000..4431025a21e2
--- /dev/null
+++ b/media-video/vlc/files/vlc-3.0.3-fribidi-1.patch
@@ -0,0 +1,80 @@
+From 26e2d3906658c30f2f88f4b1bc9630ec43bf5525 Mon Sep 17 00:00:00 2001
+From: Shaleen Jain <shaleen@jain.sh>
+Date: Sun, 25 Feb 2018 18:42:27 +0530
+Subject: [PATCH] fribidi: update for version 1.0
+
+Update functions deprecated in version 1.0 when building with release 1.0 and
+above.
+
+Signed-off-by: Thomas Guillem <thomas@gllm.fr>
+---
+ modules/text_renderer/freetype/text_layout.c | 24 ++++++++++++++++++++
+ 1 file changed, 24 insertions(+)
+
+diff --git a/modules/text_renderer/freetype/text_layout.c b/modules/text_renderer/freetype/text_layout.c
+index 13efd567b46..1a28786d097 100644
+--- a/modules/text_renderer/freetype/text_layout.c
++++ b/modules/text_renderer/freetype/text_layout.c
+@@ -153,6 +153,9 @@ typedef struct paragraph_t
+
+ #ifdef HAVE_FRIBIDI
+ FriBidiCharType *p_types;
++#if FRIBIDI_MAJOR_VERSION >= 1
++ FriBidiBracketType *p_btypes;
++#endif
+ FriBidiLevel *p_levels;
+ FriBidiStrIndex *pi_reordered_indices;
+ FriBidiParType paragraph_type;
+@@ -361,6 +364,9 @@ static paragraph_t *NewParagraph( filter_t *p_filter,
+ #ifdef HAVE_FRIBIDI
+ p_paragraph->p_levels = vlc_alloc( i_size, sizeof( *p_paragraph->p_levels ) );
+ p_paragraph->p_types = vlc_alloc( i_size, sizeof( *p_paragraph->p_types ) );
++#if FRIBIDI_MAJOR_VERSION >= 1
++ p_paragraph->p_btypes = vlc_alloc( i_size, sizeof( *p_paragraph->p_btypes ) );
++#endif
+ p_paragraph->pi_reordered_indices =
+ vlc_alloc( i_size, sizeof( *p_paragraph->pi_reordered_indices ) );
+
+@@ -398,6 +404,9 @@ static paragraph_t *NewParagraph( filter_t *p_filter,
+ #ifdef HAVE_FRIBIDI
+ if( p_paragraph->p_levels ) free( p_paragraph->p_levels );
+ if( p_paragraph->p_types ) free( p_paragraph->p_types );
++#if FRIBIDI_MAJOR_VERSION >= 1
++ if( p_paragraph->p_btypes ) free( p_paragraph->p_btypes );
++#endif
+ if( p_paragraph->pi_reordered_indices )
+ free( p_paragraph->pi_reordered_indices );
+ #endif
+@@ -424,6 +433,9 @@ static void FreeParagraph( paragraph_t *p_paragraph )
+ #ifdef HAVE_FRIBIDI
+ free( p_paragraph->pi_reordered_indices );
+ free( p_paragraph->p_types );
++#if FRIBIDI_MAJOR_VERSION >= 1
++ free( p_paragraph->p_btypes );
++#endif
+ free( p_paragraph->p_levels );
+ #endif
+
+@@ -436,10 +448,22 @@ static int AnalyzeParagraph( paragraph_t *p_paragraph )
+ fribidi_get_bidi_types( p_paragraph->p_code_points,
+ p_paragraph->i_size,
+ p_paragraph->p_types );
++#if FRIBIDI_MAJOR_VERSION >= 1
++ fribidi_get_bracket_types( p_paragraph->p_code_points,
++ p_paragraph->i_size,
++ p_paragraph->p_types,
++ p_paragraph->p_btypes );
++ fribidi_get_par_embedding_levels_ex( p_paragraph->p_types,
++ p_paragraph->p_btypes,
++ p_paragraph->i_size,
++ &p_paragraph->paragraph_type,
++ p_paragraph->p_levels );
++#else
+ fribidi_get_par_embedding_levels( p_paragraph->p_types,
+ p_paragraph->i_size,
+ &p_paragraph->paragraph_type,
+ p_paragraph->p_levels );
++#endif
+
+ #ifdef HAVE_HARFBUZZ
+ hb_unicode_funcs_t *p_funcs = hb_unicode_funcs_get_default();
diff --git a/media-video/vlc/files/vlc-9999-libupnp-slot-1.8.patch b/media-video/vlc/files/vlc-9999-libupnp-slot-1.8.patch
index 893f936b729e..15ffc6af6fa4 100644
--- a/media-video/vlc/files/vlc-9999-libupnp-slot-1.8.patch
+++ b/media-video/vlc/files/vlc-9999-libupnp-slot-1.8.patch
@@ -1,16 +1,16 @@
---- a/modules/services_discovery/upnp.hpp 2017-12-25 18:17:33.358015500 +0100
-+++ b/modules/services_discovery/upnp.hpp 2017-12-25 18:30:45.158167813 +0100
+--- a/modules/services_discovery/upnp-wrapper.hpp 2017-12-25 18:17:33.358015500 +0100
++++ b/modules/services_discovery/upnp-wrapper.hpp 2017-12-25 18:30:45.158167813 +0100
@@ -35,8 +35,8 @@
- #include <windows.h>
- #include <wincrypt.h>
- #endif
--#include <upnp/upnp.h>
--#include <upnp/upnptools.h>
+ #include <algorithm>
+ #include <assert.h>
+
+-#include <upnp.h>
+-#include <upnptools.h>
+#include <upnp-1.8/upnp.h>
+#include <upnp-1.8/upnptools.h>
- #include <vlc_common.h>
- #include <vlc_url.h>
+ #if UPNP_VERSION < 10800
+ typedef void* UpnpEventPtr;
--- a/configure.ac 2017-12-09 14:09:12.956370304 +0100
+++ b/configure.ac 2017-12-09 14:13:25.236710362 +0100
diff --git a/media-video/vlc/metadata.xml b/media-video/vlc/metadata.xml
index da0fee395798..1ce2f06bd571 100644
--- a/media-video/vlc/metadata.xml
+++ b/media-video/vlc/metadata.xml
@@ -8,6 +8,7 @@
<use>
<flag name="aom">Enable experimental support for AV1 codec</flag>
<flag name="archive">Enable support for libarchive stream extractor</flag>
+ <flag name="aribsub">Enable support for decoding ARIB STD-B24 subtitles</flag>
<flag name="atmo">Enable support for AtmoLight (homebrew Ambient Lighting Technology)</flag>
<flag name="audioqueue">Enable AudioQueue audio module for Mac OS X</flag>
<flag name="avcodec">Enable libavcodec support for video/audio encoding/decoding. libavcodec is part of FFmpeg</flag>
@@ -30,6 +31,7 @@
<flag name="gstreamer">Enable GStreamer based decoding support (currently supports only video decoding)</flag>
<flag name="httpd">Enable a web based interface for vlc</flag>
<flag name="kate">Adds support for Ogg Kate subtitles via libkate</flag>
+ <flag name="kms">Enable kernel mode setting video output plugin via <pkg>x11-libs/libdrm</pkg></flag>
<flag name="libtar">Uses libtar instead of the built-in tar reader for reading custom skins</flag>
<flag name="libtiger">Enable Ogg Kate subtitles rendering using libtiger</flag>
<flag name="linsys">Enable support for Linux Linear Systems Ltd. SDI and HD-SDI input cards</flag>
diff --git a/media-video/vlc/vlc-3.0.3-r1.ebuild b/media-video/vlc/vlc-3.0.3-r1.ebuild
index 3a76f2f5cf9d..f446a7144305 100644
--- a/media-video/vlc/vlc-3.0.3-r1.ebuild
+++ b/media-video/vlc/vlc-3.0.3-r1.ebuild
@@ -230,6 +230,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-2.2.8-freerdp-2.patch # bug 590164
"${FILESDIR}"/${PN}-3.0.1-qt-5.11.patch # TODO upstream
"${FILESDIR}"/${P}-fix-disable-vlm.patch # bug 649798
+ "${FILESDIR}"/${P}-fribidi-1.patch # bug 662662
)
DOCS=( AUTHORS THANKS NEWS README doc/fortunes.txt )
diff --git a/media-video/vlc/vlc-3.0.9999.ebuild b/media-video/vlc/vlc-3.0.9999.ebuild
index efc70e7337f3..ba1680c7e687 100644
--- a/media-video/vlc/vlc-3.0.9999.ebuild
+++ b/media-video/vlc/vlc-3.0.9999.ebuild
@@ -21,7 +21,7 @@ else
fi
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 -sparc ~x86 ~x86-fbsd"
fi
-inherit autotools flag-o-matic gnome2-utils toolchain-funcs versionator virtualx xdg-utils ${SCM}
+inherit autotools flag-o-matic gnome2-utils toolchain-funcs virtualx xdg-utils ${SCM}
DESCRIPTION="Media player and framework with support for most multimedia files and streaming"
HOMEPAGE="https://www.videolan.org/vlc/"
@@ -29,14 +29,14 @@ HOMEPAGE="https://www.videolan.org/vlc/"
LICENSE="LGPL-2.1 GPL-2"
SLOT="0/5-9" # vlc - vlccore
-IUSE="a52 alsa altivec aom archive bidi bluray cddb chromaprint chromecast dbus dc1394
- debug directx dts +dvbpsi dvd +encode faad fdk +ffmpeg flac fluidsynth fontconfig
- +gcrypt gme gnome-keyring gstreamer ieee1394 jack jpeg kate libass libav libcaca
- libnotify +libsamplerate libtar libtiger linsys lirc live lua macosx-notifications
- macosx-qtkit matroska modplug mp3 mpeg mtp musepack ncurses neon nfs ogg
- omxil opencv optimisememory opus png postproc projectm pulseaudio +qt5 rdp rtsp
- run-as-root samba schroedinger sdl-image sftp shout sid skins soxr speex srt ssl svg
- taglib theora tremor truetype twolame udev upnp vaapi v4l vdpau vnc vorbis vpx
+IUSE="a52 alsa altivec aom archive aribsub bidi bluray cddb chromaprint chromecast dbus
+ dc1394 debug directx dts +dvbpsi dvd +encode faad fdk +ffmpeg flac fluidsynth
+ fontconfig +gcrypt gme gnome-keyring gstreamer ieee1394 jack jpeg kate libass
+ libav libcaca libnotify +libsamplerate libtar libtiger linsys lirc live lua
+ macosx-notifications macosx-qtkit matroska modplug mp3 mpeg mtp musepack ncurses
+ neon nfs ogg omxil opencv optimisememory opus png postproc projectm pulseaudio +qt5
+ rdp rtsp run-as-root samba schroedinger sdl-image sftp shout sid skins soxr speex srt ssl
+ svg taglib theora tremor truetype twolame udev upnp vaapi v4l vdpau vnc vorbis vpx
wayland wma-fixed +X x264 x265 xml zeroconf zvbi cpu_flags_x86_mmx cpu_flags_x86_sse
"
REQUIRED_USE="
@@ -61,6 +61,7 @@ RDEPEND="
alsa? ( media-libs/alsa-lib:0 )
aom? ( media-libs/libaom:= )
archive? ( app-arch/libarchive:= )
+ aribsub? ( media-libs/aribb24 )
bidi? (
dev-libs/fribidi:0
media-libs/freetype:2[harfbuzz]
@@ -228,7 +229,6 @@ PATCHES=(
"${FILESDIR}"/${PN}-2.1.0-fix-libtremor-libs.patch # build system
"${FILESDIR}"/${PN}-2.2.4-libav-11.7.patch # bug #593460
"${FILESDIR}"/${PN}-2.2.8-freerdp-2.patch # bug 590164
- "${FILESDIR}"/${PN}-3.0.1-qt-5.11.patch # TODO upstream
)
DOCS=( AUTHORS THANKS NEWS README doc/fortunes.txt )
@@ -282,6 +282,7 @@ src_configure() {
$(use_enable altivec)
$(use_enable aom)
$(use_enable archive)
+ $(use_enable aribsub)
$(use_enable bidi fribidi)
$(use_enable bidi harfbuzz)
$(use_enable bluray)
diff --git a/media-video/vlc/vlc-9999.ebuild b/media-video/vlc/vlc-9999.ebuild
index 857714b2e491..bc8a5669d833 100644
--- a/media-video/vlc/vlc-9999.ebuild
+++ b/media-video/vlc/vlc-9999.ebuild
@@ -21,7 +21,7 @@ else
fi
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 -sparc ~x86 ~x86-fbsd"
fi
-inherit autotools flag-o-matic gnome2-utils toolchain-funcs versionator virtualx xdg-utils ${SCM}
+inherit autotools flag-o-matic gnome2-utils toolchain-funcs virtualx xdg-utils ${SCM}
DESCRIPTION="Media player and framework with support for most multimedia files and streaming"
HOMEPAGE="https://www.videolan.org/vlc/"
@@ -29,14 +29,14 @@ HOMEPAGE="https://www.videolan.org/vlc/"
LICENSE="LGPL-2.1 GPL-2"
SLOT="0/5-9" # vlc - vlccore
-IUSE="a52 alsa altivec aom archive bidi bluray cddb chromaprint chromecast dbus dc1394
- debug directx dts +dvbpsi dvd +encode faad fdk +ffmpeg flac fluidsynth fontconfig
- +gcrypt gme gnome-keyring gstreamer ieee1394 jack jpeg kate libass libav libcaca
- libnotify +libsamplerate libtar libtiger linsys lirc live lua macosx-notifications
- macosx-qtkit matroska modplug mp3 mpeg mtp musepack ncurses neon nfs ogg
- omxil opencv optimisememory opus png postproc projectm pulseaudio +qt5 rdp rtsp
- run-as-root samba schroedinger sdl-image sftp shout sid skins soxr speex srt ssl svg
- taglib theora tremor truetype twolame udev upnp vaapi v4l vdpau vnc vorbis vpx
+IUSE="a52 alsa altivec aom archive aribsub bidi bluray cddb chromaprint chromecast dbus
+ dc1394 debug directx dts +dvbpsi dvd +encode faad fdk +ffmpeg flac fluidsynth
+ fontconfig +gcrypt gme gnome-keyring gstreamer ieee1394 jack jpeg kate kms libass
+ libav libcaca libnotify +libsamplerate libtar libtiger linsys lirc live lua
+ macosx-notifications macosx-qtkit matroska modplug mp3 mpeg mtp musepack ncurses
+ neon nfs ogg omxil opencv optimisememory opus png postproc projectm pulseaudio +qt5
+ rdp run-as-root samba schroedinger sdl-image sftp shout sid skins soxr speex srt ssl
+ svg taglib theora tremor truetype twolame udev upnp vaapi v4l vdpau vnc vorbis vpx
wayland wma-fixed +X x264 x265 xml zeroconf zvbi cpu_flags_x86_mmx cpu_flags_x86_sse
"
REQUIRED_USE="
@@ -61,6 +61,7 @@ RDEPEND="
alsa? ( media-libs/alsa-lib:0 )
aom? ( media-libs/libaom:= )
archive? ( app-arch/libarchive:= )
+ aribsub? ( media-libs/aribb24 )
bidi? (
dev-libs/fribidi:0
media-libs/freetype:2[harfbuzz]
@@ -111,6 +112,7 @@ RDEPEND="
jack? ( virtual/jack )
jpeg? ( virtual/jpeg:0 )
kate? ( media-libs/libkate:0 )
+ kms? ( x11-libs/libdrm )
libass? (
media-libs/fontconfig:1.0
media-libs/libass:0=
@@ -206,8 +208,9 @@ RDEPEND="
)
X? (
x11-libs/libX11
- x11-libs/libxcb
+ x11-libs/libxcb[xkb]
x11-libs/libXcursor
+ x11-libs/libxkbcommon[X]
x11-libs/xcb-util
x11-libs/xcb-util-keysyms
)
@@ -281,6 +284,7 @@ src_configure() {
$(use_enable altivec)
$(use_enable aom)
$(use_enable archive)
+ $(use_enable aribsub)
$(use_enable bidi fribidi)
$(use_enable bidi harfbuzz)
$(use_enable bluray)
@@ -319,6 +323,7 @@ src_configure() {
$(use_enable jack)
$(use_enable jpeg)
$(use_enable kate)
+ $(use_enable kms)
$(use_enable libass)
$(use_enable libcaca caca)
$(use_enable libnotify notify)
@@ -350,7 +355,6 @@ src_configure() {
$(use_enable pulseaudio pulse)
$(use_enable qt5 qt)
$(use_enable rdp freerdp)
- $(use_enable rtsp realrtsp)
$(use_enable run-as-root)
$(use_enable samba smbclient)
$(use_enable schroedinger)
@@ -381,7 +385,6 @@ src_configure() {
$(use_enable wma-fixed)
$(use_with X x)
$(use_enable X xcb)
- $(use_enable X xvideo)
$(use_enable x264)
$(use_enable x265)
$(use_enable xml libxml2)
@@ -465,12 +468,12 @@ src_install() {
}
pkg_postinst() {
- if [[ "$ROOT" = "/" ]] && [[ -x "/usr/$(get_libdir)/vlc/vlc-cache-gen" ]] ; then
- einfo "Running /usr/$(get_libdir)/vlc/vlc-cache-gen on /usr/$(get_libdir)/vlc/plugins/"
- "/usr/$(get_libdir)/vlc/vlc-cache-gen" "/usr/$(get_libdir)/vlc/plugins/"
+ if [[ "$ROOT" = "/" ]] && [[ -x "/usr/libexec/vlc/vlc-cache-gen" ]] ; then
+ einfo "Running /usr/libexec/vlc/vlc-cache-gen on /usr/libexec/vlc/plugins/"
+ "/usr/libexec/vlc/vlc-cache-gen" "/usr/libexec/vlc/plugins/"
else
ewarn "We cannot run vlc-cache-gen (most likely ROOT!=/)"
- ewarn "Please run /usr/$(get_libdir)/vlc/vlc-cache-gen manually"
+ ewarn "Please run /usr/libexec/vlc/vlc-cache-gen manually"
ewarn "If you do not do it, vlc will take a long time to load."
fi
@@ -480,8 +483,8 @@ pkg_postinst() {
}
pkg_postrm() {
- if [[ -e /usr/$(get_libdir)/vlc/plugins/plugins.dat ]]; then
- rm /usr/$(get_libdir)/vlc/plugins/plugins.dat || die "Failed to rm plugins.dat"
+ if [[ -e /usr/libexec/vlc/plugins/plugins.dat ]]; then
+ rm /usr/libexec/vlc/plugins/plugins.dat || die "Failed to rm plugins.dat"
fi
gnome2_icon_cache_update