vlc: added vaapi, vdpau and x265 build options.
This commit is contained in:
parent
4f2845aac0
commit
851b1658a6
1 changed files with 9 additions and 11 deletions
|
@ -1,14 +1,14 @@
|
||||||
# Template file for 'vlc'
|
# Template file for 'vlc'
|
||||||
pkgname=vlc
|
pkgname=vlc
|
||||||
version=2.2.1
|
version=2.2.1
|
||||||
revision=8
|
revision=9
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-gme --disable-libtar --enable-jack
|
configure_args="--disable-gme --disable-libtar --enable-jack
|
||||||
--disable-live555 --disable-fluidsynth --enable-dvdread
|
--disable-live555 --disable-fluidsynth --enable-dvdread
|
||||||
--enable-flac --enable-merge-ffmpeg --disable-gnomevfs
|
--enable-flac --enable-merge-ffmpeg --disable-gnomevfs
|
||||||
$(vopt_enable notify) $(vopt_enable opengl glx) $(vopt_enable qt)
|
$(vopt_enable notify) $(vopt_enable qt) $(vopt_enable x265)
|
||||||
$(vopt_enable svg) $(vopt_enable v4l2) $(vopt_enable smb smbclient)
|
$(vopt_enable svg) $(vopt_enable v4l2) $(vopt_enable smb smbclient)
|
||||||
$(vopt_enable lua)"
|
$(vopt_enable lua) $(vopt_enable vaapi libva) $(vopt_enable vdpau)"
|
||||||
short_desc="A cross-platform multimedia player"
|
short_desc="A cross-platform multimedia player"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://www.videolan.org/vlc/"
|
homepage="http://www.videolan.org/vlc/"
|
||||||
|
@ -34,23 +34,21 @@ makedepends="videoproto libudev-devel libpng-devel libupnp-devel
|
||||||
$(vopt_if notify libnotify-devel) $(vopt_if opengl MesaLib-devel)
|
$(vopt_if notify libnotify-devel) $(vopt_if opengl MesaLib-devel)
|
||||||
$(vopt_if qt qt-devel) $(vopt_if svg librsvg-devel)
|
$(vopt_if qt qt-devel) $(vopt_if svg librsvg-devel)
|
||||||
$(vopt_if v4l2 v4l-utils-devel) $(vopt_if smb samba-devel)
|
$(vopt_if v4l2 v4l-utils-devel) $(vopt_if smb samba-devel)
|
||||||
$(vopt_if lua lua-devel)"
|
$(vopt_if lua lua-devel) $(vopt_if vaapi libva-devel)
|
||||||
|
$(vopt_if vdpau libvdpau-devel) $(vopt_if x265 x265-devel)"
|
||||||
depends="freefont-ttf hicolor-icon-theme desktop-file-utils"
|
depends="freefont-ttf hicolor-icon-theme desktop-file-utils"
|
||||||
|
|
||||||
# Package build options
|
# Package build options
|
||||||
build_options="notify opengl qt smb svg v4l2 lua"
|
build_options="lua notify opengl qt smb svg v4l2 vaapi vdpau x265"
|
||||||
build_options_default="lua v4l2"
|
build_options_default="lua smb v4l2"
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
i686*|x86_64*)
|
i686*|x86_64*)
|
||||||
# Enable opengl and samba by default on x86.
|
# Enable x265, opengl and samba by default on x86.
|
||||||
build_options_default+=" opengl smb"
|
build_options_default+=" vaapi vdpau x265 opengl"
|
||||||
configure_args+=" --enable-vdpau --enable-libva"
|
|
||||||
makedepends+=" libvdpau-devel libva-devel MesaLib-devel"
|
|
||||||
;;
|
;;
|
||||||
armv[67]l*)
|
armv[67]l*)
|
||||||
# XXX only for rpi
|
# XXX only for rpi
|
||||||
build_options_default+=" smb"
|
|
||||||
configure_args+=" --enable-omxil --enable-omxil-vout --enable-rpi-omxil"
|
configure_args+=" --enable-omxil --enable-omxil-vout --enable-rpi-omxil"
|
||||||
makedepends+=" rpi-userland-devel"
|
makedepends+=" rpi-userland-devel"
|
||||||
CFLAGS+=" -I${XBPS_CROSS_BASE}/opt/vc/include"
|
CFLAGS+=" -I${XBPS_CROSS_BASE}/opt/vc/include"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue