vlc: add chromecast option

Adds default build option for rendering to chromecast
This commit is contained in:
Stan Schwertly 2019-10-03 12:00:59 -04:00 committed by Helmut Pozimski
parent 0d4954c4e4
commit 2ef4456326
2 changed files with 10 additions and 6 deletions

View file

@ -1301,6 +1301,7 @@ libunwind-aarch64.so.8 libunwind-1.2rc1_1
libunwind-ppc32.so.8 libunwind-1.2.1_1
libunwind-ppc64.so.8 libunwind-1.2.1_1
libmicrohttpd.so.12 libmicrohttpd-0.9.48_1
libmicrodns.so.0 libmicrodns-0.1.0_1
libgit2.so.28 libgit2-0.28.0_1
libgit2-glib-1.0.so.0 libgit2-glib-0.23.4_1
libagg.so.2 agg-2.5_1

View file

@ -1,14 +1,16 @@
# Template file for 'vlc'
pkgname=vlc
version=3.0.8
revision=1
revision=2
build_style=gnu-configure
configure_args="--disable-gme --disable-libtar --enable-jack
--enable-live555 --disable-fluidsynth --enable-dvdread
--enable-flac --enable-merge-ffmpeg
$(vopt_enable notify) $(vopt_enable qt) $(vopt_enable x265)
$(vopt_enable svg) $(vopt_enable v4l2) $(vopt_enable smb smbclient)
$(vopt_enable lua) $(vopt_enable vaapi libva) $(vopt_enable vdpau)"
$(vopt_enable lua) $(vopt_enable vaapi libva) $(vopt_enable vdpau)
$(vopt_enable chromecast microdns) $(vopt_enable chromecast)
$(vopt_enable chromecast sout)"
short_desc="Cross-platform multimedia player"
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
license="GPL-2.0-only, LGPL-2.1-only"
@ -20,7 +22,7 @@ checksum=e0149ef4a20a19b9ecd87309c2d27787ee3f47dfd47c6639644bc1f6fd95bdf6
lib32disabled=yes
# XXX Add missing deps: gme, telepathy, libtar (for skins2).
hostmakedepends="automake libtool pkg-config flex bison libgcrypt-devel live555-devel $(vopt_if lua lua52)"
hostmakedepends="automake libtool pkg-config flex bison libgcrypt-devel live555-devel $(vopt_if lua lua52) $(vopt_if chromecast protobuf)"
makedepends="
avahi-libs-devel dbus-glib-devel faad2-devel ffmpeg-devel freefont-ttf
gnutls-devel jack-devel liba52-devel libass-devel libbluray-devel
@ -36,12 +38,13 @@ makedepends="
$(vopt_if v4l2 v4l-utils-devel) $(vopt_if smb samba-devel)
$(vopt_if lua lua52-devel) $(vopt_if vaapi libva-devel)
$(vopt_if vdpau libvdpau-devel) $(vopt_if x265 x265-devel)
$(vopt_if svg librsvg-devel) $(vopt_if sndio sndio-devel)"
$(vopt_if svg librsvg-devel) $(vopt_if sndio sndio-devel)
$(vopt_if chromecast protobuf-devel) $(vopt_if chromecast libmicrodns-devel)"
depends="freefont-ttf hicolor-icon-theme desktop-file-utils"
# Package build options
build_options="lua notify opengl qt smb svg v4l2 vaapi vdpau x265 sndio"
build_options_default="lua smb v4l2 x265 sndio"
build_options="lua notify opengl qt smb svg v4l2 vaapi vdpau x265 sndio chromecast"
build_options_default="lua smb v4l2 x265 sndio chromecast"
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*|ppc64*)